Skip to main content

ContractTypes.h File

Contract enums for memory and caps constraints. More...

Included Headers

#include <string>

Namespaces Index

namespacesimaai
namespaceneat

Description

Contract enums for memory and caps constraints.

File Listing

The file content with the documentation metadata removed is:

1
6#pragma once
7
8#include <string>
9
10namespace simaai::neat {
11
12// =============================
13// Memory contract
14// =============================
15enum class MemoryContract {
16 // Must be CPU-mappable (typically SystemMemory); violations are hard errors.
18
19 // Prefer device/zero-copy (runner may avoid forcing SystemMemory); still report contract
20 // mismatches.
22
23 // Allow either; if non-mappable, return empty payload with explicit reason + location.
25};
26
27// =============================
28// Caps helper types
29// =============================
30enum class CapsMemory {
31 Any = 0,
33};
34
35} // namespace simaai::neat

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.