Loading...
Searching...
No Matches
Halide::Runtime::Internal::Cuda Namespace Reference

## Classes

struct | CUDA_MEMCPY3D_st

## Typedefs

typedef unsigned int | CUdeviceptr
typedef int | CUdevice
| CUDA device.
typedef struct CUctx_st * | CUcontext
| CUDA context.
typedef struct CUmod_st * | CUmodule
| CUDA module.
typedef struct CUfunc_st * | CUfunction
| CUDA function.
typedef struct CUstream_st * | CUstream
| CUDA stream.
typedef struct CUevent_st * | CUevent
| CUDA event.
typedef struct CUarray_st * | CUarray
typedef enum Halide::Runtime::Internal::Cuda::CUjit_option_enum | CUjit_option
typedef enum Halide::Runtime::Internal::Cuda::CUmemorytype_enum | CUmemorytype
typedef struct Halide::Runtime::Internal::Cuda::CUDA_MEMCPY3D_st | CUDA_MEMCPY3D

## Enumerations

enum | CUjit_option_enum { CU_JIT_MAX_REGISTERS = 0 , CU_JIT_THREADS_PER_BLOCK = 1 , CU_JIT_WALL_TIME = 2 , CU_JIT_INFO_LOG_BUFFER = 3 , CU_JIT_INFO_LOG_BUFFER_SIZE_BYTES = 4 , CU_JIT_ERROR_LOG_BUFFER = 5 , CU_JIT_ERROR_LOG_BUFFER_SIZE_BYTES = 6 , CU_JIT_OPTIMIZATION_LEVEL = 7 , CU_JIT_TARGET_FROM_CUCONTEXT = 8 , CU_JIT_TARGET = 9 , CU_JIT_FALLBACK_STRATEGY = 10 }

enum

CUresult {
CUDA_SUCCESS = 0 , CUDA_ERROR_INVALID_VALUE = 1 , CUDA_ERROR_OUT_OF_MEMORY = 2 , CUDA_ERROR_NOT_INITIALIZED = 3 ,
CUDA_ERROR_DEINITIALIZED = 4 , CUDA_ERROR_PROFILER_DISABLED = 5 , CUDA_ERROR_PROFILER_NOT_INITIALIZED = 6 , CUDA_ERROR_PROFILER_ALREADY_STARTED = 7 ,
CUDA_ERROR_PROFILER_ALREADY_STOPPED = 8 , CUDA_ERROR_NO_DEVICE = 100 , CUDA_ERROR_INVALID_DEVICE = 101 , CUDA_ERROR_INVALID_IMAGE = 200 ,
CUDA_ERROR_INVALID_CONTEXT = 201 , CUDA_ERROR_CONTEXT_ALREADY_CURRENT = 202 , CUDA_ERROR_MAP_FAILED = 205 , CUDA_ERROR_UNMAP_FAILED = 206 ,
CUDA_ERROR_ARRAY_IS_MAPPED = 207 , CUDA_ERROR_ALREADY_MAPPED = 208 , CUDA_ERROR_NO_BINARY_FOR_GPU = 209 , CUDA_ERROR_ALREADY_ACQUIRED = 210 ,
CUDA_ERROR_NOT_MAPPED = 211 , CUDA_ERROR_NOT_MAPPED_AS_ARRAY = 212 , CUDA_ERROR_NOT_MAPPED_AS_POINTER = 213 , CUDA_ERROR_ECC_UNCORRECTABLE = 214 ,
CUDA_ERROR_UNSUPPORTED_LIMIT = 215 , CUDA_ERROR_CONTEXT_ALREADY_IN_USE = 216 , CUDA_ERROR_PEER_ACCESS_UNSUPPORTED = 217 , CUDA_ERROR_INVALID_PTX = 218 ,
CUDA_ERROR_INVALID_GRAPHICS_CONTEXT = 219 , CUDA_ERROR_NVLINK_UNCORRECTABLE = 220 , CUDA_ERROR_JIT_COMPILER_NOT_FOUND = 221 , CUDA_ERROR_INVALID_SOURCE = 300 ,
CUDA_ERROR_FILE_NOT_FOUND = 301 , CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND = 302 , CUDA_ERROR_SHARED_OBJECT_INIT_FAILED = 303 , CUDA_ERROR_OPERATING_SYSTEM = 304 ,
CUDA_ERROR_INVALID_HANDLE = 400 , CUDA_ERROR_NOT_FOUND = 500 , CUDA_ERROR_NOT_READY = 600 , CUDA_ERROR_ILLEGAL_ADDRESS = 700 ,
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES = 701 , CUDA_ERROR_LAUNCH_TIMEOUT = 702 , CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING = 703 , CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED = 704 ,
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED = 705 , CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE = 708 , CUDA_ERROR_CONTEXT_IS_DESTROYED = 709 , CUDA_ERROR_ILLEGAL_INSTRUCTION = 715 ,
CUDA_ERROR_MISALIGNED_ADDRESS = 716 , CUDA_ERROR_INVALID_ADDRESS_SPACE = 717 , CUDA_ERROR_INVALID_PC = 718 , CUDA_ERROR_LAUNCH_FAILED = 719 ,
CUDA_ERROR_NOT_PERMITTED = 800 , CUDA_ERROR_NOT_SUPPORTED = 801 , CUDA_ERROR_UNKNOWN = 999
}

