halide_runtime/
runtime.rs1#![allow(non_upper_case_globals)]
2#![allow(non_camel_case_types)]
3#![allow(non_snake_case)]
4
5include!(concat!(env!("OUT_DIR"), "/runtime.rs"));
6
7#[repr(i32)]
8#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
9pub enum Status {
10    Success = 0,
11    GenericError = -1,
12    ExplicitBoundsTooSmall = -2,
13    BadType = -3,
14    AccessOutOfBounds = -4,
15    BufferAllocationTooLarge = -5,
16    BufferExtentsTooLarge = -6,
17    ConstraintsMakeRequiredRegionSmaller = -7,
18    ConstraintViolated = -8,
19    ParamTooSmall = -9,
20    ParamTooLarge = -10,
21    OutOfMemory = -11,
22    BufferArgumentIsNull = -12,
23    DebugToFileFailed = -13,
24    CopyToHostFailed = -14,
25    CopyToDeviceFailed = -15,
26    DeviceMallocFailed = -16,
27    DeviceSyncFailed = -17,
28    DeviceFreeFailed = -18,
29    NoDeviceInterface = -19,
30    MatlabInitFailed = -20,
31    MatlabBadParamType = -21,
32    InternalError = -22,
33    DeviceRunFailed = -23,
34    UnalignedHostPtr = -24,
35    BadFold = -25,
36    FoldFactorTooSmall = -26,
37    RequirementFailed = -27,
38    BufferExtentsNegative = -28,
39    Unused29 = -29,
40    Unused30 = -30,
41    SpecializeFail = -31,
42    DeviceWrapNativeFailed = -32,
43    DeviceDetachNativeFailed = -33,
44    HostIsNull = -34,
45    BadExternFold = -35,
46    DeviceInterfaceNoDevice = -36,
47    HostAndDeviceDirty = -37,
48    BufferIsNull = -38,
49    DeviceBufferCopyFailed = -39,
50    DeviceCropUnsupported = -40,
51    DeviceCropFailed = -41,
52    IncompatibleDeviceInterface = -42,
53    BadDimensions = -43,
54    DeviceDirtyWithNoDeviceSupport = -44,
55}