enum

CUdevice_attribute {
CU_DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK = 1 , CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X = 2 , CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y = 3 , CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z = 4 ,
CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_X = 5 , CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_Y = 6 , CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_Z = 7 , CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK = 8 ,
CU_DEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK = 8 , CU_DEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY = 9 , CU_DEVICE_ATTRIBUTE_WARP_SIZE = 10 , CU_DEVICE_ATTRIBUTE_MAX_PITCH = 11 ,
CU_DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK = 12 , CU_DEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK = 12 , CU_DEVICE_ATTRIBUTE_CLOCK_RATE = 13 , CU_DEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT = 14 ,
CU_DEVICE_ATTRIBUTE_GPU_OVERLAP = 15 , CU_DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT = 16 , CU_DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT = 17 , CU_DEVICE_ATTRIBUTE_INTEGRATED = 18 ,
CU_DEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY = 19 , CU_DEVICE_ATTRIBUTE_COMPUTE_MODE = 20 , CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH = 21 , CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH = 22 ,
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT = 23 , CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH = 24 , CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT = 25 , CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH = 26 ,
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH = 27 , CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT = 28 , CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS = 29 , CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH = 27 ,
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT = 28 , CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES = 29 , CU_DEVICE_ATTRIBUTE_SURFACE_ALIGNMENT = 30 , CU_DEVICE_ATTRIBUTE_CONCURRENT_KERNELS = 31 ,
CU_DEVICE_ATTRIBUTE_ECC_ENABLED = 32 , CU_DEVICE_ATTRIBUTE_PCI_BUS_ID = 33 , CU_DEVICE_ATTRIBUTE_PCI_DEVICE_ID = 34 , CU_DEVICE_ATTRIBUTE_TCC_DRIVER = 35 ,
CU_DEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE = 36 , CU_DEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH = 37 , CU_DEVICE_ATTRIBUTE_L2_CACHE_SIZE = 38 , CU_DEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR = 39 ,
CU_DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT = 40 , CU_DEVICE_ATTRIBUTE_UNIFIED_ADDRESSING = 41 , CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH = 42 , CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS = 43 ,
CU_DEVICE_ATTRIBUTE_CAN_TEX2D_GATHER = 44 , CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH = 45 , CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT = 46 , CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE = 47 ,
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE = 48 , CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE = 49 , CU_DEVICE_ATTRIBUTE_PCI_DOMAIN_ID = 50 , CU_DEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT = 51 ,
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH = 52 , CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH = 53 , CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS = 54 , CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH = 55 ,
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH = 56 , CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT = 57 , CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH = 58 , CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT = 59 ,
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH = 60 , CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH = 61 , CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS = 62 , CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH = 63 ,
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT = 64 , CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS = 65 , CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH = 66 , CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH = 67 ,
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS = 68 , CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH = 69 , CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH = 70 , CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT = 71 ,
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH = 72 , CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH = 73 , CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT = 74 , CU_DEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR = 75 ,
CU_DEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR = 76 , CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH = 77 , CU_DEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED = 78 , CU_DEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED = 79 ,
CU_DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED = 80 , CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR = 81 , CU_DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR = 82 , CU_DEVICE_ATTRIBUTE_MANAGED_MEMORY = 83 ,
CU_DEVICE_ATTRIBUTE_MULTI_GPU_BOARD = 84 , CU_DEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID = 85 , CU_DEVICE_ATTRIBUTE_MAX
}

enum | CUmemorytype_enum { CU_MEMORYTYPE_HOST = 0x01 , CU_MEMORYTYPE_DEVICE = 0x02 , CU_MEMORYTYPE_ARRAY = 0x03 , CU_MEMORYTYPE_UNIFIED = 0x04 }

## Typedef Documentation

## CUdeviceptr

typedef unsigned int Halide::Runtime::Internal::Cuda::CUdeviceptr

Definition at line 18 of file mini_cuda.h.

## CUdevice

typedef int Halide::Runtime::Internal::Cuda::CUdevice

CUDA device.

Definition at line 21 of file mini_cuda.h.

## CUcontext

typedef struct CUctx_st* Halide::Runtime::Internal::Cuda::CUcontext

CUDA context.

Definition at line 22 of file mini_cuda.h.

## CUmodule

typedef struct CUmod_st* Halide::Runtime::Internal::Cuda::CUmodule

CUDA module.

Definition at line 23 of file mini_cuda.h.

## CUfunction

typedef struct CUfunc_st* Halide::Runtime::Internal::Cuda::CUfunction

CUDA function.

Definition at line 24 of file mini_cuda.h.

## CUstream

typedef struct CUstream_st* Halide::Runtime::Internal::Cuda::CUstream

CUDA stream.

Definition at line 25 of file mini_cuda.h.

## CUevent

typedef struct CUevent_st* Halide::Runtime::Internal::Cuda::CUevent

CUDA event.

Definition at line 26 of file mini_cuda.h.

## CUarray

typedef struct CUarray_st* Halide::Runtime::Internal::Cuda::CUarray

Definition at line 27 of file mini_cuda.h.

## CUjit_option

typedef enum Halide::Runtime::Internal::Cuda::CUjit_option_enum Halide::Runtime::Internal::Cuda::CUjit_option

## CUmemorytype

typedef enum Halide::Runtime::Internal::Cuda::CUmemorytype_enum Halide::Runtime::Internal::Cuda::CUmemorytype

## CUDA_MEMCPY3D

typedef struct Halide::Runtime::Internal::Cuda::CUDA_MEMCPY3D_st Halide::Runtime::Internal::Cuda::CUDA_MEMCPY3D

## Enumeration Type Documentation

## CUjit_option_enum

enum Halide::Runtime::Internal::Cuda::CUjit_option_enum

Enumerator
CU_JIT_MAX_REGISTERS |
CU_JIT_THREADS_PER_BLOCK |
CU_JIT_WALL_TIME |
CU_JIT_INFO_LOG_BUFFER |
CU_JIT_INFO_LOG_BUFFER_SIZE_BYTES |
CU_JIT_ERROR_LOG_BUFFER |
CU_JIT_ERROR_LOG_BUFFER_SIZE_BYTES |
CU_JIT_OPTIMIZATION_LEVEL |
CU_JIT_TARGET_FROM_CUCONTEXT |
CU_JIT_TARGET |
CU_JIT_FALLBACK_STRATEGY |

Definition at line 29 of file mini_cuda.h.

## CUresult

enum Halide::Runtime::Internal::Cuda::CUresult

Enumerator
CUDA_SUCCESS |
CUDA_ERROR_INVALID_VALUE |
CUDA_ERROR_OUT_OF_MEMORY |
CUDA_ERROR_NOT_INITIALIZED |
CUDA_ERROR_DEINITIALIZED |
CUDA_ERROR_PROFILER_DISABLED |
CUDA_ERROR_PROFILER_NOT_INITIALIZED |
CUDA_ERROR_PROFILER_ALREADY_STARTED |
CUDA_ERROR_PROFILER_ALREADY_STOPPED |
CUDA_ERROR_NO_DEVICE |
CUDA_ERROR_INVALID_DEVICE |
CUDA_ERROR_INVALID_IMAGE |
CUDA_ERROR_INVALID_CONTEXT |
CUDA_ERROR_CONTEXT_ALREADY_CURRENT |
CUDA_ERROR_MAP_FAILED |
CUDA_ERROR_UNMAP_FAILED |
CUDA_ERROR_ARRAY_IS_MAPPED |
CUDA_ERROR_ALREADY_MAPPED |
CUDA_ERROR_NO_BINARY_FOR_GPU |
CUDA_ERROR_ALREADY_ACQUIRED |
CUDA_ERROR_NOT_MAPPED |
CUDA_ERROR_NOT_MAPPED_AS_ARRAY |
CUDA_ERROR_NOT_MAPPED_AS_POINTER |
CUDA_ERROR_ECC_UNCORRECTABLE |
CUDA_ERROR_UNSUPPORTED_LIMIT |
CUDA_ERROR_CONTEXT_ALREADY_IN_USE |
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED |
CUDA_ERROR_INVALID_PTX |
CUDA_ERROR_INVALID_GRAPHICS_CONTEXT |
CUDA_ERROR_NVLINK_UNCORRECTABLE |
CUDA_ERROR_JIT_COMPILER_NOT_FOUND |
CUDA_ERROR_INVALID_SOURCE |
CUDA_ERROR_FILE_NOT_FOUND |
CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND |
CUDA_ERROR_SHARED_OBJECT_INIT_FAILED |
CUDA_ERROR_OPERATING_SYSTEM |
CUDA_ERROR_INVALID_HANDLE |
CUDA_ERROR_NOT_FOUND |
CUDA_ERROR_NOT_READY |
CUDA_ERROR_ILLEGAL_ADDRESS |
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES |
CUDA_ERROR_LAUNCH_TIMEOUT |
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING |
CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED |
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED |
CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE |
CUDA_ERROR_CONTEXT_IS_DESTROYED |
CUDA_ERROR_ILLEGAL_INSTRUCTION |
CUDA_ERROR_MISALIGNED_ADDRESS |
CUDA_ERROR_INVALID_ADDRESS_SPACE |
CUDA_ERROR_INVALID_PC |
CUDA_ERROR_LAUNCH_FAILED |
CUDA_ERROR_NOT_PERMITTED |
CUDA_ERROR_NOT_SUPPORTED |
CUDA_ERROR_UNKNOWN |

Definition at line 43 of file mini_cuda.h.

## CUdevice_attribute

enum Halide::Runtime::Internal::Cuda::CUdevice_attribute

Enumerator
CU_DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK | Maximum number of threads per block.
CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X | Maximum block dimension X.
CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y | Maximum block dimension Y.
CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z | Maximum block dimension Z.
CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_X | Maximum grid dimension X.
CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_Y | Maximum grid dimension Y.
CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_Z | Maximum grid dimension Z.
CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK | Maximum shared memory available per block in bytes.
CU_DEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK | Deprecated, use CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK.
CU_DEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY | Memory available on device for constant variables in a CUDA C kernel in bytes.
CU_DEVICE_ATTRIBUTE_WARP_SIZE | Warp size in threads.
CU_DEVICE_ATTRIBUTE_MAX_PITCH | Maximum pitch in bytes allowed by memory copies.
CU_DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK | Maximum number of 32-bit registers available per block.
CU_DEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK | Deprecated, use CU_DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK.
CU_DEVICE_ATTRIBUTE_CLOCK_RATE | Typical clock frequency in kilohertz.
CU_DEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT | Alignment requirement for textures.
CU_DEVICE_ATTRIBUTE_GPU_OVERLAP | Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead CU_DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.
CU_DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT | Number of multiprocessors on device.
CU_DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT | Specifies whether there is a run time limit on kernels.
CU_DEVICE_ATTRIBUTE_INTEGRATED | Device is integrated with host memory.
CU_DEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY | Device can map host memory into CUDA address space.
CU_DEVICE_ATTRIBUTE_COMPUTE_MODE | Compute mode (See CUcomputemode for details).
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH | Maximum 1D texture width.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH | Maximum 2D texture width.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT | Maximum 2D texture height.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH | Maximum 3D texture width.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT | Maximum 3D texture height.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH | Maximum 3D texture depth.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH | Maximum 2D layered texture width.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT | Maximum 2D layered texture height.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS | Maximum layers in a 2D layered texture.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH | Deprecated, use CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT | Deprecated, use CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES | Deprecated, use CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS.
CU_DEVICE_ATTRIBUTE_SURFACE_ALIGNMENT | Alignment requirement for surfaces.
CU_DEVICE_ATTRIBUTE_CONCURRENT_KERNELS | Device can possibly execute multiple kernels concurrently.
CU_DEVICE_ATTRIBUTE_ECC_ENABLED | Device has ECC support enabled.
CU_DEVICE_ATTRIBUTE_PCI_BUS_ID | PCI bus ID of the device.
CU_DEVICE_ATTRIBUTE_PCI_DEVICE_ID | PCI device ID of the device.
CU_DEVICE_ATTRIBUTE_TCC_DRIVER | Device is using TCC driver model.
CU_DEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE | Peak memory clock frequency in kilohertz.
CU_DEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH | Global memory bus width in bits.
CU_DEVICE_ATTRIBUTE_L2_CACHE_SIZE | Size of L2 cache in bytes.
CU_DEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR | Maximum resident threads per multiprocessor.
CU_DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT | Number of asynchronous engines.
CU_DEVICE_ATTRIBUTE_UNIFIED_ADDRESSING | Device shares a unified address space with the host.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH | Maximum 1D layered texture width.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS | Maximum layers in a 1D layered texture.
CU_DEVICE_ATTRIBUTE_CAN_TEX2D_GATHER | Deprecated, do not use.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH | Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is set.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT | Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is set.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE | Alternate maximum 3D texture width.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE | Alternate maximum 3D texture height.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE | Alternate maximum 3D texture depth.
CU_DEVICE_ATTRIBUTE_PCI_DOMAIN_ID | PCI domain ID of the device.
CU_DEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT | Pitch alignment requirement for textures.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH | Maximum cubemap texture width/height.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH | Maximum cubemap layered texture width/height.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS | Maximum layers in a cubemap layered texture.
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH | Maximum 1D surface width.
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH | Maximum 2D surface width.
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT | Maximum 2D surface height.
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH | Maximum 3D surface width.
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT | Maximum 3D surface height.
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH | Maximum 3D surface depth.
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH | Maximum 1D layered surface width.
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS | Maximum layers in a 1D layered surface.
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH | Maximum 2D layered surface width.
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT | Maximum 2D layered surface height.
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS | Maximum layers in a 2D layered surface.
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH | Maximum cubemap surface width.
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH | Maximum cubemap layered surface width.
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS | Maximum layers in a cubemap layered surface.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH | Maximum 1D linear texture width.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH | Maximum 2D linear texture width.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT | Maximum 2D linear texture height.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH | Maximum 2D linear texture pitch in bytes.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH | Maximum mipmapped 2D texture width.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT | Maximum mipmapped 2D texture height.
CU_DEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR | Major compute capability version number.
CU_DEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR | Minor compute capability version number.
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH | Maximum mipmapped 1D texture width.
CU_DEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED | Device supports stream priorities.
CU_DEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED | Device supports caching globals in L1.
CU_DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED | Device supports caching locals in L1.
CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR | Maximum shared memory available per multiprocessor in bytes.
CU_DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR | Maximum number of 32-bit registers available per multiprocessor.
CU_DEVICE_ATTRIBUTE_MANAGED_MEMORY | Device can allocate managed memory on this system.
CU_DEVICE_ATTRIBUTE_MULTI_GPU_BOARD | Device is on a multi-GPU board.
CU_DEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID | Unique id for a group of devices on the same multi-GPU board.
CU_DEVICE_ATTRIBUTE_MAX |

Definition at line 101 of file mini_cuda.h.

## CUmemorytype_enum

enum Halide::Runtime::Internal::Cuda::CUmemorytype_enum

Enumerator
CU_MEMORYTYPE_HOST |
CU_MEMORYTYPE_DEVICE |
CU_MEMORYTYPE_ARRAY |
CU_MEMORYTYPE_UNIFIED |

Definition at line 195 of file mini_cuda.h.