public class CU
extends java.lang.Object
This class includes functionality up to CUDA version 3.2, which is the minimum version compatible with the LWJGL bindings.
| Modifier and Type | Class and Description |
|---|---|
static class |
CU.Functions
Contains the function pointers loaded from the NVCUDA
SharedLibrary. |
| Modifier and Type | Method and Description |
|---|---|
static int |
cuArray3DCreate(org.lwjgl.PointerBuffer pHandle,
CUDA_ARRAY3D_DESCRIPTOR pAllocateArray) |
static int |
cuArray3DGetDescriptor(CUDA_ARRAY3D_DESCRIPTOR pArrayDescriptor,
long hArray) |
static int |
cuArrayCreate(org.lwjgl.PointerBuffer pHandle,
CUDA_ARRAY_DESCRIPTOR pAllocateArray) |
static int |
cuArrayDestroy(long hArray) |
static int |
cuArrayGetDescriptor(CUDA_ARRAY_DESCRIPTOR pArrayDescriptor,
long hArray) |
static int |
cuCtxAttach(org.lwjgl.PointerBuffer pctx,
int flags) |
static int |
cuCtxCreate(org.lwjgl.PointerBuffer pctx,
int flags,
int dev) |
static int |
cuCtxDetach(long ctx) |
static int |
cuCtxGetApiVersion(long ctx,
java.nio.IntBuffer version) |
static int |
cuCtxGetCacheConfig(java.nio.IntBuffer pconfig) |
static int |
cuCtxGetDevice(java.nio.IntBuffer device) |
static int |
cuCtxGetLimit(org.lwjgl.PointerBuffer pvalue,
int limit) |
static int |
cuCtxGetStreamPriorityRange(java.nio.IntBuffer leastPriority,
java.nio.IntBuffer greatestPriority) |
static int |
cuCtxSetCacheConfig(int config) |
static int |
cuCtxSetLimit(int limit,
long value) |
static int |
cuCtxSynchronize() |
static int |
cuDeviceComputeCapability(java.nio.IntBuffer major,
java.nio.IntBuffer minor,
int dev) |
static int |
cuDeviceGet(java.nio.IntBuffer device,
int ordinal) |
static int |
cuDeviceGetAttribute(java.nio.IntBuffer pi,
int attrib,
int dev) |
static int |
cuDeviceGetCount(java.nio.IntBuffer count) |
static int |
cuDeviceGetName(java.nio.ByteBuffer name,
int dev) |
static int |
cuDeviceGetProperties(CUdevprop prop,
int dev) |
static int |
cuDeviceTotalMem(org.lwjgl.PointerBuffer bytes,
int dev) |
static int |
cuDriverGetVersion(java.nio.IntBuffer driverVersion) |
static int |
cuEventCreate(org.lwjgl.PointerBuffer phEvent,
int Flags) |
static int |
cuEventElapsedTime(java.nio.FloatBuffer pMilliseconds,
long hStart,
long hEnd) |
static int |
cuEventQuery(long hEvent) |
static int |
cuEventRecord(long hEvent,
long hStream) |
static int |
cuEventSynchronize(long hEvent) |
static int |
cuFuncGetAttribute(java.nio.IntBuffer pi,
int attrib,
long hfunc) |
static int |
cuFuncSetBlockShape(long hfunc,
int x,
int y,
int z) |
static int |
cuFuncSetCacheConfig(long hfunc,
int config) |
static int |
cuFuncSetSharedSize(long hfunc,
int bytes) |
static int |
cuGetErrorName(int error,
org.lwjgl.PointerBuffer pStr) |
static int |
cuGetErrorString(int error,
org.lwjgl.PointerBuffer pStr) |
static int |
cuGetExportTable(org.lwjgl.PointerBuffer ppExportTable,
CUuuid pExportTableId) |
static int |
cuGraphicsMapResources(org.lwjgl.PointerBuffer resources,
long hStream) |
static int |
cuGraphicsResourceGetMappedPointer(org.lwjgl.PointerBuffer pDevPtr,
org.lwjgl.PointerBuffer pSize,
long resource) |
static int |
cuGraphicsResourceSetMapFlags(long resource,
int flags) |
static int |
cuGraphicsSubResourceGetMappedArray(org.lwjgl.PointerBuffer pArray,
long resource,
int arrayIndex,
int mipLevel) |
static int |
cuGraphicsUnmapResources(org.lwjgl.PointerBuffer resources,
long hStream) |
static int |
cuGraphicsUnregisterResource(long resource) |
static int |
cuInit(int Flags) |
static int |
cuLaunch(long f) |
static int |
cuLaunchGrid(long f,
int grid_width,
int grid_height) |
static int |
cuLaunchGridAsync(long f,
int grid_width,
int grid_height,
long hStream) |
static int |
cuMemAlloc(org.lwjgl.PointerBuffer dptr,
long bytesize) |
static int |
cuMemAllocHost(org.lwjgl.PointerBuffer pp,
long bytesize) |
static int |
cuMemAllocPitch(org.lwjgl.PointerBuffer dptr,
org.lwjgl.PointerBuffer pPitch,
long WidthInBytes,
long Height,
int ElementSizeBytes) |
static int |
cuMemcpy2D(CUDA_MEMCPY2D pCopy) |
static int |
cuMemcpy2DAsync(CUDA_MEMCPY2D pCopy,
long hStream) |
static int |
cuMemcpy2DUnaligned(CUDA_MEMCPY2D pCopy) |
static int |
cuMemcpy3D(CUDA_MEMCPY3D pCopy) |
static int |
cuMemcpy3DAsync(CUDA_MEMCPY3D pCopy,
long hStream) |
static int |
cuMemcpyAtoA(long dstArray,
long dstOffset,
long srcArray,
long srcOffset,
long ByteCount) |
static int |
cuMemcpyAtoD(long dstDevice,
long srcArray,
long srcOffset,
long ByteCount) |
static int |
cuMemcpyAtoH(java.nio.ByteBuffer dstHost,
long srcArray,
long srcOffset) |
static int |
cuMemcpyAtoH(java.nio.DoubleBuffer dstHost,
long srcArray,
long srcOffset) |
static int |
cuMemcpyAtoH(java.nio.FloatBuffer dstHost,
long srcArray,
long srcOffset) |
static int |
cuMemcpyAtoH(java.nio.IntBuffer dstHost,
long srcArray,
long srcOffset) |
static int |
cuMemcpyAtoH(java.nio.LongBuffer dstHost,
long srcArray,
long srcOffset) |
static int |
cuMemcpyAtoH(org.lwjgl.PointerBuffer dstHost,
long srcArray,
long srcOffset) |
static int |
cuMemcpyAtoH(java.nio.ShortBuffer dstHost,
long srcArray,
long srcOffset) |
static int |
cuMemcpyAtoHAsync(java.nio.ByteBuffer dstHost,
long srcArray,
long srcOffset,
long hStream) |
static int |
cuMemcpyAtoHAsync(java.nio.DoubleBuffer dstHost,
long srcArray,
long srcOffset,
long hStream) |
static int |
cuMemcpyAtoHAsync(java.nio.FloatBuffer dstHost,
long srcArray,
long srcOffset,
long hStream) |
static int |
cuMemcpyAtoHAsync(java.nio.IntBuffer dstHost,
long srcArray,
long srcOffset,
long hStream) |
static int |
cuMemcpyAtoHAsync(java.nio.LongBuffer dstHost,
long srcArray,
long srcOffset,
long hStream) |
static int |
cuMemcpyAtoHAsync(org.lwjgl.PointerBuffer dstHost,
long srcArray,
long srcOffset,
long hStream) |
static int |
cuMemcpyAtoHAsync(java.nio.ShortBuffer dstHost,
long srcArray,
long srcOffset,
long hStream) |
static int |
cuMemcpyDtoA(long dstArray,
long dstOffset,
long srcDevice,
long ByteCount) |
static int |
cuMemcpyDtoD(long dstDevice,
long srcDevice,
long ByteCount) |
static int |
cuMemcpyDtoDAsync(long dstDevice,
long srcDevice,
long ByteCount,
long hStream) |
static int |
cuMemcpyDtoH(java.nio.ByteBuffer dstHost,
long srcDevice) |
static int |
cuMemcpyDtoH(java.nio.DoubleBuffer dstHost,
long srcDevice) |
static int |
cuMemcpyDtoH(java.nio.FloatBuffer dstHost,
long srcDevice) |
static int |
cuMemcpyDtoH(java.nio.IntBuffer dstHost,
long srcDevice) |
static int |
cuMemcpyDtoH(java.nio.LongBuffer dstHost,
long srcDevice) |
static int |
cuMemcpyDtoH(org.lwjgl.PointerBuffer dstHost,
long srcDevice) |
static int |
cuMemcpyDtoH(java.nio.ShortBuffer dstHost,
long srcDevice) |
static int |
cuMemcpyDtoHAsync(java.nio.ByteBuffer dstHost,
long srcDevice,
long hStream) |
static int |
cuMemcpyDtoHAsync(java.nio.DoubleBuffer dstHost,
long srcDevice,
long hStream) |
static int |
cuMemcpyDtoHAsync(java.nio.FloatBuffer dstHost,
long srcDevice,
long hStream) |
static int |
cuMemcpyDtoHAsync(java.nio.IntBuffer dstHost,
long srcDevice,
long hStream) |
static int |
cuMemcpyDtoHAsync(java.nio.LongBuffer dstHost,
long srcDevice,
long hStream) |
static int |
cuMemcpyDtoHAsync(org.lwjgl.PointerBuffer dstHost,
long srcDevice,
long hStream) |
static int |
cuMemcpyDtoHAsync(java.nio.ShortBuffer dstHost,
long srcDevice,
long hStream) |
static int |
cuMemcpyHtoA(long dstArray,
long dstOffset,
java.nio.ByteBuffer srcHost) |
static int |
cuMemcpyHtoA(long dstArray,
long dstOffset,
java.nio.DoubleBuffer srcHost) |
static int |
cuMemcpyHtoA(long dstArray,
long dstOffset,
java.nio.FloatBuffer srcHost) |
static int |
cuMemcpyHtoA(long dstArray,
long dstOffset,
java.nio.IntBuffer srcHost) |
static int |
cuMemcpyHtoA(long dstArray,
long dstOffset,
java.nio.LongBuffer srcHost) |
static int |
cuMemcpyHtoA(long dstArray,
long dstOffset,
org.lwjgl.PointerBuffer srcHost) |
static int |
cuMemcpyHtoA(long dstArray,
long dstOffset,
java.nio.ShortBuffer srcHost) |
static int |
cuMemcpyHtoAAsync(long dstArray,
long dstOffset,
java.nio.ByteBuffer srcHost,
long hStream) |
static int |
cuMemcpyHtoAAsync(long dstArray,
long dstOffset,
java.nio.DoubleBuffer srcHost,
long hStream) |
static int |
cuMemcpyHtoAAsync(long dstArray,
long dstOffset,
java.nio.FloatBuffer srcHost,
long hStream) |
static int |
cuMemcpyHtoAAsync(long dstArray,
long dstOffset,
java.nio.IntBuffer srcHost,
long hStream) |
static int |
cuMemcpyHtoAAsync(long dstArray,
long dstOffset,
java.nio.LongBuffer srcHost,
long hStream) |
static int |
cuMemcpyHtoAAsync(long dstArray,
long dstOffset,
org.lwjgl.PointerBuffer srcHost,
long hStream) |
static int |
cuMemcpyHtoAAsync(long dstArray,
long dstOffset,
java.nio.ShortBuffer srcHost,
long hStream) |
static int |
cuMemcpyHtoD(long dstDevice,
java.nio.ByteBuffer srcHost) |
static int |
cuMemcpyHtoD(long dstDevice,
java.nio.DoubleBuffer srcHost) |
static int |
cuMemcpyHtoD(long dstDevice,
java.nio.FloatBuffer srcHost) |
static int |
cuMemcpyHtoD(long dstDevice,
java.nio.IntBuffer srcHost) |
static int |
cuMemcpyHtoD(long dstDevice,
java.nio.LongBuffer srcHost) |
static int |
cuMemcpyHtoD(long dstDevice,
org.lwjgl.PointerBuffer srcHost) |
static int |
cuMemcpyHtoD(long dstDevice,
java.nio.ShortBuffer srcHost) |
static int |
cuMemcpyHtoDAsync(long dstDevice,
java.nio.ByteBuffer srcHost,
long hStream) |
static int |
cuMemcpyHtoDAsync(long dstDevice,
java.nio.DoubleBuffer srcHost,
long hStream) |
static int |
cuMemcpyHtoDAsync(long dstDevice,
java.nio.FloatBuffer srcHost,
long hStream) |
static int |
cuMemcpyHtoDAsync(long dstDevice,
java.nio.IntBuffer srcHost,
long hStream) |
static int |
cuMemcpyHtoDAsync(long dstDevice,
java.nio.LongBuffer srcHost,
long hStream) |
static int |
cuMemcpyHtoDAsync(long dstDevice,
org.lwjgl.PointerBuffer srcHost,
long hStream) |
static int |
cuMemcpyHtoDAsync(long dstDevice,
java.nio.ShortBuffer srcHost,
long hStream) |
static int |
cuMemFree(long dptr) |
static int |
cuMemFreeHost(java.nio.ByteBuffer p) |
static int |
cuMemGetAddressRange(org.lwjgl.PointerBuffer pbase,
org.lwjgl.PointerBuffer psize,
long dptr) |
static int |
cuMemGetInfo(org.lwjgl.PointerBuffer free,
org.lwjgl.PointerBuffer total) |
static int |
cuMemHostAlloc(org.lwjgl.PointerBuffer pp,
long bytesize,
int Flags) |
static int |
cuMemHostGetDevicePointer(org.lwjgl.PointerBuffer pdptr,
java.nio.ByteBuffer p,
int Flags) |
static int |
cuMemHostGetFlags(java.nio.IntBuffer pFlags,
java.nio.ByteBuffer p) |
static int |
cuMemsetD16(long dstDevice,
short us,
long N) |
static int |
cuMemsetD16Async(long dstDevice,
short us,
long N,
long hStream) |
static int |
cuMemsetD2D16(long dstDevice,
long dstPitch,
short us,
long Width,
long Height) |
static int |
cuMemsetD2D16Async(long dstDevice,
long dstPitch,
short us,
long Width,
long Height,
long hStream) |
static int |
cuMemsetD2D32(long dstDevice,
long dstPitch,
int ui,
long Width,
long Height) |
static int |
cuMemsetD2D32Async(long dstDevice,
long dstPitch,
int ui,
long Width,
long Height,
long hStream) |
static int |
cuMemsetD2D8(long dstDevice,
long dstPitch,
byte uc,
long Width,
long Height) |
static int |
cuMemsetD2D8Async(long dstDevice,
long dstPitch,
byte uc,
long Width,
long Height,
long hStream) |
static int |
cuMemsetD32(long dstDevice,
int ui,
long N) |
static int |
cuMemsetD32Async(long dstDevice,
int ui,
long N,
long hStream) |
static int |
cuMemsetD8(long dstDevice,
byte uc,
long N) |
static int |
cuMemsetD8Async(long dstDevice,
byte uc,
long N,
long hStream) |
static int |
cuModuleGetFunction(org.lwjgl.PointerBuffer hfunc,
long hmod,
java.nio.ByteBuffer name) |
static int |
cuModuleGetFunction(org.lwjgl.PointerBuffer hfunc,
long hmod,
java.lang.CharSequence name) |
static int |
cuModuleGetGlobal(org.lwjgl.PointerBuffer dptr,
org.lwjgl.PointerBuffer bytes,
long hmod,
java.nio.ByteBuffer name) |
static int |
cuModuleGetGlobal(org.lwjgl.PointerBuffer dptr,
org.lwjgl.PointerBuffer bytes,
long hmod,
java.lang.CharSequence name) |
static int |
cuModuleGetSurfRef(org.lwjgl.PointerBuffer pSurfRef,
long hmod,
java.nio.ByteBuffer name) |
static int |
cuModuleGetSurfRef(org.lwjgl.PointerBuffer pSurfRef,
long hmod,
java.lang.CharSequence name) |
static int |
cuModuleGetTexRef(org.lwjgl.PointerBuffer pTexRef,
long hmod,
java.nio.ByteBuffer name) |
static int |
cuModuleGetTexRef(org.lwjgl.PointerBuffer pTexRef,
long hmod,
java.lang.CharSequence name) |
static int |
cuModuleLoad(org.lwjgl.PointerBuffer module,
java.nio.ByteBuffer fname) |
static int |
cuModuleLoad(org.lwjgl.PointerBuffer module,
java.lang.CharSequence fname) |
static int |
cuModuleLoadData(org.lwjgl.PointerBuffer module,
java.nio.ByteBuffer image) |
static int |
cuModuleLoadDataEx(org.lwjgl.PointerBuffer module,
java.nio.ByteBuffer image,
java.nio.IntBuffer options,
org.lwjgl.PointerBuffer optionValues) |
static int |
cuModuleLoadFatBinary(org.lwjgl.PointerBuffer module,
java.nio.ByteBuffer fatCubin) |
static int |
cuModuleUnload(long hmod) |
static int |
cuParamSetf(long hfunc,
int offset,
float value) |
static int |
cuParamSeti(long hfunc,
int offset,
int value) |
static int |
cuParamSetSize(long hfunc,
int numbytes) |
static int |
cuParamSetTexRef(long hfunc,
int texunit,
long hTexRef) |
static int |
cuParamSetv(long hfunc,
int offset,
java.nio.ByteBuffer ptr) |
static int |
cuStreamAddCallback(long hStream,
CUstreamCallbackI callback,
long userData,
int flags) |
static int |
cuStreamCreate(org.lwjgl.PointerBuffer phStream,
int Flags) |
static int |
cuStreamCreateWithPriority(org.lwjgl.PointerBuffer phStream,
int flags,
int priority) |
static int |
cuStreamGetFlags(long hStream,
java.nio.IntBuffer flags) |
static int |
cuStreamGetPriority(long hStream,
java.nio.IntBuffer priority) |
static int |
cuStreamQuery(long hStream) |
static int |
cuStreamSynchronize(long hStream) |
static int |
cuStreamWaitEvent(long hStream,
long hEvent,
int Flags) |
static int |
cuSurfRefGetArray(org.lwjgl.PointerBuffer phArray,
long hSurfRef) |
static int |
cuSurfRefSetArray(long hSurfRef,
long hArray,
int Flags) |
static int |
cuTexRefCreate(org.lwjgl.PointerBuffer pTexRef) |
static int |
cuTexRefDestroy(long hTexRef) |
static int |
cuTexRefGetAddress(org.lwjgl.PointerBuffer pdptr,
long hTexRef) |
static int |
cuTexRefGetAddressMode(java.nio.IntBuffer pam,
long hTexRef,
int dim) |
static int |
cuTexRefGetArray(org.lwjgl.PointerBuffer phArray,
long hTexRef) |
static int |
cuTexRefGetBorderColor(java.nio.FloatBuffer pBorderColor,
long hTexRef) |
static int |
cuTexRefGetFilterMode(java.nio.IntBuffer pfm,
long hTexRef) |
static int |
cuTexRefGetFlags(java.nio.IntBuffer pFlags,
long hTexRef) |
static int |
cuTexRefGetFormat(java.nio.IntBuffer pFormat,
java.nio.IntBuffer pNumChannels,
long hTexRef) |
static int |
cuTexRefGetMaxAnisotropy(java.nio.IntBuffer pmaxAniso,
long hTexRef) |
static int |
cuTexRefGetMipmapFilterMode(java.nio.IntBuffer pfm,
long hTexRef) |
static int |
cuTexRefGetMipmapLevelBias(java.nio.FloatBuffer pbias,
long hTexRef) |
static int |
cuTexRefGetMipmapLevelClamp(java.nio.FloatBuffer pminMipmapLevelClamp,
java.nio.FloatBuffer pmaxMipmapLevelClamp,
long hTexRef) |
static int |
cuTexRefGetMipmappedArray(org.lwjgl.PointerBuffer phMipmappedArray,
long hTexRef) |
static int |
cuTexRefSetAddress(org.lwjgl.PointerBuffer ByteOffset,
long hTexRef,
long dptr,
long bytes) |
static int |
cuTexRefSetAddress2D(long hTexRef,
CUDA_ARRAY_DESCRIPTOR desc,
long dptr,
long Pitch) |
static int |
cuTexRefSetAddressMode(long hTexRef,
int dim,
int am) |
static int |
cuTexRefSetArray(long hTexRef,
long hArray,
int Flags) |
static int |
cuTexRefSetBorderColor(long hTexRef,
java.nio.FloatBuffer pBorderColor) |
static int |
cuTexRefSetFilterMode(long hTexRef,
int fm) |
static int |
cuTexRefSetFlags(long hTexRef,
int Flags) |
static int |
cuTexRefSetFormat(long hTexRef,
int fmt,
int NumPackedComponents) |
static int |
cuTexRefSetMaxAnisotropy(long hTexRef,
int maxAniso) |
static int |
cuTexRefSetMipmapFilterMode(long hTexRef,
int fm) |
static int |
cuTexRefSetMipmapLevelBias(long hTexRef,
float bias) |
static int |
cuTexRefSetMipmapLevelClamp(long hTexRef,
float minMipmapLevelClamp,
float maxMipmapLevelClamp) |
static int |
cuTexRefSetMipmappedArray(long hTexRef,
long hMipmappedArray,
int Flags) |
static org.lwjgl.system.SharedLibrary |
getLibrary()
Returns the NVCUDA
SharedLibrary. |
static int |
ncuArray3DCreate(long pHandle,
long pAllocateArray) |
static int |
ncuArray3DGetDescriptor(long pArrayDescriptor,
long hArray) |
static int |
ncuArrayCreate(long pHandle,
long pAllocateArray) |
static int |
ncuArrayGetDescriptor(long pArrayDescriptor,
long hArray) |
static int |
ncuCtxAttach(long pctx,
int flags) |
static int |
ncuCtxCreate(long pctx,
int flags,
int dev) |
static int |
ncuCtxGetApiVersion(long ctx,
long version) |
static int |
ncuCtxGetCacheConfig(long pconfig) |
static int |
ncuCtxGetDevice(long device) |
static int |
ncuCtxGetLimit(long pvalue,
int limit) |
static int |
ncuCtxGetStreamPriorityRange(long leastPriority,
long greatestPriority) |
static int |
ncuDeviceComputeCapability(long major,
long minor,
int dev) |
static int |
ncuDeviceGet(long device,
int ordinal) |
static int |
ncuDeviceGetAttribute(long pi,
int attrib,
int dev) |
static int |
ncuDeviceGetCount(long count) |
static int |
ncuDeviceGetName(long name,
int len,
int dev) |
static int |
ncuDeviceGetProperties(long prop,
int dev) |
static int |
ncuDeviceTotalMem(long bytes,
int dev) |
static int |
ncuDriverGetVersion(long driverVersion) |
static int |
ncuEventCreate(long phEvent,
int Flags) |
static int |
ncuEventElapsedTime(long pMilliseconds,
long hStart,
long hEnd) |
static int |
ncuFuncGetAttribute(long pi,
int attrib,
long hfunc) |
static int |
ncuGetErrorName(int error,
long pStr) |
static int |
ncuGetErrorString(int error,
long pStr) |
static int |
ncuGetExportTable(long ppExportTable,
long pExportTableId) |
static int |
ncuGraphicsMapResources(int count,
long resources,
long hStream) |
static int |
ncuGraphicsResourceGetMappedPointer(long pDevPtr,
long pSize,
long resource) |
static int |
ncuGraphicsSubResourceGetMappedArray(long pArray,
long resource,
int arrayIndex,
int mipLevel) |
static int |
ncuGraphicsUnmapResources(int count,
long resources,
long hStream) |
static int |
ncuMemAlloc(long dptr,
long bytesize) |
static int |
ncuMemAllocHost(long pp,
long bytesize) |
static int |
ncuMemAllocPitch(long dptr,
long pPitch,
long WidthInBytes,
long Height,
int ElementSizeBytes) |
static int |
ncuMemcpy2D(long pCopy) |
static int |
ncuMemcpy2DAsync(long pCopy,
long hStream) |
static int |
ncuMemcpy2DUnaligned(long pCopy) |
static int |
ncuMemcpy3D(long pCopy) |
static int |
ncuMemcpy3DAsync(long pCopy,
long hStream) |
static int |
ncuMemcpyAtoH(long dstHost,
long srcArray,
long srcOffset,
long ByteCount) |
static int |
ncuMemcpyAtoHAsync(long dstHost,
long srcArray,
long srcOffset,
long ByteCount,
long hStream) |
static int |
ncuMemcpyDtoH(long dstHost,
long srcDevice,
long ByteCount) |
static int |
ncuMemcpyDtoHAsync(long dstHost,
long srcDevice,
long ByteCount,
long hStream) |
static int |
ncuMemcpyHtoA(long dstArray,
long dstOffset,
long srcHost,
long ByteCount) |
static int |
ncuMemcpyHtoAAsync(long dstArray,
long dstOffset,
long srcHost,
long ByteCount,
long hStream) |
static int |
ncuMemcpyHtoD(long dstDevice,
long srcHost,
long ByteCount) |
static int |
ncuMemcpyHtoDAsync(long dstDevice,
long srcHost,
long ByteCount,
long hStream) |
static int |
ncuMemFreeHost(long p) |
static int |
ncuMemGetAddressRange(long pbase,
long psize,
long dptr) |
static int |
ncuMemGetInfo(long free,
long total) |
static int |
ncuMemHostAlloc(long pp,
long bytesize,
int Flags) |
static int |
ncuMemHostGetDevicePointer(long pdptr,
long p,
int Flags) |
static int |
ncuMemHostGetFlags(long pFlags,
long p) |
static int |
ncuModuleGetFunction(long hfunc,
long hmod,
long name) |
static int |
ncuModuleGetGlobal(long dptr,
long bytes,
long hmod,
long name) |
static int |
ncuModuleGetSurfRef(long pSurfRef,
long hmod,
long name) |
static int |
ncuModuleGetTexRef(long pTexRef,
long hmod,
long name) |
static int |
ncuModuleLoad(long module,
long fname) |
static int |
ncuModuleLoadData(long module,
long image) |
static int |
ncuModuleLoadDataEx(long module,
long image,
int numOptions,
long options,
long optionValues) |
static int |
ncuModuleLoadFatBinary(long module,
long fatCubin) |
static int |
ncuParamSetv(long hfunc,
int offset,
long ptr,
int numbytes) |
static int |
ncuStreamAddCallback(long hStream,
long callback,
long userData,
int flags) |
static int |
ncuStreamCreate(long phStream,
int Flags) |
static int |
ncuStreamCreateWithPriority(long phStream,
int flags,
int priority) |
static int |
ncuStreamGetFlags(long hStream,
long flags) |
static int |
ncuStreamGetPriority(long hStream,
long priority) |
static int |
ncuSurfRefGetArray(long phArray,
long hSurfRef) |
static int |
ncuTexRefCreate(long pTexRef) |
static int |
ncuTexRefGetAddress(long pdptr,
long hTexRef) |
static int |
ncuTexRefGetAddressMode(long pam,
long hTexRef,
int dim) |
static int |
ncuTexRefGetArray(long phArray,
long hTexRef) |
static int |
ncuTexRefGetBorderColor(long pBorderColor,
long hTexRef) |
static int |
ncuTexRefGetFilterMode(long pfm,
long hTexRef) |
static int |
ncuTexRefGetFlags(long pFlags,
long hTexRef) |
static int |
ncuTexRefGetFormat(long pFormat,
long pNumChannels,
long hTexRef) |
static int |
ncuTexRefGetMaxAnisotropy(long pmaxAniso,
long hTexRef) |
static int |
ncuTexRefGetMipmapFilterMode(long pfm,
long hTexRef) |
static int |
ncuTexRefGetMipmapLevelBias(long pbias,
long hTexRef) |
static int |
ncuTexRefGetMipmapLevelClamp(long pminMipmapLevelClamp,
long pmaxMipmapLevelClamp,
long hTexRef) |
static int |
ncuTexRefGetMipmappedArray(long phMipmappedArray,
long hTexRef) |
static int |
ncuTexRefSetAddress(long ByteOffset,
long hTexRef,
long dptr,
long bytes) |
static int |
ncuTexRefSetAddress2D(long hTexRef,
long desc,
long dptr,
long Pitch) |
static int |
ncuTexRefSetBorderColor(long hTexRef,
long pBorderColor) |
public static final int CU_MEMHOSTALLOC_PORTABLE
MemHostAlloc.
MEMHOSTALLOC_PORTABLE - If set, host memory is portable between CUDA contexts.MEMHOSTALLOC_DEVICEMAP - If set, host memory is mapped into CUDA address space and MemHostGetDevicePointer may be called on the host pointer.MEMHOSTALLOC_WRITECOMBINED -
If set, host memory is allocated as write-combined - fast to write, faster to DMA, slow to read except via SSE4 streaming load instruction
(MOVNTDQA).
public static final int CU_MEMHOSTALLOC_DEVICEMAP
MemHostAlloc.
MEMHOSTALLOC_PORTABLE - If set, host memory is portable between CUDA contexts.MEMHOSTALLOC_DEVICEMAP - If set, host memory is mapped into CUDA address space and MemHostGetDevicePointer may be called on the host pointer.MEMHOSTALLOC_WRITECOMBINED -
If set, host memory is allocated as write-combined - fast to write, faster to DMA, slow to read except via SSE4 streaming load instruction
(MOVNTDQA).
public static final int CU_MEMHOSTALLOC_WRITECOMBINED
MemHostAlloc.
MEMHOSTALLOC_PORTABLE - If set, host memory is portable between CUDA contexts.MEMHOSTALLOC_DEVICEMAP - If set, host memory is mapped into CUDA address space and MemHostGetDevicePointer may be called on the host pointer.MEMHOSTALLOC_WRITECOMBINED -
If set, host memory is allocated as write-combined - fast to write, faster to DMA, slow to read except via SSE4 streaming load instruction
(MOVNTDQA).
public static final int CU_MEMHOSTREGISTER_PORTABLE
MemHostRegister.
MEMHOSTREGISTER_PORTABLE - If set, host memory is portable between CUDA contexts.MEMHOSTREGISTER_DEVICEMAP - If set, host memory is mapped into CUDA address space and MemHostGetDevicePointer may be called on the host pointer.MEMHOSTREGISTER_IOMEMORY -
If set, the passed memory pointer is treated as pointing to some memory-mapped I/O space, e.g. belonging to a third-party PCIe device.
On Windows the flag is a no-op. On Linux that memory is marked as non cache-coherent for the GPU and is expected to be physically contiguous.
It may return CUDA_ERROR_NOT_PERMITTED if run as an unprivileged user, CUDA_ERROR_NOT_SUPPORTED on older Linux kernel versions. On all other
platforms, it is not supported and CUDA_ERROR_NOT_SUPPORTED is returned.
public static final int CU_MEMHOSTREGISTER_DEVICEMAP
MemHostRegister.
MEMHOSTREGISTER_PORTABLE - If set, host memory is portable between CUDA contexts.MEMHOSTREGISTER_DEVICEMAP - If set, host memory is mapped into CUDA address space and MemHostGetDevicePointer may be called on the host pointer.MEMHOSTREGISTER_IOMEMORY -
If set, the passed memory pointer is treated as pointing to some memory-mapped I/O space, e.g. belonging to a third-party PCIe device.
On Windows the flag is a no-op. On Linux that memory is marked as non cache-coherent for the GPU and is expected to be physically contiguous.
It may return CUDA_ERROR_NOT_PERMITTED if run as an unprivileged user, CUDA_ERROR_NOT_SUPPORTED on older Linux kernel versions. On all other
platforms, it is not supported and CUDA_ERROR_NOT_SUPPORTED is returned.
public static final int CU_MEMHOSTREGISTER_IOMEMORY
MemHostRegister.
MEMHOSTREGISTER_PORTABLE - If set, host memory is portable between CUDA contexts.MEMHOSTREGISTER_DEVICEMAP - If set, host memory is mapped into CUDA address space and MemHostGetDevicePointer may be called on the host pointer.MEMHOSTREGISTER_IOMEMORY -
If set, the passed memory pointer is treated as pointing to some memory-mapped I/O space, e.g. belonging to a third-party PCIe device.
On Windows the flag is a no-op. On Linux that memory is marked as non cache-coherent for the GPU and is expected to be physically contiguous.
It may return CUDA_ERROR_NOT_PERMITTED if run as an unprivileged user, CUDA_ERROR_NOT_SUPPORTED on older Linux kernel versions. On all other
platforms, it is not supported and CUDA_ERROR_NOT_SUPPORTED is returned.
public static final int CUDA_ARRAY3D_LAYERED
CUDA_ARRAY3D_LAYERED -
If set, the CUDA array is a collection of layers, where each layer is either a 1D or a 2D array and the Depth member of CUDA_ARRAY3D_DESCRIPTOR
specifies the number of layers, not the depth of a 3D array.
CUDA_ARRAY3D_2DARRAY - Deprecated, use CUDA_ARRAY3D_LAYERED.CUDA_ARRAY3D_SURFACE_LDST - This flag must be set in order to bind a surface reference to the CUDA array.CUDA_ARRAY3D_CUBEMAP -
If set, the CUDA array is a collection of six 2D arrays, representing faces of a cube. The width of such a CUDA array must be equal to its height,
and Depth must be six. If CUDA_ARRAY3D_LAYERED flag is also set, then the CUDA array is a collection of cubemaps and Depth must be a multiple of
six.
CUDA_ARRAY3D_TEXTURE_GATHER - This flag must be set in order to perform texture gather operations on a CUDA array.CUDA_ARRAY3D_DEPTH_TEXTURE - This flag if set indicates that the CUDA array is a DEPTH_TEXTURE.CUDA_ARRAY3D_COLOR_ATTACHMENT - This flag indicates that the CUDA array may be bound as a color target in an external graphics API.public static final int CUDA_ARRAY3D_2DARRAY
CUDA_ARRAY3D_LAYERED -
If set, the CUDA array is a collection of layers, where each layer is either a 1D or a 2D array and the Depth member of CUDA_ARRAY3D_DESCRIPTOR
specifies the number of layers, not the depth of a 3D array.
CUDA_ARRAY3D_2DARRAY - Deprecated, use CUDA_ARRAY3D_LAYERED.CUDA_ARRAY3D_SURFACE_LDST - This flag must be set in order to bind a surface reference to the CUDA array.CUDA_ARRAY3D_CUBEMAP -
If set, the CUDA array is a collection of six 2D arrays, representing faces of a cube. The width of such a CUDA array must be equal to its height,
and Depth must be six. If CUDA_ARRAY3D_LAYERED flag is also set, then the CUDA array is a collection of cubemaps and Depth must be a multiple of
six.
CUDA_ARRAY3D_TEXTURE_GATHER - This flag must be set in order to perform texture gather operations on a CUDA array.CUDA_ARRAY3D_DEPTH_TEXTURE - This flag if set indicates that the CUDA array is a DEPTH_TEXTURE.CUDA_ARRAY3D_COLOR_ATTACHMENT - This flag indicates that the CUDA array may be bound as a color target in an external graphics API.public static final int CUDA_ARRAY3D_SURFACE_LDST
CUDA_ARRAY3D_LAYERED -
If set, the CUDA array is a collection of layers, where each layer is either a 1D or a 2D array and the Depth member of CUDA_ARRAY3D_DESCRIPTOR
specifies the number of layers, not the depth of a 3D array.
CUDA_ARRAY3D_2DARRAY - Deprecated, use CUDA_ARRAY3D_LAYERED.CUDA_ARRAY3D_SURFACE_LDST - This flag must be set in order to bind a surface reference to the CUDA array.CUDA_ARRAY3D_CUBEMAP -
If set, the CUDA array is a collection of six 2D arrays, representing faces of a cube. The width of such a CUDA array must be equal to its height,
and Depth must be six. If CUDA_ARRAY3D_LAYERED flag is also set, then the CUDA array is a collection of cubemaps and Depth must be a multiple of
six.
CUDA_ARRAY3D_TEXTURE_GATHER - This flag must be set in order to perform texture gather operations on a CUDA array.CUDA_ARRAY3D_DEPTH_TEXTURE - This flag if set indicates that the CUDA array is a DEPTH_TEXTURE.CUDA_ARRAY3D_COLOR_ATTACHMENT - This flag indicates that the CUDA array may be bound as a color target in an external graphics API.public static final int CUDA_ARRAY3D_CUBEMAP
CUDA_ARRAY3D_LAYERED -
If set, the CUDA array is a collection of layers, where each layer is either a 1D or a 2D array and the Depth member of CUDA_ARRAY3D_DESCRIPTOR
specifies the number of layers, not the depth of a 3D array.
CUDA_ARRAY3D_2DARRAY - Deprecated, use CUDA_ARRAY3D_LAYERED.CUDA_ARRAY3D_SURFACE_LDST - This flag must be set in order to bind a surface reference to the CUDA array.CUDA_ARRAY3D_CUBEMAP -
If set, the CUDA array is a collection of six 2D arrays, representing faces of a cube. The width of such a CUDA array must be equal to its height,
and Depth must be six. If CUDA_ARRAY3D_LAYERED flag is also set, then the CUDA array is a collection of cubemaps and Depth must be a multiple of
six.
CUDA_ARRAY3D_TEXTURE_GATHER - This flag must be set in order to perform texture gather operations on a CUDA array.CUDA_ARRAY3D_DEPTH_TEXTURE - This flag if set indicates that the CUDA array is a DEPTH_TEXTURE.CUDA_ARRAY3D_COLOR_ATTACHMENT - This flag indicates that the CUDA array may be bound as a color target in an external graphics API.public static final int CUDA_ARRAY3D_TEXTURE_GATHER
CUDA_ARRAY3D_LAYERED -
If set, the CUDA array is a collection of layers, where each layer is either a 1D or a 2D array and the Depth member of CUDA_ARRAY3D_DESCRIPTOR
specifies the number of layers, not the depth of a 3D array.
CUDA_ARRAY3D_2DARRAY - Deprecated, use CUDA_ARRAY3D_LAYERED.CUDA_ARRAY3D_SURFACE_LDST - This flag must be set in order to bind a surface reference to the CUDA array.CUDA_ARRAY3D_CUBEMAP -
If set, the CUDA array is a collection of six 2D arrays, representing faces of a cube. The width of such a CUDA array must be equal to its height,
and Depth must be six. If CUDA_ARRAY3D_LAYERED flag is also set, then the CUDA array is a collection of cubemaps and Depth must be a multiple of
six.
CUDA_ARRAY3D_TEXTURE_GATHER - This flag must be set in order to perform texture gather operations on a CUDA array.CUDA_ARRAY3D_DEPTH_TEXTURE - This flag if set indicates that the CUDA array is a DEPTH_TEXTURE.CUDA_ARRAY3D_COLOR_ATTACHMENT - This flag indicates that the CUDA array may be bound as a color target in an external graphics API.public static final int CUDA_ARRAY3D_DEPTH_TEXTURE
CUDA_ARRAY3D_LAYERED -
If set, the CUDA array is a collection of layers, where each layer is either a 1D or a 2D array and the Depth member of CUDA_ARRAY3D_DESCRIPTOR
specifies the number of layers, not the depth of a 3D array.
CUDA_ARRAY3D_2DARRAY - Deprecated, use CUDA_ARRAY3D_LAYERED.CUDA_ARRAY3D_SURFACE_LDST - This flag must be set in order to bind a surface reference to the CUDA array.CUDA_ARRAY3D_CUBEMAP -
If set, the CUDA array is a collection of six 2D arrays, representing faces of a cube. The width of such a CUDA array must be equal to its height,
and Depth must be six. If CUDA_ARRAY3D_LAYERED flag is also set, then the CUDA array is a collection of cubemaps and Depth must be a multiple of
six.
CUDA_ARRAY3D_TEXTURE_GATHER - This flag must be set in order to perform texture gather operations on a CUDA array.CUDA_ARRAY3D_DEPTH_TEXTURE - This flag if set indicates that the CUDA array is a DEPTH_TEXTURE.CUDA_ARRAY3D_COLOR_ATTACHMENT - This flag indicates that the CUDA array may be bound as a color target in an external graphics API.public static final int CUDA_ARRAY3D_COLOR_ATTACHMENT
CUDA_ARRAY3D_LAYERED -
If set, the CUDA array is a collection of layers, where each layer is either a 1D or a 2D array and the Depth member of CUDA_ARRAY3D_DESCRIPTOR
specifies the number of layers, not the depth of a 3D array.
CUDA_ARRAY3D_2DARRAY - Deprecated, use CUDA_ARRAY3D_LAYERED.CUDA_ARRAY3D_SURFACE_LDST - This flag must be set in order to bind a surface reference to the CUDA array.CUDA_ARRAY3D_CUBEMAP -
If set, the CUDA array is a collection of six 2D arrays, representing faces of a cube. The width of such a CUDA array must be equal to its height,
and Depth must be six. If CUDA_ARRAY3D_LAYERED flag is also set, then the CUDA array is a collection of cubemaps and Depth must be a multiple of
six.
CUDA_ARRAY3D_TEXTURE_GATHER - This flag must be set in order to perform texture gather operations on a CUDA array.CUDA_ARRAY3D_DEPTH_TEXTURE - This flag if set indicates that the CUDA array is a DEPTH_TEXTURE.CUDA_ARRAY3D_COLOR_ATTACHMENT - This flag indicates that the CUDA array may be bound as a color target in an external graphics API.public static final int CU_TRSA_OVERRIDE_FORMAT
TexRefSetArray.
TRSA_OVERRIDE_FORMAT - Override the texref format with a format inferred from the array.public static final int CU_TRSF_READ_AS_INTEGER
TexRefSetFlags.
TRSF_READ_AS_INTEGER - Read the texture as integers rather than promoting the values to floats in the range [0,1].TRSF_NORMALIZED_COORDINATES - Use normalized texture coordinates in the range [0,1) instead of [0,dim).TRSF_SRGB - Perform sRGB->linear conversion during texture read.public static final int CU_TRSF_NORMALIZED_COORDINATES
TexRefSetFlags.
TRSF_READ_AS_INTEGER - Read the texture as integers rather than promoting the values to floats in the range [0,1].TRSF_NORMALIZED_COORDINATES - Use normalized texture coordinates in the range [0,1) instead of [0,dim).TRSF_SRGB - Perform sRGB->linear conversion during texture read.public static final int CU_TRSF_SRGB
TexRefSetFlags.
TRSF_READ_AS_INTEGER - Read the texture as integers rather than promoting the values to floats in the range [0,1].TRSF_NORMALIZED_COORDINATES - Use normalized texture coordinates in the range [0,1) instead of [0,dim).TRSF_SRGB - Perform sRGB->linear conversion during texture read.public static final int CU_PARAM_TR_DEFAULT
public static final int CU_CTX_SCHED_AUTO
CUctx_flags)
CTX_SCHED_AUTO - Automatic schedulingCTX_SCHED_SPIN - Set spin as default schedulingCTX_SCHED_YIELD - Set yield as default schedulingCTX_SCHED_BLOCKING_SYNC - Set blocking synchronization as default schedulingCTX_BLOCKING_SYNC - Set blocking synchronization as default scheduling. This flag was deprecated as of CUDA 4.0 and was replaced with CTX_SCHED_BLOCKING_SYNC.CTX_SCHED_MASKCTX_MAP_HOST - Support mapped pinned allocationsCTX_LMEM_RESIZE_TO_MAX - Keep local memory allocation after launchCTX_FLAGS_MASKpublic static final int CU_CTX_SCHED_SPIN
CUctx_flags)
CTX_SCHED_AUTO - Automatic schedulingCTX_SCHED_SPIN - Set spin as default schedulingCTX_SCHED_YIELD - Set yield as default schedulingCTX_SCHED_BLOCKING_SYNC - Set blocking synchronization as default schedulingCTX_BLOCKING_SYNC - Set blocking synchronization as default scheduling. This flag was deprecated as of CUDA 4.0 and was replaced with CTX_SCHED_BLOCKING_SYNC.CTX_SCHED_MASKCTX_MAP_HOST - Support mapped pinned allocationsCTX_LMEM_RESIZE_TO_MAX - Keep local memory allocation after launchCTX_FLAGS_MASKpublic static final int CU_CTX_SCHED_YIELD
CUctx_flags)
CTX_SCHED_AUTO - Automatic schedulingCTX_SCHED_SPIN - Set spin as default schedulingCTX_SCHED_YIELD - Set yield as default schedulingCTX_SCHED_BLOCKING_SYNC - Set blocking synchronization as default schedulingCTX_BLOCKING_SYNC - Set blocking synchronization as default scheduling. This flag was deprecated as of CUDA 4.0 and was replaced with CTX_SCHED_BLOCKING_SYNC.CTX_SCHED_MASKCTX_MAP_HOST - Support mapped pinned allocationsCTX_LMEM_RESIZE_TO_MAX - Keep local memory allocation after launchCTX_FLAGS_MASKpublic static final int CU_CTX_SCHED_BLOCKING_SYNC
CUctx_flags)
CTX_SCHED_AUTO - Automatic schedulingCTX_SCHED_SPIN - Set spin as default schedulingCTX_SCHED_YIELD - Set yield as default schedulingCTX_SCHED_BLOCKING_SYNC - Set blocking synchronization as default schedulingCTX_BLOCKING_SYNC - Set blocking synchronization as default scheduling. This flag was deprecated as of CUDA 4.0 and was replaced with CTX_SCHED_BLOCKING_SYNC.CTX_SCHED_MASKCTX_MAP_HOST - Support mapped pinned allocationsCTX_LMEM_RESIZE_TO_MAX - Keep local memory allocation after launchCTX_FLAGS_MASKpublic static final int CU_CTX_BLOCKING_SYNC
CUctx_flags)
CTX_SCHED_AUTO - Automatic schedulingCTX_SCHED_SPIN - Set spin as default schedulingCTX_SCHED_YIELD - Set yield as default schedulingCTX_SCHED_BLOCKING_SYNC - Set blocking synchronization as default schedulingCTX_BLOCKING_SYNC - Set blocking synchronization as default scheduling. This flag was deprecated as of CUDA 4.0 and was replaced with CTX_SCHED_BLOCKING_SYNC.CTX_SCHED_MASKCTX_MAP_HOST - Support mapped pinned allocationsCTX_LMEM_RESIZE_TO_MAX - Keep local memory allocation after launchCTX_FLAGS_MASKpublic static final int CU_CTX_SCHED_MASK
CUctx_flags)
CTX_SCHED_AUTO - Automatic schedulingCTX_SCHED_SPIN - Set spin as default schedulingCTX_SCHED_YIELD - Set yield as default schedulingCTX_SCHED_BLOCKING_SYNC - Set blocking synchronization as default schedulingCTX_BLOCKING_SYNC - Set blocking synchronization as default scheduling. This flag was deprecated as of CUDA 4.0 and was replaced with CTX_SCHED_BLOCKING_SYNC.CTX_SCHED_MASKCTX_MAP_HOST - Support mapped pinned allocationsCTX_LMEM_RESIZE_TO_MAX - Keep local memory allocation after launchCTX_FLAGS_MASKpublic static final int CU_CTX_MAP_HOST
CUctx_flags)
CTX_SCHED_AUTO - Automatic schedulingCTX_SCHED_SPIN - Set spin as default schedulingCTX_SCHED_YIELD - Set yield as default schedulingCTX_SCHED_BLOCKING_SYNC - Set blocking synchronization as default schedulingCTX_BLOCKING_SYNC - Set blocking synchronization as default scheduling. This flag was deprecated as of CUDA 4.0 and was replaced with CTX_SCHED_BLOCKING_SYNC.CTX_SCHED_MASKCTX_MAP_HOST - Support mapped pinned allocationsCTX_LMEM_RESIZE_TO_MAX - Keep local memory allocation after launchCTX_FLAGS_MASKpublic static final int CU_CTX_LMEM_RESIZE_TO_MAX
CUctx_flags)
CTX_SCHED_AUTO - Automatic schedulingCTX_SCHED_SPIN - Set spin as default schedulingCTX_SCHED_YIELD - Set yield as default schedulingCTX_SCHED_BLOCKING_SYNC - Set blocking synchronization as default schedulingCTX_BLOCKING_SYNC - Set blocking synchronization as default scheduling. This flag was deprecated as of CUDA 4.0 and was replaced with CTX_SCHED_BLOCKING_SYNC.CTX_SCHED_MASKCTX_MAP_HOST - Support mapped pinned allocationsCTX_LMEM_RESIZE_TO_MAX - Keep local memory allocation after launchCTX_FLAGS_MASKpublic static final int CU_CTX_FLAGS_MASK
CUctx_flags)
CTX_SCHED_AUTO - Automatic schedulingCTX_SCHED_SPIN - Set spin as default schedulingCTX_SCHED_YIELD - Set yield as default schedulingCTX_SCHED_BLOCKING_SYNC - Set blocking synchronization as default schedulingCTX_BLOCKING_SYNC - Set blocking synchronization as default scheduling. This flag was deprecated as of CUDA 4.0 and was replaced with CTX_SCHED_BLOCKING_SYNC.CTX_SCHED_MASKCTX_MAP_HOST - Support mapped pinned allocationsCTX_LMEM_RESIZE_TO_MAX - Keep local memory allocation after launchCTX_FLAGS_MASKpublic static final int CU_STREAM_DEFAULT
CUstream_flags)
STREAM_DEFAULT - Default stream flagSTREAM_NON_BLOCKING - Stream does not synchronize with stream 0 (the NULL stream)public static final int CU_STREAM_NON_BLOCKING
CUstream_flags)
STREAM_DEFAULT - Default stream flagSTREAM_NON_BLOCKING - Stream does not synchronize with stream 0 (the NULL stream)public static final int CU_EVENT_DEFAULT
CUevent_flags)
EVENT_DEFAULT - Default event flagEVENT_BLOCKING_SYNC - Event uses blocking synchronizationEVENT_DISABLE_TIMING - Event will not record timing dataEVENT_INTERPROCESS - Event is suitable for interprocess use. EVENT_DISABLE_TIMING must be setpublic static final int CU_EVENT_BLOCKING_SYNC
CUevent_flags)
EVENT_DEFAULT - Default event flagEVENT_BLOCKING_SYNC - Event uses blocking synchronizationEVENT_DISABLE_TIMING - Event will not record timing dataEVENT_INTERPROCESS - Event is suitable for interprocess use. EVENT_DISABLE_TIMING must be setpublic static final int CU_EVENT_DISABLE_TIMING
CUevent_flags)
EVENT_DEFAULT - Default event flagEVENT_BLOCKING_SYNC - Event uses blocking synchronizationEVENT_DISABLE_TIMING - Event will not record timing dataEVENT_INTERPROCESS - Event is suitable for interprocess use. EVENT_DISABLE_TIMING must be setpublic static final int CU_EVENT_INTERPROCESS
CUevent_flags)
EVENT_DEFAULT - Default event flagEVENT_BLOCKING_SYNC - Event uses blocking synchronizationEVENT_DISABLE_TIMING - Event will not record timing dataEVENT_INTERPROCESS - Event is suitable for interprocess use. EVENT_DISABLE_TIMING must be setpublic static final int CU_AD_FORMAT_UNSIGNED_INT8
CUarray_format)
AD_FORMAT_UNSIGNED_INT8 - Unsigned 8-bit integersAD_FORMAT_UNSIGNED_INT16 - Unsigned 16-bit integersAD_FORMAT_UNSIGNED_INT32 - Unsigned 32-bit integersAD_FORMAT_SIGNED_INT8 - Signed 8-bit integersAD_FORMAT_SIGNED_INT16 - Signed 16-bit integersAD_FORMAT_SIGNED_INT32 - Signed 32-bit integersAD_FORMAT_HALF - 16-bit floating pointAD_FORMAT_FLOAT - 32-bit floating pointpublic static final int CU_AD_FORMAT_UNSIGNED_INT16
CUarray_format)
AD_FORMAT_UNSIGNED_INT8 - Unsigned 8-bit integersAD_FORMAT_UNSIGNED_INT16 - Unsigned 16-bit integersAD_FORMAT_UNSIGNED_INT32 - Unsigned 32-bit integersAD_FORMAT_SIGNED_INT8 - Signed 8-bit integersAD_FORMAT_SIGNED_INT16 - Signed 16-bit integersAD_FORMAT_SIGNED_INT32 - Signed 32-bit integersAD_FORMAT_HALF - 16-bit floating pointAD_FORMAT_FLOAT - 32-bit floating pointpublic static final int CU_AD_FORMAT_UNSIGNED_INT32
CUarray_format)
AD_FORMAT_UNSIGNED_INT8 - Unsigned 8-bit integersAD_FORMAT_UNSIGNED_INT16 - Unsigned 16-bit integersAD_FORMAT_UNSIGNED_INT32 - Unsigned 32-bit integersAD_FORMAT_SIGNED_INT8 - Signed 8-bit integersAD_FORMAT_SIGNED_INT16 - Signed 16-bit integersAD_FORMAT_SIGNED_INT32 - Signed 32-bit integersAD_FORMAT_HALF - 16-bit floating pointAD_FORMAT_FLOAT - 32-bit floating pointpublic static final int CU_AD_FORMAT_SIGNED_INT8
CUarray_format)
AD_FORMAT_UNSIGNED_INT8 - Unsigned 8-bit integersAD_FORMAT_UNSIGNED_INT16 - Unsigned 16-bit integersAD_FORMAT_UNSIGNED_INT32 - Unsigned 32-bit integersAD_FORMAT_SIGNED_INT8 - Signed 8-bit integersAD_FORMAT_SIGNED_INT16 - Signed 16-bit integersAD_FORMAT_SIGNED_INT32 - Signed 32-bit integersAD_FORMAT_HALF - 16-bit floating pointAD_FORMAT_FLOAT - 32-bit floating pointpublic static final int CU_AD_FORMAT_SIGNED_INT16
CUarray_format)
AD_FORMAT_UNSIGNED_INT8 - Unsigned 8-bit integersAD_FORMAT_UNSIGNED_INT16 - Unsigned 16-bit integersAD_FORMAT_UNSIGNED_INT32 - Unsigned 32-bit integersAD_FORMAT_SIGNED_INT8 - Signed 8-bit integersAD_FORMAT_SIGNED_INT16 - Signed 16-bit integersAD_FORMAT_SIGNED_INT32 - Signed 32-bit integersAD_FORMAT_HALF - 16-bit floating pointAD_FORMAT_FLOAT - 32-bit floating pointpublic static final int CU_AD_FORMAT_SIGNED_INT32
CUarray_format)
AD_FORMAT_UNSIGNED_INT8 - Unsigned 8-bit integersAD_FORMAT_UNSIGNED_INT16 - Unsigned 16-bit integersAD_FORMAT_UNSIGNED_INT32 - Unsigned 32-bit integersAD_FORMAT_SIGNED_INT8 - Signed 8-bit integersAD_FORMAT_SIGNED_INT16 - Signed 16-bit integersAD_FORMAT_SIGNED_INT32 - Signed 32-bit integersAD_FORMAT_HALF - 16-bit floating pointAD_FORMAT_FLOAT - 32-bit floating pointpublic static final int CU_AD_FORMAT_HALF
CUarray_format)
AD_FORMAT_UNSIGNED_INT8 - Unsigned 8-bit integersAD_FORMAT_UNSIGNED_INT16 - Unsigned 16-bit integersAD_FORMAT_UNSIGNED_INT32 - Unsigned 32-bit integersAD_FORMAT_SIGNED_INT8 - Signed 8-bit integersAD_FORMAT_SIGNED_INT16 - Signed 16-bit integersAD_FORMAT_SIGNED_INT32 - Signed 32-bit integersAD_FORMAT_HALF - 16-bit floating pointAD_FORMAT_FLOAT - 32-bit floating pointpublic static final int CU_AD_FORMAT_FLOAT
CUarray_format)
AD_FORMAT_UNSIGNED_INT8 - Unsigned 8-bit integersAD_FORMAT_UNSIGNED_INT16 - Unsigned 16-bit integersAD_FORMAT_UNSIGNED_INT32 - Unsigned 32-bit integersAD_FORMAT_SIGNED_INT8 - Signed 8-bit integersAD_FORMAT_SIGNED_INT16 - Signed 16-bit integersAD_FORMAT_SIGNED_INT32 - Signed 32-bit integersAD_FORMAT_HALF - 16-bit floating pointAD_FORMAT_FLOAT - 32-bit floating pointpublic static final int CU_TR_ADDRESS_MODE_WRAP
CUaddress_mode)
TR_ADDRESS_MODE_WRAP - Wrapping address modeTR_ADDRESS_MODE_CLAMP - Clamp to edge address modeTR_ADDRESS_MODE_MIRROR - Mirror address modeTR_ADDRESS_MODE_BORDER - Border address modepublic static final int CU_TR_ADDRESS_MODE_CLAMP
CUaddress_mode)
TR_ADDRESS_MODE_WRAP - Wrapping address modeTR_ADDRESS_MODE_CLAMP - Clamp to edge address modeTR_ADDRESS_MODE_MIRROR - Mirror address modeTR_ADDRESS_MODE_BORDER - Border address modepublic static final int CU_TR_ADDRESS_MODE_MIRROR
CUaddress_mode)
TR_ADDRESS_MODE_WRAP - Wrapping address modeTR_ADDRESS_MODE_CLAMP - Clamp to edge address modeTR_ADDRESS_MODE_MIRROR - Mirror address modeTR_ADDRESS_MODE_BORDER - Border address modepublic static final int CU_TR_ADDRESS_MODE_BORDER
CUaddress_mode)
TR_ADDRESS_MODE_WRAP - Wrapping address modeTR_ADDRESS_MODE_CLAMP - Clamp to edge address modeTR_ADDRESS_MODE_MIRROR - Mirror address modeTR_ADDRESS_MODE_BORDER - Border address modepublic static final int CU_TR_FILTER_MODE_POINT
CUfilter_mode)
TR_FILTER_MODE_POINT - Point filter modeTR_FILTER_MODE_LINEAR - Linear filter modepublic static final int CU_TR_FILTER_MODE_LINEAR
CUfilter_mode)
TR_FILTER_MODE_POINT - Point filter modeTR_FILTER_MODE_LINEAR - Linear filter modepublic static final int CU_DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_X
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_Y
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_Z
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_WARP_SIZE
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAX_PITCH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_CLOCK_RATE
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_GPU_OVERLAP
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_INTEGRATED
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_COMPUTE_MODE
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_SURFACE_ALIGNMENT
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_CONCURRENT_KERNELS
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_ECC_ENABLED
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_PCI_BUS_ID
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_PCI_DEVICE_ID
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_TCC_DRIVER
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_L2_CACHE_SIZE
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_UNIFIED_ADDRESSING
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_CAN_TEX2D_GATHER
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_PCI_DOMAIN_ID
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MANAGED_MEMORY
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MULTI_GPU_BOARD
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST
CUdevice_attribute)
DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK - Maximum number of threads per blockDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X - Maximum block dimension XDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y - Maximum block dimension YDEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z - Maximum block dimension ZDEVICE_ATTRIBUTE_MAX_GRID_DIM_X - Maximum grid dimension XDEVICE_ATTRIBUTE_MAX_GRID_DIM_Y - Maximum grid dimension YDEVICE_ATTRIBUTE_MAX_GRID_DIM_Z - Maximum grid dimension ZDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK - Maximum shared memory available per block in bytesDEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCKDEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY - Memory available on device for __constant__ variables in a CUDA C kernel in bytesDEVICE_ATTRIBUTE_WARP_SIZE - Warp size in threadsDEVICE_ATTRIBUTE_MAX_PITCH - Maximum pitch in bytes allowed by memory copiesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK - Maximum number of 32-bit registers available per blockDEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK - Deprecated, use DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCKDEVICE_ATTRIBUTE_CLOCK_RATE - Typical clock frequency in kilohertzDEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT - Alignment requirement for texturesDEVICE_ATTRIBUTE_GPU_OVERLAP - Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT - Number of multiprocessors on deviceDEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT - Specifies whether there is a run time limit on kernelsDEVICE_ATTRIBUTE_INTEGRATED - Device is integrated with host memoryDEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY - Device can map host memory into CUDA address spaceDEVICE_ATTRIBUTE_COMPUTE_MODE - Compute mode (See CUcomputemode for details)DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH - Maximum 1D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH - Maximum 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT - Maximum 2D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH - Maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT - Maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH - Maximum 3D texture depthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH - Maximum 2D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT - Maximum 2D layered texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS - Maximum layers in a 2D layered textureDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTHDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHTDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES - Deprecated, use DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERSDEVICE_ATTRIBUTE_SURFACE_ALIGNMENT - Alignment requirement for surfacesDEVICE_ATTRIBUTE_CONCURRENT_KERNELS - Device can possibly execute multiple kernels concurrentlyDEVICE_ATTRIBUTE_ECC_ENABLED - Device has ECC support enabledDEVICE_ATTRIBUTE_PCI_BUS_ID - PCI bus ID of the deviceDEVICE_ATTRIBUTE_PCI_DEVICE_ID - PCI device ID of the deviceDEVICE_ATTRIBUTE_TCC_DRIVER - Device is using TCC driver modelDEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE - Peak memory clock frequency in kilohertzDEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH - Global memory bus width in bitsDEVICE_ATTRIBUTE_L2_CACHE_SIZE - Size of L2 cache in bytesDEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR - Maximum resident threads per multiprocessorDEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT - Number of asynchronous enginesDEVICE_ATTRIBUTE_UNIFIED_ADDRESSING - Device shares a unified address space with the hostDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH - Maximum 1D layered texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS - Maximum layers in a 1D layered textureDEVICE_ATTRIBUTE_CAN_TEX2D_GATHER - Deprecated, do not use.DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH - Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT - Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is setDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE - Alternate maximum 3D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE - Alternate maximum 3D texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE - Alternate maximum 3D texture depthDEVICE_ATTRIBUTE_PCI_DOMAIN_ID - PCI domain ID of the deviceDEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT - Pitch alignment requirement for texturesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH - Maximum cubemap texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered texture width/heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered textureDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH - Maximum 1D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH - Maximum 2D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT - Maximum 2D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH - Maximum 3D surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT - Maximum 3D surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH - Maximum 3D surface depthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH - Maximum 1D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS - Maximum layers in a 1D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH - Maximum 2D layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT - Maximum 2D layered surface heightDEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS - Maximum layers in a 2D layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH - Maximum cubemap surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH - Maximum cubemap layered surface widthDEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS - Maximum layers in a cubemap layered surfaceDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH - Maximum 1D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH - Maximum 2D linear texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT - Maximum 2D linear texture heightDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH - Maximum 2D linear texture pitch in bytesDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH - Maximum mipmapped 2D texture widthDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT - Maximum mipmapped 2D texture heightDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR - Major compute capability version numberDEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR - Minor compute capability version numberDEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH - Maximum mipmapped 1D texture widthDEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED - Device supports stream prioritiesDEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED - Device supports caching globals in L1DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED - Device supports caching locals in L1DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR - Maximum shared memory available per multiprocessor in bytesDEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR - Maximum number of 32-bit registers available per multiprocessorDEVICE_ATTRIBUTE_MANAGED_MEMORY - Device can allocate managed memory on this systemDEVICE_ATTRIBUTE_MULTI_GPU_BOARD - Device is on a multi-GPU boardDEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID - Unique id for a group of devices on the same multi-GPU boardDEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED -
Link between the device and the host supports native atomic operations (this is a placeholder attribute, and is not supported on any current
hardware)
DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO - Ratio of single precision performance (in floating-point operations per second) to double precision performanceDEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS - Device supports coherently accessing pageable memory without calling cudaHostRegister on itDEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS - Device can coherently access managed memory concurrently with the CPUDEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED - Device supports compute preemption.DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM - Device can access host registered memory at the same virtual address as the CPUDEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS - StreamBatchMemOp and related APIs are supported.DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS - 64-bit operations are supported in StreamBatchMemOp and related APIs.DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR - STREAM_WAIT_VALUE_NOR is supported.DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH - Device supports launching cooperative kernels via LaunchCooperativeKernelDEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH - Device can participate in cooperative kernels launched via LaunchCooperativeKernelMultiDeviceDEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN - Maximum optin shared memory per blockDEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES - Both the STREAM_WAIT_VALUE_FLUSH flag and the STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the device.DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED - Device supports host memory registration via cudaHostRegister().DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES - Device accesses pageable memory via the host's page tables.DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST - The host can directly access managed memory on the device without migration.public static final int CU_FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK
CUfunction_attribute)
FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK -
The maximum number of threads per block, beyond which a launch of the function would fail. This number depends on both the function and the device
on which the function is currently loaded.
FUNC_ATTRIBUTE_SHARED_SIZE_BYTES -
The size in bytes of statically-allocated shared memory required by this function. This does not include dynamically-allocated shared memory
requested by the user at runtime.
FUNC_ATTRIBUTE_CONST_SIZE_BYTES - The size in bytes of user-allocated constant memory required by this function.FUNC_ATTRIBUTE_LOCAL_SIZE_BYTES - The size in bytes of local memory used by each thread of this function.FUNC_ATTRIBUTE_NUM_REGS - The number of registers used by each thread of this function.FUNC_ATTRIBUTE_PTX_VERSION -
The PTX virtual architecture version for which the function was compiled.
This value is the major PTX version * 10 + the minor PTX version, so a PTX version 1.3 function would return the value 13. Note that this
may return the undefined value of 0 for cubins compiled prior to CUDA 3.0.
FUNC_ATTRIBUTE_BINARY_VERSION -
The binary architecture version for which the function was compiled.
This value is the major binary version * 10 + the minor binary version, so a binary version 1.3 function would return the value 13. Note
that this will return a value of 10 for legacy cubins that do not have a properly-encoded binary architecture version.
FUNC_ATTRIBUTE_CACHE_MODE_CA - The attribute to indicate whether the function has been compiled with user specified option "-Xptxas --dlcm=ca" set.FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES -
The maximum size in bytes of dynamically-allocated shared memory that can be used by this function.
If the user-specified dynamic shared memory size is larger than this value, the launch will fail.
FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT -
On devices where the L1 cache and shared memory use the same hardware resources, this sets the shared memory carveout preference, in percent of the total shared memory. Refer to DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR.
This is only a hint, and the driver can choose a different ratio if required to execute the function.
public static final int CU_FUNC_ATTRIBUTE_SHARED_SIZE_BYTES
CUfunction_attribute)
FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK -
The maximum number of threads per block, beyond which a launch of the function would fail. This number depends on both the function and the device
on which the function is currently loaded.
FUNC_ATTRIBUTE_SHARED_SIZE_BYTES -
The size in bytes of statically-allocated shared memory required by this function. This does not include dynamically-allocated shared memory
requested by the user at runtime.
FUNC_ATTRIBUTE_CONST_SIZE_BYTES - The size in bytes of user-allocated constant memory required by this function.FUNC_ATTRIBUTE_LOCAL_SIZE_BYTES - The size in bytes of local memory used by each thread of this function.FUNC_ATTRIBUTE_NUM_REGS - The number of registers used by each thread of this function.FUNC_ATTRIBUTE_PTX_VERSION -
The PTX virtual architecture version for which the function was compiled.
This value is the major PTX version * 10 + the minor PTX version, so a PTX version 1.3 function would return the value 13. Note that this
may return the undefined value of 0 for cubins compiled prior to CUDA 3.0.
FUNC_ATTRIBUTE_BINARY_VERSION -
The binary architecture version for which the function was compiled.
This value is the major binary version * 10 + the minor binary version, so a binary version 1.3 function would return the value 13. Note
that this will return a value of 10 for legacy cubins that do not have a properly-encoded binary architecture version.
FUNC_ATTRIBUTE_CACHE_MODE_CA - The attribute to indicate whether the function has been compiled with user specified option "-Xptxas --dlcm=ca" set.FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES -
The maximum size in bytes of dynamically-allocated shared memory that can be used by this function.
If the user-specified dynamic shared memory size is larger than this value, the launch will fail.
FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT -
On devices where the L1 cache and shared memory use the same hardware resources, this sets the shared memory carveout preference, in percent of the total shared memory. Refer to DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR.
This is only a hint, and the driver can choose a different ratio if required to execute the function.
public static final int CU_FUNC_ATTRIBUTE_CONST_SIZE_BYTES
CUfunction_attribute)
FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK -
The maximum number of threads per block, beyond which a launch of the function would fail. This number depends on both the function and the device
on which the function is currently loaded.
FUNC_ATTRIBUTE_SHARED_SIZE_BYTES -
The size in bytes of statically-allocated shared memory required by this function. This does not include dynamically-allocated shared memory
requested by the user at runtime.
FUNC_ATTRIBUTE_CONST_SIZE_BYTES - The size in bytes of user-allocated constant memory required by this function.FUNC_ATTRIBUTE_LOCAL_SIZE_BYTES - The size in bytes of local memory used by each thread of this function.FUNC_ATTRIBUTE_NUM_REGS - The number of registers used by each thread of this function.FUNC_ATTRIBUTE_PTX_VERSION -
The PTX virtual architecture version for which the function was compiled.
This value is the major PTX version * 10 + the minor PTX version, so a PTX version 1.3 function would return the value 13. Note that this
may return the undefined value of 0 for cubins compiled prior to CUDA 3.0.
FUNC_ATTRIBUTE_BINARY_VERSION -
The binary architecture version for which the function was compiled.
This value is the major binary version * 10 + the minor binary version, so a binary version 1.3 function would return the value 13. Note
that this will return a value of 10 for legacy cubins that do not have a properly-encoded binary architecture version.
FUNC_ATTRIBUTE_CACHE_MODE_CA - The attribute to indicate whether the function has been compiled with user specified option "-Xptxas --dlcm=ca" set.FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES -
The maximum size in bytes of dynamically-allocated shared memory that can be used by this function.
If the user-specified dynamic shared memory size is larger than this value, the launch will fail.
FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT -
On devices where the L1 cache and shared memory use the same hardware resources, this sets the shared memory carveout preference, in percent of the total shared memory. Refer to DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR.
This is only a hint, and the driver can choose a different ratio if required to execute the function.
public static final int CU_FUNC_ATTRIBUTE_LOCAL_SIZE_BYTES
CUfunction_attribute)
FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK -
The maximum number of threads per block, beyond which a launch of the function would fail. This number depends on both the function and the device
on which the function is currently loaded.
FUNC_ATTRIBUTE_SHARED_SIZE_BYTES -
The size in bytes of statically-allocated shared memory required by this function. This does not include dynamically-allocated shared memory
requested by the user at runtime.
FUNC_ATTRIBUTE_CONST_SIZE_BYTES - The size in bytes of user-allocated constant memory required by this function.FUNC_ATTRIBUTE_LOCAL_SIZE_BYTES - The size in bytes of local memory used by each thread of this function.FUNC_ATTRIBUTE_NUM_REGS - The number of registers used by each thread of this function.FUNC_ATTRIBUTE_PTX_VERSION -
The PTX virtual architecture version for which the function was compiled.
This value is the major PTX version * 10 + the minor PTX version, so a PTX version 1.3 function would return the value 13. Note that this
may return the undefined value of 0 for cubins compiled prior to CUDA 3.0.
FUNC_ATTRIBUTE_BINARY_VERSION -
The binary architecture version for which the function was compiled.
This value is the major binary version * 10 + the minor binary version, so a binary version 1.3 function would return the value 13. Note
that this will return a value of 10 for legacy cubins that do not have a properly-encoded binary architecture version.
FUNC_ATTRIBUTE_CACHE_MODE_CA - The attribute to indicate whether the function has been compiled with user specified option "-Xptxas --dlcm=ca" set.FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES -
The maximum size in bytes of dynamically-allocated shared memory that can be used by this function.
If the user-specified dynamic shared memory size is larger than this value, the launch will fail.
FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT -
On devices where the L1 cache and shared memory use the same hardware resources, this sets the shared memory carveout preference, in percent of the total shared memory. Refer to DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR.
This is only a hint, and the driver can choose a different ratio if required to execute the function.
public static final int CU_FUNC_ATTRIBUTE_NUM_REGS
CUfunction_attribute)
FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK -
The maximum number of threads per block, beyond which a launch of the function would fail. This number depends on both the function and the device
on which the function is currently loaded.
FUNC_ATTRIBUTE_SHARED_SIZE_BYTES -
The size in bytes of statically-allocated shared memory required by this function. This does not include dynamically-allocated shared memory
requested by the user at runtime.
FUNC_ATTRIBUTE_CONST_SIZE_BYTES - The size in bytes of user-allocated constant memory required by this function.FUNC_ATTRIBUTE_LOCAL_SIZE_BYTES - The size in bytes of local memory used by each thread of this function.FUNC_ATTRIBUTE_NUM_REGS - The number of registers used by each thread of this function.FUNC_ATTRIBUTE_PTX_VERSION -
The PTX virtual architecture version for which the function was compiled.
This value is the major PTX version * 10 + the minor PTX version, so a PTX version 1.3 function would return the value 13. Note that this
may return the undefined value of 0 for cubins compiled prior to CUDA 3.0.
FUNC_ATTRIBUTE_BINARY_VERSION -
The binary architecture version for which the function was compiled.
This value is the major binary version * 10 + the minor binary version, so a binary version 1.3 function would return the value 13. Note
that this will return a value of 10 for legacy cubins that do not have a properly-encoded binary architecture version.
FUNC_ATTRIBUTE_CACHE_MODE_CA - The attribute to indicate whether the function has been compiled with user specified option "-Xptxas --dlcm=ca" set.FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES -
The maximum size in bytes of dynamically-allocated shared memory that can be used by this function.
If the user-specified dynamic shared memory size is larger than this value, the launch will fail.
FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT -
On devices where the L1 cache and shared memory use the same hardware resources, this sets the shared memory carveout preference, in percent of the total shared memory. Refer to DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR.
This is only a hint, and the driver can choose a different ratio if required to execute the function.
public static final int CU_FUNC_ATTRIBUTE_PTX_VERSION
CUfunction_attribute)
FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK -
The maximum number of threads per block, beyond which a launch of the function would fail. This number depends on both the function and the device
on which the function is currently loaded.
FUNC_ATTRIBUTE_SHARED_SIZE_BYTES -
The size in bytes of statically-allocated shared memory required by this function. This does not include dynamically-allocated shared memory
requested by the user at runtime.
FUNC_ATTRIBUTE_CONST_SIZE_BYTES - The size in bytes of user-allocated constant memory required by this function.FUNC_ATTRIBUTE_LOCAL_SIZE_BYTES - The size in bytes of local memory used by each thread of this function.FUNC_ATTRIBUTE_NUM_REGS - The number of registers used by each thread of this function.FUNC_ATTRIBUTE_PTX_VERSION -
The PTX virtual architecture version for which the function was compiled.
This value is the major PTX version * 10 + the minor PTX version, so a PTX version 1.3 function would return the value 13. Note that this
may return the undefined value of 0 for cubins compiled prior to CUDA 3.0.
FUNC_ATTRIBUTE_BINARY_VERSION -
The binary architecture version for which the function was compiled.
This value is the major binary version * 10 + the minor binary version, so a binary version 1.3 function would return the value 13. Note
that this will return a value of 10 for legacy cubins that do not have a properly-encoded binary architecture version.
FUNC_ATTRIBUTE_CACHE_MODE_CA - The attribute to indicate whether the function has been compiled with user specified option "-Xptxas --dlcm=ca" set.FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES -
The maximum size in bytes of dynamically-allocated shared memory that can be used by this function.
If the user-specified dynamic shared memory size is larger than this value, the launch will fail.
FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT -
On devices where the L1 cache and shared memory use the same hardware resources, this sets the shared memory carveout preference, in percent of the total shared memory. Refer to DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR.
This is only a hint, and the driver can choose a different ratio if required to execute the function.
public static final int CU_FUNC_ATTRIBUTE_BINARY_VERSION
CUfunction_attribute)
FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK -
The maximum number of threads per block, beyond which a launch of the function would fail. This number depends on both the function and the device
on which the function is currently loaded.
FUNC_ATTRIBUTE_SHARED_SIZE_BYTES -
The size in bytes of statically-allocated shared memory required by this function. This does not include dynamically-allocated shared memory
requested by the user at runtime.
FUNC_ATTRIBUTE_CONST_SIZE_BYTES - The size in bytes of user-allocated constant memory required by this function.FUNC_ATTRIBUTE_LOCAL_SIZE_BYTES - The size in bytes of local memory used by each thread of this function.FUNC_ATTRIBUTE_NUM_REGS - The number of registers used by each thread of this function.FUNC_ATTRIBUTE_PTX_VERSION -
The PTX virtual architecture version for which the function was compiled.
This value is the major PTX version * 10 + the minor PTX version, so a PTX version 1.3 function would return the value 13. Note that this
may return the undefined value of 0 for cubins compiled prior to CUDA 3.0.
FUNC_ATTRIBUTE_BINARY_VERSION -
The binary architecture version for which the function was compiled.
This value is the major binary version * 10 + the minor binary version, so a binary version 1.3 function would return the value 13. Note
that this will return a value of 10 for legacy cubins that do not have a properly-encoded binary architecture version.
FUNC_ATTRIBUTE_CACHE_MODE_CA - The attribute to indicate whether the function has been compiled with user specified option "-Xptxas --dlcm=ca" set.FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES -
The maximum size in bytes of dynamically-allocated shared memory that can be used by this function.
If the user-specified dynamic shared memory size is larger than this value, the launch will fail.
FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT -
On devices where the L1 cache and shared memory use the same hardware resources, this sets the shared memory carveout preference, in percent of the total shared memory. Refer to DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR.
This is only a hint, and the driver can choose a different ratio if required to execute the function.
public static final int CU_FUNC_ATTRIBUTE_CACHE_MODE_CA
CUfunction_attribute)
FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK -
The maximum number of threads per block, beyond which a launch of the function would fail. This number depends on both the function and the device
on which the function is currently loaded.
FUNC_ATTRIBUTE_SHARED_SIZE_BYTES -
The size in bytes of statically-allocated shared memory required by this function. This does not include dynamically-allocated shared memory
requested by the user at runtime.
FUNC_ATTRIBUTE_CONST_SIZE_BYTES - The size in bytes of user-allocated constant memory required by this function.FUNC_ATTRIBUTE_LOCAL_SIZE_BYTES - The size in bytes of local memory used by each thread of this function.FUNC_ATTRIBUTE_NUM_REGS - The number of registers used by each thread of this function.FUNC_ATTRIBUTE_PTX_VERSION -
The PTX virtual architecture version for which the function was compiled.
This value is the major PTX version * 10 + the minor PTX version, so a PTX version 1.3 function would return the value 13. Note that this
may return the undefined value of 0 for cubins compiled prior to CUDA 3.0.
FUNC_ATTRIBUTE_BINARY_VERSION -
The binary architecture version for which the function was compiled.
This value is the major binary version * 10 + the minor binary version, so a binary version 1.3 function would return the value 13. Note
that this will return a value of 10 for legacy cubins that do not have a properly-encoded binary architecture version.
FUNC_ATTRIBUTE_CACHE_MODE_CA - The attribute to indicate whether the function has been compiled with user specified option "-Xptxas --dlcm=ca" set.FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES -
The maximum size in bytes of dynamically-allocated shared memory that can be used by this function.
If the user-specified dynamic shared memory size is larger than this value, the launch will fail.
FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT -
On devices where the L1 cache and shared memory use the same hardware resources, this sets the shared memory carveout preference, in percent of the total shared memory. Refer to DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR.
This is only a hint, and the driver can choose a different ratio if required to execute the function.
public static final int CU_FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES
CUfunction_attribute)
FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK -
The maximum number of threads per block, beyond which a launch of the function would fail. This number depends on both the function and the device
on which the function is currently loaded.
FUNC_ATTRIBUTE_SHARED_SIZE_BYTES -
The size in bytes of statically-allocated shared memory required by this function. This does not include dynamically-allocated shared memory
requested by the user at runtime.
FUNC_ATTRIBUTE_CONST_SIZE_BYTES - The size in bytes of user-allocated constant memory required by this function.FUNC_ATTRIBUTE_LOCAL_SIZE_BYTES - The size in bytes of local memory used by each thread of this function.FUNC_ATTRIBUTE_NUM_REGS - The number of registers used by each thread of this function.FUNC_ATTRIBUTE_PTX_VERSION -
The PTX virtual architecture version for which the function was compiled.
This value is the major PTX version * 10 + the minor PTX version, so a PTX version 1.3 function would return the value 13. Note that this
may return the undefined value of 0 for cubins compiled prior to CUDA 3.0.
FUNC_ATTRIBUTE_BINARY_VERSION -
The binary architecture version for which the function was compiled.
This value is the major binary version * 10 + the minor binary version, so a binary version 1.3 function would return the value 13. Note
that this will return a value of 10 for legacy cubins that do not have a properly-encoded binary architecture version.
FUNC_ATTRIBUTE_CACHE_MODE_CA - The attribute to indicate whether the function has been compiled with user specified option "-Xptxas --dlcm=ca" set.FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES -
The maximum size in bytes of dynamically-allocated shared memory that can be used by this function.
If the user-specified dynamic shared memory size is larger than this value, the launch will fail.
FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT -
On devices where the L1 cache and shared memory use the same hardware resources, this sets the shared memory carveout preference, in percent of the total shared memory. Refer to DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR.
This is only a hint, and the driver can choose a different ratio if required to execute the function.
public static final int CU_FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT
CUfunction_attribute)
FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK -
The maximum number of threads per block, beyond which a launch of the function would fail. This number depends on both the function and the device
on which the function is currently loaded.
FUNC_ATTRIBUTE_SHARED_SIZE_BYTES -
The size in bytes of statically-allocated shared memory required by this function. This does not include dynamically-allocated shared memory
requested by the user at runtime.
FUNC_ATTRIBUTE_CONST_SIZE_BYTES - The size in bytes of user-allocated constant memory required by this function.FUNC_ATTRIBUTE_LOCAL_SIZE_BYTES - The size in bytes of local memory used by each thread of this function.FUNC_ATTRIBUTE_NUM_REGS - The number of registers used by each thread of this function.FUNC_ATTRIBUTE_PTX_VERSION -
The PTX virtual architecture version for which the function was compiled.
This value is the major PTX version * 10 + the minor PTX version, so a PTX version 1.3 function would return the value 13. Note that this
may return the undefined value of 0 for cubins compiled prior to CUDA 3.0.
FUNC_ATTRIBUTE_BINARY_VERSION -
The binary architecture version for which the function was compiled.
This value is the major binary version * 10 + the minor binary version, so a binary version 1.3 function would return the value 13. Note
that this will return a value of 10 for legacy cubins that do not have a properly-encoded binary architecture version.
FUNC_ATTRIBUTE_CACHE_MODE_CA - The attribute to indicate whether the function has been compiled with user specified option "-Xptxas --dlcm=ca" set.FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES -
The maximum size in bytes of dynamically-allocated shared memory that can be used by this function.
If the user-specified dynamic shared memory size is larger than this value, the launch will fail.
FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT -
On devices where the L1 cache and shared memory use the same hardware resources, this sets the shared memory carveout preference, in percent of the total shared memory. Refer to DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR.
This is only a hint, and the driver can choose a different ratio if required to execute the function.
public static final int CU_FUNC_CACHE_PREFER_NONE
CUfunc_cache)
FUNC_CACHE_PREFER_NONE - no preference for shared memory or L1 (default)FUNC_CACHE_PREFER_SHARED - prefer larger shared memory and smaller L1 cacheFUNC_CACHE_PREFER_L1 - prefer larger L1 cache and smaller shared memoryFUNC_CACHE_PREFER_EQUAL - prefer equal sized L1 cache and shared memorypublic static final int CU_FUNC_CACHE_PREFER_SHARED
CUfunc_cache)
FUNC_CACHE_PREFER_NONE - no preference for shared memory or L1 (default)FUNC_CACHE_PREFER_SHARED - prefer larger shared memory and smaller L1 cacheFUNC_CACHE_PREFER_L1 - prefer larger L1 cache and smaller shared memoryFUNC_CACHE_PREFER_EQUAL - prefer equal sized L1 cache and shared memorypublic static final int CU_FUNC_CACHE_PREFER_L1
CUfunc_cache)
FUNC_CACHE_PREFER_NONE - no preference for shared memory or L1 (default)FUNC_CACHE_PREFER_SHARED - prefer larger shared memory and smaller L1 cacheFUNC_CACHE_PREFER_L1 - prefer larger L1 cache and smaller shared memoryFUNC_CACHE_PREFER_EQUAL - prefer equal sized L1 cache and shared memorypublic static final int CU_FUNC_CACHE_PREFER_EQUAL
CUfunc_cache)
FUNC_CACHE_PREFER_NONE - no preference for shared memory or L1 (default)FUNC_CACHE_PREFER_SHARED - prefer larger shared memory and smaller L1 cacheFUNC_CACHE_PREFER_L1 - prefer larger L1 cache and smaller shared memoryFUNC_CACHE_PREFER_EQUAL - prefer equal sized L1 cache and shared memorypublic static final int CU_MEMORYTYPE_HOST
CUmemorytype)
MEMORYTYPE_HOST - Host memoryMEMORYTYPE_DEVICE - Device memoryMEMORYTYPE_ARRAY - Array memoryMEMORYTYPE_UNIFIED - Unified device or host memorypublic static final int CU_MEMORYTYPE_DEVICE
CUmemorytype)
MEMORYTYPE_HOST - Host memoryMEMORYTYPE_DEVICE - Device memoryMEMORYTYPE_ARRAY - Array memoryMEMORYTYPE_UNIFIED - Unified device or host memorypublic static final int CU_MEMORYTYPE_ARRAY
CUmemorytype)
MEMORYTYPE_HOST - Host memoryMEMORYTYPE_DEVICE - Device memoryMEMORYTYPE_ARRAY - Array memoryMEMORYTYPE_UNIFIED - Unified device or host memorypublic static final int CU_MEMORYTYPE_UNIFIED
CUmemorytype)
MEMORYTYPE_HOST - Host memoryMEMORYTYPE_DEVICE - Device memoryMEMORYTYPE_ARRAY - Array memoryMEMORYTYPE_UNIFIED - Unified device or host memorypublic static final int CU_COMPUTEMODE_DEFAULT
CUcomputemode)
COMPUTEMODE_DEFAULT - Default compute mode (Multiple contexts allowed per device)COMPUTEMODE_PROHIBITED - Compute-prohibited mode (No contexts can be created on this device at this time)COMPUTEMODE_EXCLUSIVE_PROCESS - Compute-exclusive-process mode (Only one context used by a single process can be present on this device at a time)public static final int CU_COMPUTEMODE_PROHIBITED
CUcomputemode)
COMPUTEMODE_DEFAULT - Default compute mode (Multiple contexts allowed per device)COMPUTEMODE_PROHIBITED - Compute-prohibited mode (No contexts can be created on this device at this time)COMPUTEMODE_EXCLUSIVE_PROCESS - Compute-exclusive-process mode (Only one context used by a single process can be present on this device at a time)public static final int CU_COMPUTEMODE_EXCLUSIVE_PROCESS
CUcomputemode)
COMPUTEMODE_DEFAULT - Default compute mode (Multiple contexts allowed per device)COMPUTEMODE_PROHIBITED - Compute-prohibited mode (No contexts can be created on this device at this time)COMPUTEMODE_EXCLUSIVE_PROCESS - Compute-exclusive-process mode (Only one context used by a single process can be present on this device at a time)public static final int CU_JIT_MAX_REGISTERS
CUjit_option)
JIT_MAX_REGISTERS -
Max number of registers that a thread may use.
Option type: unsigned int. Applies to: compiler only
JIT_THREADS_PER_BLOCK -
IN: Specifies minimum number of threads per block to target compilation for
OUT: Returns the number of threads the compiler actually targeted.
This restricts the resource utilization fo the compiler (e.g. max registers) such that a block with the given number of threads should be able to launch based on register limitations. Note, this option does not currently take into account any other resource limitations, such as shared memory utilization.
Cannot be combined with JIT_TARGET. Option type: unsigned int. Applies to: compiler only
JIT_WALL_TIME -
Overwrites the option value with the total wall clock time, in milliseconds, spent in the compiler and linker.
Option type: float. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that are informational in nature (the buffer size is specified via option
JIT_INFO_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that reflect errors (the buffer size is specified via option
JIT_ERROR_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_OPTIMIZATION_LEVEL -
Level of optimizations to apply to generated code (0 - 4), with 4 being the default and highest level of optimizations.
Option type: unsigned int. Applies to: compiler only
JIT_TARGET_FROM_CUCONTEXT -
No option value required. Determines the target based on the current attached context (default).
Option type: No option value needed. Applies to: compiler and linker
JIT_TARGET -
Target is chosen based on supplied CUjit_target. Cannot be combined with JIT_THREADS_PER_BLOCK.
Option type: unsigned int for enumerated type CUjit_target. Applies to: compiler and linker
JIT_FALLBACK_STRATEGY -
Specifies choice of fallback strategy if matching cubin is not found.
Choice is based on supplied CUjit_fallback. This option cannot be used with cuLink* APIs as the linker requires exact matches.
Option type: unsigned int for enumerated type CUjit_fallback. Applies to: compiler only
JIT_GENERATE_DEBUG_INFO -
Specifies whether to create debug information in output (-g) (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_LOG_VERBOSE -
Generate verbose log messages (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_GENERATE_LINE_INFO -
Generate line number information (-lineinfo) (0: false, default).
Option type: int. Applies to: compiler only
JIT_CACHE_MODE -
Specifies whether to enable caching explicitly (-dlcm). Choice is based on supplied CUjit_cacheMode_enum.
Option type: unsigned int for enumerated type CUjit_cacheMode_enum. Applies to: compiler only
JIT_NEW_SM3X_OPT - Used for internal purposes only, in this version of CUDA.JIT_FAST_COMPILE - Used for internal purposes only, in this version of CUDA.JIT_GLOBAL_SYMBOL_NAMES -
Array of device symbol names that will be relocated to the corresponing host addresses stored in JIT_GLOBAL_SYMBOL_ADDRESSES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries. When loding a device module, driver will relocate all encountered unresolved symbols to the host
addresses. It is only allowed to register symbols that correspond to unresolved global variables. It is illegal to register the same device symbol
at multiple addresses.
Option type: const char **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_ADDRESSES -
Array of host addresses that will be used to relocate corresponding device symbols stored in JIT_GLOBAL_SYMBOL_NAMES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries.
Option type: void **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_COUNT -
Number of entries in JIT_GLOBAL_SYMBOL_NAMES and JIT_GLOBAL_SYMBOL_ADDRESSES arrays.
Option type: unsigned int. Applies to: dynamic linker only
public static final int CU_JIT_THREADS_PER_BLOCK
CUjit_option)
JIT_MAX_REGISTERS -
Max number of registers that a thread may use.
Option type: unsigned int. Applies to: compiler only
JIT_THREADS_PER_BLOCK -
IN: Specifies minimum number of threads per block to target compilation for
OUT: Returns the number of threads the compiler actually targeted.
This restricts the resource utilization fo the compiler (e.g. max registers) such that a block with the given number of threads should be able to launch based on register limitations. Note, this option does not currently take into account any other resource limitations, such as shared memory utilization.
Cannot be combined with JIT_TARGET. Option type: unsigned int. Applies to: compiler only
JIT_WALL_TIME -
Overwrites the option value with the total wall clock time, in milliseconds, spent in the compiler and linker.
Option type: float. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that are informational in nature (the buffer size is specified via option
JIT_INFO_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that reflect errors (the buffer size is specified via option
JIT_ERROR_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_OPTIMIZATION_LEVEL -
Level of optimizations to apply to generated code (0 - 4), with 4 being the default and highest level of optimizations.
Option type: unsigned int. Applies to: compiler only
JIT_TARGET_FROM_CUCONTEXT -
No option value required. Determines the target based on the current attached context (default).
Option type: No option value needed. Applies to: compiler and linker
JIT_TARGET -
Target is chosen based on supplied CUjit_target. Cannot be combined with JIT_THREADS_PER_BLOCK.
Option type: unsigned int for enumerated type CUjit_target. Applies to: compiler and linker
JIT_FALLBACK_STRATEGY -
Specifies choice of fallback strategy if matching cubin is not found.
Choice is based on supplied CUjit_fallback. This option cannot be used with cuLink* APIs as the linker requires exact matches.
Option type: unsigned int for enumerated type CUjit_fallback. Applies to: compiler only
JIT_GENERATE_DEBUG_INFO -
Specifies whether to create debug information in output (-g) (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_LOG_VERBOSE -
Generate verbose log messages (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_GENERATE_LINE_INFO -
Generate line number information (-lineinfo) (0: false, default).
Option type: int. Applies to: compiler only
JIT_CACHE_MODE -
Specifies whether to enable caching explicitly (-dlcm). Choice is based on supplied CUjit_cacheMode_enum.
Option type: unsigned int for enumerated type CUjit_cacheMode_enum. Applies to: compiler only
JIT_NEW_SM3X_OPT - Used for internal purposes only, in this version of CUDA.JIT_FAST_COMPILE - Used for internal purposes only, in this version of CUDA.JIT_GLOBAL_SYMBOL_NAMES -
Array of device symbol names that will be relocated to the corresponing host addresses stored in JIT_GLOBAL_SYMBOL_ADDRESSES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries. When loding a device module, driver will relocate all encountered unresolved symbols to the host
addresses. It is only allowed to register symbols that correspond to unresolved global variables. It is illegal to register the same device symbol
at multiple addresses.
Option type: const char **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_ADDRESSES -
Array of host addresses that will be used to relocate corresponding device symbols stored in JIT_GLOBAL_SYMBOL_NAMES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries.
Option type: void **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_COUNT -
Number of entries in JIT_GLOBAL_SYMBOL_NAMES and JIT_GLOBAL_SYMBOL_ADDRESSES arrays.
Option type: unsigned int. Applies to: dynamic linker only
public static final int CU_JIT_WALL_TIME
CUjit_option)
JIT_MAX_REGISTERS -
Max number of registers that a thread may use.
Option type: unsigned int. Applies to: compiler only
JIT_THREADS_PER_BLOCK -
IN: Specifies minimum number of threads per block to target compilation for
OUT: Returns the number of threads the compiler actually targeted.
This restricts the resource utilization fo the compiler (e.g. max registers) such that a block with the given number of threads should be able to launch based on register limitations. Note, this option does not currently take into account any other resource limitations, such as shared memory utilization.
Cannot be combined with JIT_TARGET. Option type: unsigned int. Applies to: compiler only
JIT_WALL_TIME -
Overwrites the option value with the total wall clock time, in milliseconds, spent in the compiler and linker.
Option type: float. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that are informational in nature (the buffer size is specified via option
JIT_INFO_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that reflect errors (the buffer size is specified via option
JIT_ERROR_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_OPTIMIZATION_LEVEL -
Level of optimizations to apply to generated code (0 - 4), with 4 being the default and highest level of optimizations.
Option type: unsigned int. Applies to: compiler only
JIT_TARGET_FROM_CUCONTEXT -
No option value required. Determines the target based on the current attached context (default).
Option type: No option value needed. Applies to: compiler and linker
JIT_TARGET -
Target is chosen based on supplied CUjit_target. Cannot be combined with JIT_THREADS_PER_BLOCK.
Option type: unsigned int for enumerated type CUjit_target. Applies to: compiler and linker
JIT_FALLBACK_STRATEGY -
Specifies choice of fallback strategy if matching cubin is not found.
Choice is based on supplied CUjit_fallback. This option cannot be used with cuLink* APIs as the linker requires exact matches.
Option type: unsigned int for enumerated type CUjit_fallback. Applies to: compiler only
JIT_GENERATE_DEBUG_INFO -
Specifies whether to create debug information in output (-g) (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_LOG_VERBOSE -
Generate verbose log messages (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_GENERATE_LINE_INFO -
Generate line number information (-lineinfo) (0: false, default).
Option type: int. Applies to: compiler only
JIT_CACHE_MODE -
Specifies whether to enable caching explicitly (-dlcm). Choice is based on supplied CUjit_cacheMode_enum.
Option type: unsigned int for enumerated type CUjit_cacheMode_enum. Applies to: compiler only
JIT_NEW_SM3X_OPT - Used for internal purposes only, in this version of CUDA.JIT_FAST_COMPILE - Used for internal purposes only, in this version of CUDA.JIT_GLOBAL_SYMBOL_NAMES -
Array of device symbol names that will be relocated to the corresponing host addresses stored in JIT_GLOBAL_SYMBOL_ADDRESSES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries. When loding a device module, driver will relocate all encountered unresolved symbols to the host
addresses. It is only allowed to register symbols that correspond to unresolved global variables. It is illegal to register the same device symbol
at multiple addresses.
Option type: const char **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_ADDRESSES -
Array of host addresses that will be used to relocate corresponding device symbols stored in JIT_GLOBAL_SYMBOL_NAMES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries.
Option type: void **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_COUNT -
Number of entries in JIT_GLOBAL_SYMBOL_NAMES and JIT_GLOBAL_SYMBOL_ADDRESSES arrays.
Option type: unsigned int. Applies to: dynamic linker only
public static final int CU_JIT_INFO_LOG_BUFFER
CUjit_option)
JIT_MAX_REGISTERS -
Max number of registers that a thread may use.
Option type: unsigned int. Applies to: compiler only
JIT_THREADS_PER_BLOCK -
IN: Specifies minimum number of threads per block to target compilation for
OUT: Returns the number of threads the compiler actually targeted.
This restricts the resource utilization fo the compiler (e.g. max registers) such that a block with the given number of threads should be able to launch based on register limitations. Note, this option does not currently take into account any other resource limitations, such as shared memory utilization.
Cannot be combined with JIT_TARGET. Option type: unsigned int. Applies to: compiler only
JIT_WALL_TIME -
Overwrites the option value with the total wall clock time, in milliseconds, spent in the compiler and linker.
Option type: float. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that are informational in nature (the buffer size is specified via option
JIT_INFO_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that reflect errors (the buffer size is specified via option
JIT_ERROR_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_OPTIMIZATION_LEVEL -
Level of optimizations to apply to generated code (0 - 4), with 4 being the default and highest level of optimizations.
Option type: unsigned int. Applies to: compiler only
JIT_TARGET_FROM_CUCONTEXT -
No option value required. Determines the target based on the current attached context (default).
Option type: No option value needed. Applies to: compiler and linker
JIT_TARGET -
Target is chosen based on supplied CUjit_target. Cannot be combined with JIT_THREADS_PER_BLOCK.
Option type: unsigned int for enumerated type CUjit_target. Applies to: compiler and linker
JIT_FALLBACK_STRATEGY -
Specifies choice of fallback strategy if matching cubin is not found.
Choice is based on supplied CUjit_fallback. This option cannot be used with cuLink* APIs as the linker requires exact matches.
Option type: unsigned int for enumerated type CUjit_fallback. Applies to: compiler only
JIT_GENERATE_DEBUG_INFO -
Specifies whether to create debug information in output (-g) (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_LOG_VERBOSE -
Generate verbose log messages (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_GENERATE_LINE_INFO -
Generate line number information (-lineinfo) (0: false, default).
Option type: int. Applies to: compiler only
JIT_CACHE_MODE -
Specifies whether to enable caching explicitly (-dlcm). Choice is based on supplied CUjit_cacheMode_enum.
Option type: unsigned int for enumerated type CUjit_cacheMode_enum. Applies to: compiler only
JIT_NEW_SM3X_OPT - Used for internal purposes only, in this version of CUDA.JIT_FAST_COMPILE - Used for internal purposes only, in this version of CUDA.JIT_GLOBAL_SYMBOL_NAMES -
Array of device symbol names that will be relocated to the corresponing host addresses stored in JIT_GLOBAL_SYMBOL_ADDRESSES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries. When loding a device module, driver will relocate all encountered unresolved symbols to the host
addresses. It is only allowed to register symbols that correspond to unresolved global variables. It is illegal to register the same device symbol
at multiple addresses.
Option type: const char **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_ADDRESSES -
Array of host addresses that will be used to relocate corresponding device symbols stored in JIT_GLOBAL_SYMBOL_NAMES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries.
Option type: void **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_COUNT -
Number of entries in JIT_GLOBAL_SYMBOL_NAMES and JIT_GLOBAL_SYMBOL_ADDRESSES arrays.
Option type: unsigned int. Applies to: dynamic linker only
public static final int CU_JIT_INFO_LOG_BUFFER_SIZE_BYTES
CUjit_option)
JIT_MAX_REGISTERS -
Max number of registers that a thread may use.
Option type: unsigned int. Applies to: compiler only
JIT_THREADS_PER_BLOCK -
IN: Specifies minimum number of threads per block to target compilation for
OUT: Returns the number of threads the compiler actually targeted.
This restricts the resource utilization fo the compiler (e.g. max registers) such that a block with the given number of threads should be able to launch based on register limitations. Note, this option does not currently take into account any other resource limitations, such as shared memory utilization.
Cannot be combined with JIT_TARGET. Option type: unsigned int. Applies to: compiler only
JIT_WALL_TIME -
Overwrites the option value with the total wall clock time, in milliseconds, spent in the compiler and linker.
Option type: float. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that are informational in nature (the buffer size is specified via option
JIT_INFO_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that reflect errors (the buffer size is specified via option
JIT_ERROR_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_OPTIMIZATION_LEVEL -
Level of optimizations to apply to generated code (0 - 4), with 4 being the default and highest level of optimizations.
Option type: unsigned int. Applies to: compiler only
JIT_TARGET_FROM_CUCONTEXT -
No option value required. Determines the target based on the current attached context (default).
Option type: No option value needed. Applies to: compiler and linker
JIT_TARGET -
Target is chosen based on supplied CUjit_target. Cannot be combined with JIT_THREADS_PER_BLOCK.
Option type: unsigned int for enumerated type CUjit_target. Applies to: compiler and linker
JIT_FALLBACK_STRATEGY -
Specifies choice of fallback strategy if matching cubin is not found.
Choice is based on supplied CUjit_fallback. This option cannot be used with cuLink* APIs as the linker requires exact matches.
Option type: unsigned int for enumerated type CUjit_fallback. Applies to: compiler only
JIT_GENERATE_DEBUG_INFO -
Specifies whether to create debug information in output (-g) (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_LOG_VERBOSE -
Generate verbose log messages (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_GENERATE_LINE_INFO -
Generate line number information (-lineinfo) (0: false, default).
Option type: int. Applies to: compiler only
JIT_CACHE_MODE -
Specifies whether to enable caching explicitly (-dlcm). Choice is based on supplied CUjit_cacheMode_enum.
Option type: unsigned int for enumerated type CUjit_cacheMode_enum. Applies to: compiler only
JIT_NEW_SM3X_OPT - Used for internal purposes only, in this version of CUDA.JIT_FAST_COMPILE - Used for internal purposes only, in this version of CUDA.JIT_GLOBAL_SYMBOL_NAMES -
Array of device symbol names that will be relocated to the corresponing host addresses stored in JIT_GLOBAL_SYMBOL_ADDRESSES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries. When loding a device module, driver will relocate all encountered unresolved symbols to the host
addresses. It is only allowed to register symbols that correspond to unresolved global variables. It is illegal to register the same device symbol
at multiple addresses.
Option type: const char **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_ADDRESSES -
Array of host addresses that will be used to relocate corresponding device symbols stored in JIT_GLOBAL_SYMBOL_NAMES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries.
Option type: void **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_COUNT -
Number of entries in JIT_GLOBAL_SYMBOL_NAMES and JIT_GLOBAL_SYMBOL_ADDRESSES arrays.
Option type: unsigned int. Applies to: dynamic linker only
public static final int CU_JIT_ERROR_LOG_BUFFER
CUjit_option)
JIT_MAX_REGISTERS -
Max number of registers that a thread may use.
Option type: unsigned int. Applies to: compiler only
JIT_THREADS_PER_BLOCK -
IN: Specifies minimum number of threads per block to target compilation for
OUT: Returns the number of threads the compiler actually targeted.
This restricts the resource utilization fo the compiler (e.g. max registers) such that a block with the given number of threads should be able to launch based on register limitations. Note, this option does not currently take into account any other resource limitations, such as shared memory utilization.
Cannot be combined with JIT_TARGET. Option type: unsigned int. Applies to: compiler only
JIT_WALL_TIME -
Overwrites the option value with the total wall clock time, in milliseconds, spent in the compiler and linker.
Option type: float. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that are informational in nature (the buffer size is specified via option
JIT_INFO_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that reflect errors (the buffer size is specified via option
JIT_ERROR_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_OPTIMIZATION_LEVEL -
Level of optimizations to apply to generated code (0 - 4), with 4 being the default and highest level of optimizations.
Option type: unsigned int. Applies to: compiler only
JIT_TARGET_FROM_CUCONTEXT -
No option value required. Determines the target based on the current attached context (default).
Option type: No option value needed. Applies to: compiler and linker
JIT_TARGET -
Target is chosen based on supplied CUjit_target. Cannot be combined with JIT_THREADS_PER_BLOCK.
Option type: unsigned int for enumerated type CUjit_target. Applies to: compiler and linker
JIT_FALLBACK_STRATEGY -
Specifies choice of fallback strategy if matching cubin is not found.
Choice is based on supplied CUjit_fallback. This option cannot be used with cuLink* APIs as the linker requires exact matches.
Option type: unsigned int for enumerated type CUjit_fallback. Applies to: compiler only
JIT_GENERATE_DEBUG_INFO -
Specifies whether to create debug information in output (-g) (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_LOG_VERBOSE -
Generate verbose log messages (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_GENERATE_LINE_INFO -
Generate line number information (-lineinfo) (0: false, default).
Option type: int. Applies to: compiler only
JIT_CACHE_MODE -
Specifies whether to enable caching explicitly (-dlcm). Choice is based on supplied CUjit_cacheMode_enum.
Option type: unsigned int for enumerated type CUjit_cacheMode_enum. Applies to: compiler only
JIT_NEW_SM3X_OPT - Used for internal purposes only, in this version of CUDA.JIT_FAST_COMPILE - Used for internal purposes only, in this version of CUDA.JIT_GLOBAL_SYMBOL_NAMES -
Array of device symbol names that will be relocated to the corresponing host addresses stored in JIT_GLOBAL_SYMBOL_ADDRESSES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries. When loding a device module, driver will relocate all encountered unresolved symbols to the host
addresses. It is only allowed to register symbols that correspond to unresolved global variables. It is illegal to register the same device symbol
at multiple addresses.
Option type: const char **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_ADDRESSES -
Array of host addresses that will be used to relocate corresponding device symbols stored in JIT_GLOBAL_SYMBOL_NAMES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries.
Option type: void **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_COUNT -
Number of entries in JIT_GLOBAL_SYMBOL_NAMES and JIT_GLOBAL_SYMBOL_ADDRESSES arrays.
Option type: unsigned int. Applies to: dynamic linker only
public static final int CU_JIT_ERROR_LOG_BUFFER_SIZE_BYTES
CUjit_option)
JIT_MAX_REGISTERS -
Max number of registers that a thread may use.
Option type: unsigned int. Applies to: compiler only
JIT_THREADS_PER_BLOCK -
IN: Specifies minimum number of threads per block to target compilation for
OUT: Returns the number of threads the compiler actually targeted.
This restricts the resource utilization fo the compiler (e.g. max registers) such that a block with the given number of threads should be able to launch based on register limitations. Note, this option does not currently take into account any other resource limitations, such as shared memory utilization.
Cannot be combined with JIT_TARGET. Option type: unsigned int. Applies to: compiler only
JIT_WALL_TIME -
Overwrites the option value with the total wall clock time, in milliseconds, spent in the compiler and linker.
Option type: float. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that are informational in nature (the buffer size is specified via option
JIT_INFO_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that reflect errors (the buffer size is specified via option
JIT_ERROR_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_OPTIMIZATION_LEVEL -
Level of optimizations to apply to generated code (0 - 4), with 4 being the default and highest level of optimizations.
Option type: unsigned int. Applies to: compiler only
JIT_TARGET_FROM_CUCONTEXT -
No option value required. Determines the target based on the current attached context (default).
Option type: No option value needed. Applies to: compiler and linker
JIT_TARGET -
Target is chosen based on supplied CUjit_target. Cannot be combined with JIT_THREADS_PER_BLOCK.
Option type: unsigned int for enumerated type CUjit_target. Applies to: compiler and linker
JIT_FALLBACK_STRATEGY -
Specifies choice of fallback strategy if matching cubin is not found.
Choice is based on supplied CUjit_fallback. This option cannot be used with cuLink* APIs as the linker requires exact matches.
Option type: unsigned int for enumerated type CUjit_fallback. Applies to: compiler only
JIT_GENERATE_DEBUG_INFO -
Specifies whether to create debug information in output (-g) (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_LOG_VERBOSE -
Generate verbose log messages (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_GENERATE_LINE_INFO -
Generate line number information (-lineinfo) (0: false, default).
Option type: int. Applies to: compiler only
JIT_CACHE_MODE -
Specifies whether to enable caching explicitly (-dlcm). Choice is based on supplied CUjit_cacheMode_enum.
Option type: unsigned int for enumerated type CUjit_cacheMode_enum. Applies to: compiler only
JIT_NEW_SM3X_OPT - Used for internal purposes only, in this version of CUDA.JIT_FAST_COMPILE - Used for internal purposes only, in this version of CUDA.JIT_GLOBAL_SYMBOL_NAMES -
Array of device symbol names that will be relocated to the corresponing host addresses stored in JIT_GLOBAL_SYMBOL_ADDRESSES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries. When loding a device module, driver will relocate all encountered unresolved symbols to the host
addresses. It is only allowed to register symbols that correspond to unresolved global variables. It is illegal to register the same device symbol
at multiple addresses.
Option type: const char **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_ADDRESSES -
Array of host addresses that will be used to relocate corresponding device symbols stored in JIT_GLOBAL_SYMBOL_NAMES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries.
Option type: void **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_COUNT -
Number of entries in JIT_GLOBAL_SYMBOL_NAMES and JIT_GLOBAL_SYMBOL_ADDRESSES arrays.
Option type: unsigned int. Applies to: dynamic linker only
public static final int CU_JIT_OPTIMIZATION_LEVEL
CUjit_option)
JIT_MAX_REGISTERS -
Max number of registers that a thread may use.
Option type: unsigned int. Applies to: compiler only
JIT_THREADS_PER_BLOCK -
IN: Specifies minimum number of threads per block to target compilation for
OUT: Returns the number of threads the compiler actually targeted.
This restricts the resource utilization fo the compiler (e.g. max registers) such that a block with the given number of threads should be able to launch based on register limitations. Note, this option does not currently take into account any other resource limitations, such as shared memory utilization.
Cannot be combined with JIT_TARGET. Option type: unsigned int. Applies to: compiler only
JIT_WALL_TIME -
Overwrites the option value with the total wall clock time, in milliseconds, spent in the compiler and linker.
Option type: float. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that are informational in nature (the buffer size is specified via option
JIT_INFO_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that reflect errors (the buffer size is specified via option
JIT_ERROR_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_OPTIMIZATION_LEVEL -
Level of optimizations to apply to generated code (0 - 4), with 4 being the default and highest level of optimizations.
Option type: unsigned int. Applies to: compiler only
JIT_TARGET_FROM_CUCONTEXT -
No option value required. Determines the target based on the current attached context (default).
Option type: No option value needed. Applies to: compiler and linker
JIT_TARGET -
Target is chosen based on supplied CUjit_target. Cannot be combined with JIT_THREADS_PER_BLOCK.
Option type: unsigned int for enumerated type CUjit_target. Applies to: compiler and linker
JIT_FALLBACK_STRATEGY -
Specifies choice of fallback strategy if matching cubin is not found.
Choice is based on supplied CUjit_fallback. This option cannot be used with cuLink* APIs as the linker requires exact matches.
Option type: unsigned int for enumerated type CUjit_fallback. Applies to: compiler only
JIT_GENERATE_DEBUG_INFO -
Specifies whether to create debug information in output (-g) (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_LOG_VERBOSE -
Generate verbose log messages (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_GENERATE_LINE_INFO -
Generate line number information (-lineinfo) (0: false, default).
Option type: int. Applies to: compiler only
JIT_CACHE_MODE -
Specifies whether to enable caching explicitly (-dlcm). Choice is based on supplied CUjit_cacheMode_enum.
Option type: unsigned int for enumerated type CUjit_cacheMode_enum. Applies to: compiler only
JIT_NEW_SM3X_OPT - Used for internal purposes only, in this version of CUDA.JIT_FAST_COMPILE - Used for internal purposes only, in this version of CUDA.JIT_GLOBAL_SYMBOL_NAMES -
Array of device symbol names that will be relocated to the corresponing host addresses stored in JIT_GLOBAL_SYMBOL_ADDRESSES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries. When loding a device module, driver will relocate all encountered unresolved symbols to the host
addresses. It is only allowed to register symbols that correspond to unresolved global variables. It is illegal to register the same device symbol
at multiple addresses.
Option type: const char **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_ADDRESSES -
Array of host addresses that will be used to relocate corresponding device symbols stored in JIT_GLOBAL_SYMBOL_NAMES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries.
Option type: void **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_COUNT -
Number of entries in JIT_GLOBAL_SYMBOL_NAMES and JIT_GLOBAL_SYMBOL_ADDRESSES arrays.
Option type: unsigned int. Applies to: dynamic linker only
public static final int CU_JIT_TARGET_FROM_CUCONTEXT
CUjit_option)
JIT_MAX_REGISTERS -
Max number of registers that a thread may use.
Option type: unsigned int. Applies to: compiler only
JIT_THREADS_PER_BLOCK -
IN: Specifies minimum number of threads per block to target compilation for
OUT: Returns the number of threads the compiler actually targeted.
This restricts the resource utilization fo the compiler (e.g. max registers) such that a block with the given number of threads should be able to launch based on register limitations. Note, this option does not currently take into account any other resource limitations, such as shared memory utilization.
Cannot be combined with JIT_TARGET. Option type: unsigned int. Applies to: compiler only
JIT_WALL_TIME -
Overwrites the option value with the total wall clock time, in milliseconds, spent in the compiler and linker.
Option type: float. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that are informational in nature (the buffer size is specified via option
JIT_INFO_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that reflect errors (the buffer size is specified via option
JIT_ERROR_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_OPTIMIZATION_LEVEL -
Level of optimizations to apply to generated code (0 - 4), with 4 being the default and highest level of optimizations.
Option type: unsigned int. Applies to: compiler only
JIT_TARGET_FROM_CUCONTEXT -
No option value required. Determines the target based on the current attached context (default).
Option type: No option value needed. Applies to: compiler and linker
JIT_TARGET -
Target is chosen based on supplied CUjit_target. Cannot be combined with JIT_THREADS_PER_BLOCK.
Option type: unsigned int for enumerated type CUjit_target. Applies to: compiler and linker
JIT_FALLBACK_STRATEGY -
Specifies choice of fallback strategy if matching cubin is not found.
Choice is based on supplied CUjit_fallback. This option cannot be used with cuLink* APIs as the linker requires exact matches.
Option type: unsigned int for enumerated type CUjit_fallback. Applies to: compiler only
JIT_GENERATE_DEBUG_INFO -
Specifies whether to create debug information in output (-g) (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_LOG_VERBOSE -
Generate verbose log messages (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_GENERATE_LINE_INFO -
Generate line number information (-lineinfo) (0: false, default).
Option type: int. Applies to: compiler only
JIT_CACHE_MODE -
Specifies whether to enable caching explicitly (-dlcm). Choice is based on supplied CUjit_cacheMode_enum.
Option type: unsigned int for enumerated type CUjit_cacheMode_enum. Applies to: compiler only
JIT_NEW_SM3X_OPT - Used for internal purposes only, in this version of CUDA.JIT_FAST_COMPILE - Used for internal purposes only, in this version of CUDA.JIT_GLOBAL_SYMBOL_NAMES -
Array of device symbol names that will be relocated to the corresponing host addresses stored in JIT_GLOBAL_SYMBOL_ADDRESSES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries. When loding a device module, driver will relocate all encountered unresolved symbols to the host
addresses. It is only allowed to register symbols that correspond to unresolved global variables. It is illegal to register the same device symbol
at multiple addresses.
Option type: const char **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_ADDRESSES -
Array of host addresses that will be used to relocate corresponding device symbols stored in JIT_GLOBAL_SYMBOL_NAMES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries.
Option type: void **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_COUNT -
Number of entries in JIT_GLOBAL_SYMBOL_NAMES and JIT_GLOBAL_SYMBOL_ADDRESSES arrays.
Option type: unsigned int. Applies to: dynamic linker only
public static final int CU_JIT_TARGET
CUjit_option)
JIT_MAX_REGISTERS -
Max number of registers that a thread may use.
Option type: unsigned int. Applies to: compiler only
JIT_THREADS_PER_BLOCK -
IN: Specifies minimum number of threads per block to target compilation for
OUT: Returns the number of threads the compiler actually targeted.
This restricts the resource utilization fo the compiler (e.g. max registers) such that a block with the given number of threads should be able to launch based on register limitations. Note, this option does not currently take into account any other resource limitations, such as shared memory utilization.
Cannot be combined with JIT_TARGET. Option type: unsigned int. Applies to: compiler only
JIT_WALL_TIME -
Overwrites the option value with the total wall clock time, in milliseconds, spent in the compiler and linker.
Option type: float. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that are informational in nature (the buffer size is specified via option
JIT_INFO_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that reflect errors (the buffer size is specified via option
JIT_ERROR_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_OPTIMIZATION_LEVEL -
Level of optimizations to apply to generated code (0 - 4), with 4 being the default and highest level of optimizations.
Option type: unsigned int. Applies to: compiler only
JIT_TARGET_FROM_CUCONTEXT -
No option value required. Determines the target based on the current attached context (default).
Option type: No option value needed. Applies to: compiler and linker
JIT_TARGET -
Target is chosen based on supplied CUjit_target. Cannot be combined with JIT_THREADS_PER_BLOCK.
Option type: unsigned int for enumerated type CUjit_target. Applies to: compiler and linker
JIT_FALLBACK_STRATEGY -
Specifies choice of fallback strategy if matching cubin is not found.
Choice is based on supplied CUjit_fallback. This option cannot be used with cuLink* APIs as the linker requires exact matches.
Option type: unsigned int for enumerated type CUjit_fallback. Applies to: compiler only
JIT_GENERATE_DEBUG_INFO -
Specifies whether to create debug information in output (-g) (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_LOG_VERBOSE -
Generate verbose log messages (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_GENERATE_LINE_INFO -
Generate line number information (-lineinfo) (0: false, default).
Option type: int. Applies to: compiler only
JIT_CACHE_MODE -
Specifies whether to enable caching explicitly (-dlcm). Choice is based on supplied CUjit_cacheMode_enum.
Option type: unsigned int for enumerated type CUjit_cacheMode_enum. Applies to: compiler only
JIT_NEW_SM3X_OPT - Used for internal purposes only, in this version of CUDA.JIT_FAST_COMPILE - Used for internal purposes only, in this version of CUDA.JIT_GLOBAL_SYMBOL_NAMES -
Array of device symbol names that will be relocated to the corresponing host addresses stored in JIT_GLOBAL_SYMBOL_ADDRESSES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries. When loding a device module, driver will relocate all encountered unresolved symbols to the host
addresses. It is only allowed to register symbols that correspond to unresolved global variables. It is illegal to register the same device symbol
at multiple addresses.
Option type: const char **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_ADDRESSES -
Array of host addresses that will be used to relocate corresponding device symbols stored in JIT_GLOBAL_SYMBOL_NAMES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries.
Option type: void **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_COUNT -
Number of entries in JIT_GLOBAL_SYMBOL_NAMES and JIT_GLOBAL_SYMBOL_ADDRESSES arrays.
Option type: unsigned int. Applies to: dynamic linker only
public static final int CU_JIT_FALLBACK_STRATEGY
CUjit_option)
JIT_MAX_REGISTERS -
Max number of registers that a thread may use.
Option type: unsigned int. Applies to: compiler only
JIT_THREADS_PER_BLOCK -
IN: Specifies minimum number of threads per block to target compilation for
OUT: Returns the number of threads the compiler actually targeted.
This restricts the resource utilization fo the compiler (e.g. max registers) such that a block with the given number of threads should be able to launch based on register limitations. Note, this option does not currently take into account any other resource limitations, such as shared memory utilization.
Cannot be combined with JIT_TARGET. Option type: unsigned int. Applies to: compiler only
JIT_WALL_TIME -
Overwrites the option value with the total wall clock time, in milliseconds, spent in the compiler and linker.
Option type: float. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that are informational in nature (the buffer size is specified via option
JIT_INFO_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that reflect errors (the buffer size is specified via option
JIT_ERROR_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_OPTIMIZATION_LEVEL -
Level of optimizations to apply to generated code (0 - 4), with 4 being the default and highest level of optimizations.
Option type: unsigned int. Applies to: compiler only
JIT_TARGET_FROM_CUCONTEXT -
No option value required. Determines the target based on the current attached context (default).
Option type: No option value needed. Applies to: compiler and linker
JIT_TARGET -
Target is chosen based on supplied CUjit_target. Cannot be combined with JIT_THREADS_PER_BLOCK.
Option type: unsigned int for enumerated type CUjit_target. Applies to: compiler and linker
JIT_FALLBACK_STRATEGY -
Specifies choice of fallback strategy if matching cubin is not found.
Choice is based on supplied CUjit_fallback. This option cannot be used with cuLink* APIs as the linker requires exact matches.
Option type: unsigned int for enumerated type CUjit_fallback. Applies to: compiler only
JIT_GENERATE_DEBUG_INFO -
Specifies whether to create debug information in output (-g) (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_LOG_VERBOSE -
Generate verbose log messages (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_GENERATE_LINE_INFO -
Generate line number information (-lineinfo) (0: false, default).
Option type: int. Applies to: compiler only
JIT_CACHE_MODE -
Specifies whether to enable caching explicitly (-dlcm). Choice is based on supplied CUjit_cacheMode_enum.
Option type: unsigned int for enumerated type CUjit_cacheMode_enum. Applies to: compiler only
JIT_NEW_SM3X_OPT - Used for internal purposes only, in this version of CUDA.JIT_FAST_COMPILE - Used for internal purposes only, in this version of CUDA.JIT_GLOBAL_SYMBOL_NAMES -
Array of device symbol names that will be relocated to the corresponing host addresses stored in JIT_GLOBAL_SYMBOL_ADDRESSES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries. When loding a device module, driver will relocate all encountered unresolved symbols to the host
addresses. It is only allowed to register symbols that correspond to unresolved global variables. It is illegal to register the same device symbol
at multiple addresses.
Option type: const char **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_ADDRESSES -
Array of host addresses that will be used to relocate corresponding device symbols stored in JIT_GLOBAL_SYMBOL_NAMES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries.
Option type: void **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_COUNT -
Number of entries in JIT_GLOBAL_SYMBOL_NAMES and JIT_GLOBAL_SYMBOL_ADDRESSES arrays.
Option type: unsigned int. Applies to: dynamic linker only
public static final int CU_JIT_GENERATE_DEBUG_INFO
CUjit_option)
JIT_MAX_REGISTERS -
Max number of registers that a thread may use.
Option type: unsigned int. Applies to: compiler only
JIT_THREADS_PER_BLOCK -
IN: Specifies minimum number of threads per block to target compilation for
OUT: Returns the number of threads the compiler actually targeted.
This restricts the resource utilization fo the compiler (e.g. max registers) such that a block with the given number of threads should be able to launch based on register limitations. Note, this option does not currently take into account any other resource limitations, such as shared memory utilization.
Cannot be combined with JIT_TARGET. Option type: unsigned int. Applies to: compiler only
JIT_WALL_TIME -
Overwrites the option value with the total wall clock time, in milliseconds, spent in the compiler and linker.
Option type: float. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that are informational in nature (the buffer size is specified via option
JIT_INFO_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that reflect errors (the buffer size is specified via option
JIT_ERROR_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_OPTIMIZATION_LEVEL -
Level of optimizations to apply to generated code (0 - 4), with 4 being the default and highest level of optimizations.
Option type: unsigned int. Applies to: compiler only
JIT_TARGET_FROM_CUCONTEXT -
No option value required. Determines the target based on the current attached context (default).
Option type: No option value needed. Applies to: compiler and linker
JIT_TARGET -
Target is chosen based on supplied CUjit_target. Cannot be combined with JIT_THREADS_PER_BLOCK.
Option type: unsigned int for enumerated type CUjit_target. Applies to: compiler and linker
JIT_FALLBACK_STRATEGY -
Specifies choice of fallback strategy if matching cubin is not found.
Choice is based on supplied CUjit_fallback. This option cannot be used with cuLink* APIs as the linker requires exact matches.
Option type: unsigned int for enumerated type CUjit_fallback. Applies to: compiler only
JIT_GENERATE_DEBUG_INFO -
Specifies whether to create debug information in output (-g) (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_LOG_VERBOSE -
Generate verbose log messages (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_GENERATE_LINE_INFO -
Generate line number information (-lineinfo) (0: false, default).
Option type: int. Applies to: compiler only
JIT_CACHE_MODE -
Specifies whether to enable caching explicitly (-dlcm). Choice is based on supplied CUjit_cacheMode_enum.
Option type: unsigned int for enumerated type CUjit_cacheMode_enum. Applies to: compiler only
JIT_NEW_SM3X_OPT - Used for internal purposes only, in this version of CUDA.JIT_FAST_COMPILE - Used for internal purposes only, in this version of CUDA.JIT_GLOBAL_SYMBOL_NAMES -
Array of device symbol names that will be relocated to the corresponing host addresses stored in JIT_GLOBAL_SYMBOL_ADDRESSES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries. When loding a device module, driver will relocate all encountered unresolved symbols to the host
addresses. It is only allowed to register symbols that correspond to unresolved global variables. It is illegal to register the same device symbol
at multiple addresses.
Option type: const char **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_ADDRESSES -
Array of host addresses that will be used to relocate corresponding device symbols stored in JIT_GLOBAL_SYMBOL_NAMES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries.
Option type: void **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_COUNT -
Number of entries in JIT_GLOBAL_SYMBOL_NAMES and JIT_GLOBAL_SYMBOL_ADDRESSES arrays.
Option type: unsigned int. Applies to: dynamic linker only
public static final int CU_JIT_LOG_VERBOSE
CUjit_option)
JIT_MAX_REGISTERS -
Max number of registers that a thread may use.
Option type: unsigned int. Applies to: compiler only
JIT_THREADS_PER_BLOCK -
IN: Specifies minimum number of threads per block to target compilation for
OUT: Returns the number of threads the compiler actually targeted.
This restricts the resource utilization fo the compiler (e.g. max registers) such that a block with the given number of threads should be able to launch based on register limitations. Note, this option does not currently take into account any other resource limitations, such as shared memory utilization.
Cannot be combined with JIT_TARGET. Option type: unsigned int. Applies to: compiler only
JIT_WALL_TIME -
Overwrites the option value with the total wall clock time, in milliseconds, spent in the compiler and linker.
Option type: float. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that are informational in nature (the buffer size is specified via option
JIT_INFO_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that reflect errors (the buffer size is specified via option
JIT_ERROR_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_OPTIMIZATION_LEVEL -
Level of optimizations to apply to generated code (0 - 4), with 4 being the default and highest level of optimizations.
Option type: unsigned int. Applies to: compiler only
JIT_TARGET_FROM_CUCONTEXT -
No option value required. Determines the target based on the current attached context (default).
Option type: No option value needed. Applies to: compiler and linker
JIT_TARGET -
Target is chosen based on supplied CUjit_target. Cannot be combined with JIT_THREADS_PER_BLOCK.
Option type: unsigned int for enumerated type CUjit_target. Applies to: compiler and linker
JIT_FALLBACK_STRATEGY -
Specifies choice of fallback strategy if matching cubin is not found.
Choice is based on supplied CUjit_fallback. This option cannot be used with cuLink* APIs as the linker requires exact matches.
Option type: unsigned int for enumerated type CUjit_fallback. Applies to: compiler only
JIT_GENERATE_DEBUG_INFO -
Specifies whether to create debug information in output (-g) (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_LOG_VERBOSE -
Generate verbose log messages (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_GENERATE_LINE_INFO -
Generate line number information (-lineinfo) (0: false, default).
Option type: int. Applies to: compiler only
JIT_CACHE_MODE -
Specifies whether to enable caching explicitly (-dlcm). Choice is based on supplied CUjit_cacheMode_enum.
Option type: unsigned int for enumerated type CUjit_cacheMode_enum. Applies to: compiler only
JIT_NEW_SM3X_OPT - Used for internal purposes only, in this version of CUDA.JIT_FAST_COMPILE - Used for internal purposes only, in this version of CUDA.JIT_GLOBAL_SYMBOL_NAMES -
Array of device symbol names that will be relocated to the corresponing host addresses stored in JIT_GLOBAL_SYMBOL_ADDRESSES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries. When loding a device module, driver will relocate all encountered unresolved symbols to the host
addresses. It is only allowed to register symbols that correspond to unresolved global variables. It is illegal to register the same device symbol
at multiple addresses.
Option type: const char **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_ADDRESSES -
Array of host addresses that will be used to relocate corresponding device symbols stored in JIT_GLOBAL_SYMBOL_NAMES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries.
Option type: void **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_COUNT -
Number of entries in JIT_GLOBAL_SYMBOL_NAMES and JIT_GLOBAL_SYMBOL_ADDRESSES arrays.
Option type: unsigned int. Applies to: dynamic linker only
public static final int CU_JIT_GENERATE_LINE_INFO
CUjit_option)
JIT_MAX_REGISTERS -
Max number of registers that a thread may use.
Option type: unsigned int. Applies to: compiler only
JIT_THREADS_PER_BLOCK -
IN: Specifies minimum number of threads per block to target compilation for
OUT: Returns the number of threads the compiler actually targeted.
This restricts the resource utilization fo the compiler (e.g. max registers) such that a block with the given number of threads should be able to launch based on register limitations. Note, this option does not currently take into account any other resource limitations, such as shared memory utilization.
Cannot be combined with JIT_TARGET. Option type: unsigned int. Applies to: compiler only
JIT_WALL_TIME -
Overwrites the option value with the total wall clock time, in milliseconds, spent in the compiler and linker.
Option type: float. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that are informational in nature (the buffer size is specified via option
JIT_INFO_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that reflect errors (the buffer size is specified via option
JIT_ERROR_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_OPTIMIZATION_LEVEL -
Level of optimizations to apply to generated code (0 - 4), with 4 being the default and highest level of optimizations.
Option type: unsigned int. Applies to: compiler only
JIT_TARGET_FROM_CUCONTEXT -
No option value required. Determines the target based on the current attached context (default).
Option type: No option value needed. Applies to: compiler and linker
JIT_TARGET -
Target is chosen based on supplied CUjit_target. Cannot be combined with JIT_THREADS_PER_BLOCK.
Option type: unsigned int for enumerated type CUjit_target. Applies to: compiler and linker
JIT_FALLBACK_STRATEGY -
Specifies choice of fallback strategy if matching cubin is not found.
Choice is based on supplied CUjit_fallback. This option cannot be used with cuLink* APIs as the linker requires exact matches.
Option type: unsigned int for enumerated type CUjit_fallback. Applies to: compiler only
JIT_GENERATE_DEBUG_INFO -
Specifies whether to create debug information in output (-g) (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_LOG_VERBOSE -
Generate verbose log messages (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_GENERATE_LINE_INFO -
Generate line number information (-lineinfo) (0: false, default).
Option type: int. Applies to: compiler only
JIT_CACHE_MODE -
Specifies whether to enable caching explicitly (-dlcm). Choice is based on supplied CUjit_cacheMode_enum.
Option type: unsigned int for enumerated type CUjit_cacheMode_enum. Applies to: compiler only
JIT_NEW_SM3X_OPT - Used for internal purposes only, in this version of CUDA.JIT_FAST_COMPILE - Used for internal purposes only, in this version of CUDA.JIT_GLOBAL_SYMBOL_NAMES -
Array of device symbol names that will be relocated to the corresponing host addresses stored in JIT_GLOBAL_SYMBOL_ADDRESSES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries. When loding a device module, driver will relocate all encountered unresolved symbols to the host
addresses. It is only allowed to register symbols that correspond to unresolved global variables. It is illegal to register the same device symbol
at multiple addresses.
Option type: const char **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_ADDRESSES -
Array of host addresses that will be used to relocate corresponding device symbols stored in JIT_GLOBAL_SYMBOL_NAMES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries.
Option type: void **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_COUNT -
Number of entries in JIT_GLOBAL_SYMBOL_NAMES and JIT_GLOBAL_SYMBOL_ADDRESSES arrays.
Option type: unsigned int. Applies to: dynamic linker only
public static final int CU_JIT_CACHE_MODE
CUjit_option)
JIT_MAX_REGISTERS -
Max number of registers that a thread may use.
Option type: unsigned int. Applies to: compiler only
JIT_THREADS_PER_BLOCK -
IN: Specifies minimum number of threads per block to target compilation for
OUT: Returns the number of threads the compiler actually targeted.
This restricts the resource utilization fo the compiler (e.g. max registers) such that a block with the given number of threads should be able to launch based on register limitations. Note, this option does not currently take into account any other resource limitations, such as shared memory utilization.
Cannot be combined with JIT_TARGET. Option type: unsigned int. Applies to: compiler only
JIT_WALL_TIME -
Overwrites the option value with the total wall clock time, in milliseconds, spent in the compiler and linker.
Option type: float. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that are informational in nature (the buffer size is specified via option
JIT_INFO_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that reflect errors (the buffer size is specified via option
JIT_ERROR_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_OPTIMIZATION_LEVEL -
Level of optimizations to apply to generated code (0 - 4), with 4 being the default and highest level of optimizations.
Option type: unsigned int. Applies to: compiler only
JIT_TARGET_FROM_CUCONTEXT -
No option value required. Determines the target based on the current attached context (default).
Option type: No option value needed. Applies to: compiler and linker
JIT_TARGET -
Target is chosen based on supplied CUjit_target. Cannot be combined with JIT_THREADS_PER_BLOCK.
Option type: unsigned int for enumerated type CUjit_target. Applies to: compiler and linker
JIT_FALLBACK_STRATEGY -
Specifies choice of fallback strategy if matching cubin is not found.
Choice is based on supplied CUjit_fallback. This option cannot be used with cuLink* APIs as the linker requires exact matches.
Option type: unsigned int for enumerated type CUjit_fallback. Applies to: compiler only
JIT_GENERATE_DEBUG_INFO -
Specifies whether to create debug information in output (-g) (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_LOG_VERBOSE -
Generate verbose log messages (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_GENERATE_LINE_INFO -
Generate line number information (-lineinfo) (0: false, default).
Option type: int. Applies to: compiler only
JIT_CACHE_MODE -
Specifies whether to enable caching explicitly (-dlcm). Choice is based on supplied CUjit_cacheMode_enum.
Option type: unsigned int for enumerated type CUjit_cacheMode_enum. Applies to: compiler only
JIT_NEW_SM3X_OPT - Used for internal purposes only, in this version of CUDA.JIT_FAST_COMPILE - Used for internal purposes only, in this version of CUDA.JIT_GLOBAL_SYMBOL_NAMES -
Array of device symbol names that will be relocated to the corresponing host addresses stored in JIT_GLOBAL_SYMBOL_ADDRESSES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries. When loding a device module, driver will relocate all encountered unresolved symbols to the host
addresses. It is only allowed to register symbols that correspond to unresolved global variables. It is illegal to register the same device symbol
at multiple addresses.
Option type: const char **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_ADDRESSES -
Array of host addresses that will be used to relocate corresponding device symbols stored in JIT_GLOBAL_SYMBOL_NAMES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries.
Option type: void **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_COUNT -
Number of entries in JIT_GLOBAL_SYMBOL_NAMES and JIT_GLOBAL_SYMBOL_ADDRESSES arrays.
Option type: unsigned int. Applies to: dynamic linker only
public static final int CU_JIT_NEW_SM3X_OPT
CUjit_option)
JIT_MAX_REGISTERS -
Max number of registers that a thread may use.
Option type: unsigned int. Applies to: compiler only
JIT_THREADS_PER_BLOCK -
IN: Specifies minimum number of threads per block to target compilation for
OUT: Returns the number of threads the compiler actually targeted.
This restricts the resource utilization fo the compiler (e.g. max registers) such that a block with the given number of threads should be able to launch based on register limitations. Note, this option does not currently take into account any other resource limitations, such as shared memory utilization.
Cannot be combined with JIT_TARGET. Option type: unsigned int. Applies to: compiler only
JIT_WALL_TIME -
Overwrites the option value with the total wall clock time, in milliseconds, spent in the compiler and linker.
Option type: float. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that are informational in nature (the buffer size is specified via option
JIT_INFO_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that reflect errors (the buffer size is specified via option
JIT_ERROR_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_OPTIMIZATION_LEVEL -
Level of optimizations to apply to generated code (0 - 4), with 4 being the default and highest level of optimizations.
Option type: unsigned int. Applies to: compiler only
JIT_TARGET_FROM_CUCONTEXT -
No option value required. Determines the target based on the current attached context (default).
Option type: No option value needed. Applies to: compiler and linker
JIT_TARGET -
Target is chosen based on supplied CUjit_target. Cannot be combined with JIT_THREADS_PER_BLOCK.
Option type: unsigned int for enumerated type CUjit_target. Applies to: compiler and linker
JIT_FALLBACK_STRATEGY -
Specifies choice of fallback strategy if matching cubin is not found.
Choice is based on supplied CUjit_fallback. This option cannot be used with cuLink* APIs as the linker requires exact matches.
Option type: unsigned int for enumerated type CUjit_fallback. Applies to: compiler only
JIT_GENERATE_DEBUG_INFO -
Specifies whether to create debug information in output (-g) (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_LOG_VERBOSE -
Generate verbose log messages (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_GENERATE_LINE_INFO -
Generate line number information (-lineinfo) (0: false, default).
Option type: int. Applies to: compiler only
JIT_CACHE_MODE -
Specifies whether to enable caching explicitly (-dlcm). Choice is based on supplied CUjit_cacheMode_enum.
Option type: unsigned int for enumerated type CUjit_cacheMode_enum. Applies to: compiler only
JIT_NEW_SM3X_OPT - Used for internal purposes only, in this version of CUDA.JIT_FAST_COMPILE - Used for internal purposes only, in this version of CUDA.JIT_GLOBAL_SYMBOL_NAMES -
Array of device symbol names that will be relocated to the corresponing host addresses stored in JIT_GLOBAL_SYMBOL_ADDRESSES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries. When loding a device module, driver will relocate all encountered unresolved symbols to the host
addresses. It is only allowed to register symbols that correspond to unresolved global variables. It is illegal to register the same device symbol
at multiple addresses.
Option type: const char **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_ADDRESSES -
Array of host addresses that will be used to relocate corresponding device symbols stored in JIT_GLOBAL_SYMBOL_NAMES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries.
Option type: void **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_COUNT -
Number of entries in JIT_GLOBAL_SYMBOL_NAMES and JIT_GLOBAL_SYMBOL_ADDRESSES arrays.
Option type: unsigned int. Applies to: dynamic linker only
public static final int CU_JIT_FAST_COMPILE
CUjit_option)
JIT_MAX_REGISTERS -
Max number of registers that a thread may use.
Option type: unsigned int. Applies to: compiler only
JIT_THREADS_PER_BLOCK -
IN: Specifies minimum number of threads per block to target compilation for
OUT: Returns the number of threads the compiler actually targeted.
This restricts the resource utilization fo the compiler (e.g. max registers) such that a block with the given number of threads should be able to launch based on register limitations. Note, this option does not currently take into account any other resource limitations, such as shared memory utilization.
Cannot be combined with JIT_TARGET. Option type: unsigned int. Applies to: compiler only
JIT_WALL_TIME -
Overwrites the option value with the total wall clock time, in milliseconds, spent in the compiler and linker.
Option type: float. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that are informational in nature (the buffer size is specified via option
JIT_INFO_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that reflect errors (the buffer size is specified via option
JIT_ERROR_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_OPTIMIZATION_LEVEL -
Level of optimizations to apply to generated code (0 - 4), with 4 being the default and highest level of optimizations.
Option type: unsigned int. Applies to: compiler only
JIT_TARGET_FROM_CUCONTEXT -
No option value required. Determines the target based on the current attached context (default).
Option type: No option value needed. Applies to: compiler and linker
JIT_TARGET -
Target is chosen based on supplied CUjit_target. Cannot be combined with JIT_THREADS_PER_BLOCK.
Option type: unsigned int for enumerated type CUjit_target. Applies to: compiler and linker
JIT_FALLBACK_STRATEGY -
Specifies choice of fallback strategy if matching cubin is not found.
Choice is based on supplied CUjit_fallback. This option cannot be used with cuLink* APIs as the linker requires exact matches.
Option type: unsigned int for enumerated type CUjit_fallback. Applies to: compiler only
JIT_GENERATE_DEBUG_INFO -
Specifies whether to create debug information in output (-g) (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_LOG_VERBOSE -
Generate verbose log messages (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_GENERATE_LINE_INFO -
Generate line number information (-lineinfo) (0: false, default).
Option type: int. Applies to: compiler only
JIT_CACHE_MODE -
Specifies whether to enable caching explicitly (-dlcm). Choice is based on supplied CUjit_cacheMode_enum.
Option type: unsigned int for enumerated type CUjit_cacheMode_enum. Applies to: compiler only
JIT_NEW_SM3X_OPT - Used for internal purposes only, in this version of CUDA.JIT_FAST_COMPILE - Used for internal purposes only, in this version of CUDA.JIT_GLOBAL_SYMBOL_NAMES -
Array of device symbol names that will be relocated to the corresponing host addresses stored in JIT_GLOBAL_SYMBOL_ADDRESSES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries. When loding a device module, driver will relocate all encountered unresolved symbols to the host
addresses. It is only allowed to register symbols that correspond to unresolved global variables. It is illegal to register the same device symbol
at multiple addresses.
Option type: const char **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_ADDRESSES -
Array of host addresses that will be used to relocate corresponding device symbols stored in JIT_GLOBAL_SYMBOL_NAMES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries.
Option type: void **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_COUNT -
Number of entries in JIT_GLOBAL_SYMBOL_NAMES and JIT_GLOBAL_SYMBOL_ADDRESSES arrays.
Option type: unsigned int. Applies to: dynamic linker only
public static final int CU_JIT_GLOBAL_SYMBOL_NAMES
CUjit_option)
JIT_MAX_REGISTERS -
Max number of registers that a thread may use.
Option type: unsigned int. Applies to: compiler only
JIT_THREADS_PER_BLOCK -
IN: Specifies minimum number of threads per block to target compilation for
OUT: Returns the number of threads the compiler actually targeted.
This restricts the resource utilization fo the compiler (e.g. max registers) such that a block with the given number of threads should be able to launch based on register limitations. Note, this option does not currently take into account any other resource limitations, such as shared memory utilization.
Cannot be combined with JIT_TARGET. Option type: unsigned int. Applies to: compiler only
JIT_WALL_TIME -
Overwrites the option value with the total wall clock time, in milliseconds, spent in the compiler and linker.
Option type: float. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that are informational in nature (the buffer size is specified via option
JIT_INFO_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that reflect errors (the buffer size is specified via option
JIT_ERROR_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_OPTIMIZATION_LEVEL -
Level of optimizations to apply to generated code (0 - 4), with 4 being the default and highest level of optimizations.
Option type: unsigned int. Applies to: compiler only
JIT_TARGET_FROM_CUCONTEXT -
No option value required. Determines the target based on the current attached context (default).
Option type: No option value needed. Applies to: compiler and linker
JIT_TARGET -
Target is chosen based on supplied CUjit_target. Cannot be combined with JIT_THREADS_PER_BLOCK.
Option type: unsigned int for enumerated type CUjit_target. Applies to: compiler and linker
JIT_FALLBACK_STRATEGY -
Specifies choice of fallback strategy if matching cubin is not found.
Choice is based on supplied CUjit_fallback. This option cannot be used with cuLink* APIs as the linker requires exact matches.
Option type: unsigned int for enumerated type CUjit_fallback. Applies to: compiler only
JIT_GENERATE_DEBUG_INFO -
Specifies whether to create debug information in output (-g) (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_LOG_VERBOSE -
Generate verbose log messages (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_GENERATE_LINE_INFO -
Generate line number information (-lineinfo) (0: false, default).
Option type: int. Applies to: compiler only
JIT_CACHE_MODE -
Specifies whether to enable caching explicitly (-dlcm). Choice is based on supplied CUjit_cacheMode_enum.
Option type: unsigned int for enumerated type CUjit_cacheMode_enum. Applies to: compiler only
JIT_NEW_SM3X_OPT - Used for internal purposes only, in this version of CUDA.JIT_FAST_COMPILE - Used for internal purposes only, in this version of CUDA.JIT_GLOBAL_SYMBOL_NAMES -
Array of device symbol names that will be relocated to the corresponing host addresses stored in JIT_GLOBAL_SYMBOL_ADDRESSES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries. When loding a device module, driver will relocate all encountered unresolved symbols to the host
addresses. It is only allowed to register symbols that correspond to unresolved global variables. It is illegal to register the same device symbol
at multiple addresses.
Option type: const char **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_ADDRESSES -
Array of host addresses that will be used to relocate corresponding device symbols stored in JIT_GLOBAL_SYMBOL_NAMES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries.
Option type: void **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_COUNT -
Number of entries in JIT_GLOBAL_SYMBOL_NAMES and JIT_GLOBAL_SYMBOL_ADDRESSES arrays.
Option type: unsigned int. Applies to: dynamic linker only
public static final int CU_JIT_GLOBAL_SYMBOL_ADDRESSES
CUjit_option)
JIT_MAX_REGISTERS -
Max number of registers that a thread may use.
Option type: unsigned int. Applies to: compiler only
JIT_THREADS_PER_BLOCK -
IN: Specifies minimum number of threads per block to target compilation for
OUT: Returns the number of threads the compiler actually targeted.
This restricts the resource utilization fo the compiler (e.g. max registers) such that a block with the given number of threads should be able to launch based on register limitations. Note, this option does not currently take into account any other resource limitations, such as shared memory utilization.
Cannot be combined with JIT_TARGET. Option type: unsigned int. Applies to: compiler only
JIT_WALL_TIME -
Overwrites the option value with the total wall clock time, in milliseconds, spent in the compiler and linker.
Option type: float. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that are informational in nature (the buffer size is specified via option
JIT_INFO_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that reflect errors (the buffer size is specified via option
JIT_ERROR_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_OPTIMIZATION_LEVEL -
Level of optimizations to apply to generated code (0 - 4), with 4 being the default and highest level of optimizations.
Option type: unsigned int. Applies to: compiler only
JIT_TARGET_FROM_CUCONTEXT -
No option value required. Determines the target based on the current attached context (default).
Option type: No option value needed. Applies to: compiler and linker
JIT_TARGET -
Target is chosen based on supplied CUjit_target. Cannot be combined with JIT_THREADS_PER_BLOCK.
Option type: unsigned int for enumerated type CUjit_target. Applies to: compiler and linker
JIT_FALLBACK_STRATEGY -
Specifies choice of fallback strategy if matching cubin is not found.
Choice is based on supplied CUjit_fallback. This option cannot be used with cuLink* APIs as the linker requires exact matches.
Option type: unsigned int for enumerated type CUjit_fallback. Applies to: compiler only
JIT_GENERATE_DEBUG_INFO -
Specifies whether to create debug information in output (-g) (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_LOG_VERBOSE -
Generate verbose log messages (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_GENERATE_LINE_INFO -
Generate line number information (-lineinfo) (0: false, default).
Option type: int. Applies to: compiler only
JIT_CACHE_MODE -
Specifies whether to enable caching explicitly (-dlcm). Choice is based on supplied CUjit_cacheMode_enum.
Option type: unsigned int for enumerated type CUjit_cacheMode_enum. Applies to: compiler only
JIT_NEW_SM3X_OPT - Used for internal purposes only, in this version of CUDA.JIT_FAST_COMPILE - Used for internal purposes only, in this version of CUDA.JIT_GLOBAL_SYMBOL_NAMES -
Array of device symbol names that will be relocated to the corresponing host addresses stored in JIT_GLOBAL_SYMBOL_ADDRESSES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries. When loding a device module, driver will relocate all encountered unresolved symbols to the host
addresses. It is only allowed to register symbols that correspond to unresolved global variables. It is illegal to register the same device symbol
at multiple addresses.
Option type: const char **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_ADDRESSES -
Array of host addresses that will be used to relocate corresponding device symbols stored in JIT_GLOBAL_SYMBOL_NAMES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries.
Option type: void **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_COUNT -
Number of entries in JIT_GLOBAL_SYMBOL_NAMES and JIT_GLOBAL_SYMBOL_ADDRESSES arrays.
Option type: unsigned int. Applies to: dynamic linker only
public static final int CU_JIT_GLOBAL_SYMBOL_COUNT
CUjit_option)
JIT_MAX_REGISTERS -
Max number of registers that a thread may use.
Option type: unsigned int. Applies to: compiler only
JIT_THREADS_PER_BLOCK -
IN: Specifies minimum number of threads per block to target compilation for
OUT: Returns the number of threads the compiler actually targeted.
This restricts the resource utilization fo the compiler (e.g. max registers) such that a block with the given number of threads should be able to launch based on register limitations. Note, this option does not currently take into account any other resource limitations, such as shared memory utilization.
Cannot be combined with JIT_TARGET. Option type: unsigned int. Applies to: compiler only
JIT_WALL_TIME -
Overwrites the option value with the total wall clock time, in milliseconds, spent in the compiler and linker.
Option type: float. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that are informational in nature (the buffer size is specified via option
JIT_INFO_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_INFO_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER -
Pointer to a buffer in which to print any log messages that reflect errors (the buffer size is specified via option
JIT_ERROR_LOG_BUFFER_SIZE_BYTES).
Option type: char *. Applies to: compiler and linker
JIT_ERROR_LOG_BUFFER_SIZE_BYTES -
IN: Log buffer size in bytes. Log messages will be capped at this size (including null terminator).
OUT: Amount of log buffer filled with messages.
Option type: unsigned int. Applies to: compiler and linker
JIT_OPTIMIZATION_LEVEL -
Level of optimizations to apply to generated code (0 - 4), with 4 being the default and highest level of optimizations.
Option type: unsigned int. Applies to: compiler only
JIT_TARGET_FROM_CUCONTEXT -
No option value required. Determines the target based on the current attached context (default).
Option type: No option value needed. Applies to: compiler and linker
JIT_TARGET -
Target is chosen based on supplied CUjit_target. Cannot be combined with JIT_THREADS_PER_BLOCK.
Option type: unsigned int for enumerated type CUjit_target. Applies to: compiler and linker
JIT_FALLBACK_STRATEGY -
Specifies choice of fallback strategy if matching cubin is not found.
Choice is based on supplied CUjit_fallback. This option cannot be used with cuLink* APIs as the linker requires exact matches.
Option type: unsigned int for enumerated type CUjit_fallback. Applies to: compiler only
JIT_GENERATE_DEBUG_INFO -
Specifies whether to create debug information in output (-g) (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_LOG_VERBOSE -
Generate verbose log messages (0: false, default).
Option type: int. Applies to: compiler and linker
JIT_GENERATE_LINE_INFO -
Generate line number information (-lineinfo) (0: false, default).
Option type: int. Applies to: compiler only
JIT_CACHE_MODE -
Specifies whether to enable caching explicitly (-dlcm). Choice is based on supplied CUjit_cacheMode_enum.
Option type: unsigned int for enumerated type CUjit_cacheMode_enum. Applies to: compiler only
JIT_NEW_SM3X_OPT - Used for internal purposes only, in this version of CUDA.JIT_FAST_COMPILE - Used for internal purposes only, in this version of CUDA.JIT_GLOBAL_SYMBOL_NAMES -
Array of device symbol names that will be relocated to the corresponing host addresses stored in JIT_GLOBAL_SYMBOL_ADDRESSES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries. When loding a device module, driver will relocate all encountered unresolved symbols to the host
addresses. It is only allowed to register symbols that correspond to unresolved global variables. It is illegal to register the same device symbol
at multiple addresses.
Option type: const char **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_ADDRESSES -
Array of host addresses that will be used to relocate corresponding device symbols stored in JIT_GLOBAL_SYMBOL_NAMES.
Must contain JIT_GLOBAL_SYMBOL_COUNT entries.
Option type: void **. Applies to: dynamic linker only
JIT_GLOBAL_SYMBOL_COUNT -
Number of entries in JIT_GLOBAL_SYMBOL_NAMES and JIT_GLOBAL_SYMBOL_ADDRESSES arrays.
Option type: unsigned int. Applies to: dynamic linker only
public static final int CU_TARGET_COMPUTE_20
CUjit_target)
TARGET_COMPUTE_20 - Compute device class 2.0TARGET_COMPUTE_21 - Compute device class 2.1TARGET_COMPUTE_30 - Compute device class 3.0TARGET_COMPUTE_32 - Compute device class 3.2TARGET_COMPUTE_35 - Compute device class 3.5TARGET_COMPUTE_37 - Compute device class 3.7TARGET_COMPUTE_50 - Compute device class 5.0TARGET_COMPUTE_52 - Compute device class 5.2TARGET_COMPUTE_53 - Compute device class 5.3TARGET_COMPUTE_60 - Compute device class 6.0.TARGET_COMPUTE_61 - Compute device class 6.1.TARGET_COMPUTE_62 - Compute device class 6.2.TARGET_COMPUTE_70 - Compute device class 7.0.TARGET_COMPUTE_72 - Compute device class 7.2.TARGET_COMPUTE_75 - Compute device class 7.5.public static final int CU_TARGET_COMPUTE_21
CUjit_target)
TARGET_COMPUTE_20 - Compute device class 2.0TARGET_COMPUTE_21 - Compute device class 2.1TARGET_COMPUTE_30 - Compute device class 3.0TARGET_COMPUTE_32 - Compute device class 3.2TARGET_COMPUTE_35 - Compute device class 3.5TARGET_COMPUTE_37 - Compute device class 3.7TARGET_COMPUTE_50 - Compute device class 5.0TARGET_COMPUTE_52 - Compute device class 5.2TARGET_COMPUTE_53 - Compute device class 5.3TARGET_COMPUTE_60 - Compute device class 6.0.TARGET_COMPUTE_61 - Compute device class 6.1.TARGET_COMPUTE_62 - Compute device class 6.2.TARGET_COMPUTE_70 - Compute device class 7.0.TARGET_COMPUTE_72 - Compute device class 7.2.TARGET_COMPUTE_75 - Compute device class 7.5.public static final int CU_TARGET_COMPUTE_30
CUjit_target)
TARGET_COMPUTE_20 - Compute device class 2.0TARGET_COMPUTE_21 - Compute device class 2.1TARGET_COMPUTE_30 - Compute device class 3.0TARGET_COMPUTE_32 - Compute device class 3.2TARGET_COMPUTE_35 - Compute device class 3.5TARGET_COMPUTE_37 - Compute device class 3.7TARGET_COMPUTE_50 - Compute device class 5.0TARGET_COMPUTE_52 - Compute device class 5.2TARGET_COMPUTE_53 - Compute device class 5.3TARGET_COMPUTE_60 - Compute device class 6.0.TARGET_COMPUTE_61 - Compute device class 6.1.TARGET_COMPUTE_62 - Compute device class 6.2.TARGET_COMPUTE_70 - Compute device class 7.0.TARGET_COMPUTE_72 - Compute device class 7.2.TARGET_COMPUTE_75 - Compute device class 7.5.public static final int CU_TARGET_COMPUTE_32
CUjit_target)
TARGET_COMPUTE_20 - Compute device class 2.0TARGET_COMPUTE_21 - Compute device class 2.1TARGET_COMPUTE_30 - Compute device class 3.0TARGET_COMPUTE_32 - Compute device class 3.2TARGET_COMPUTE_35 - Compute device class 3.5TARGET_COMPUTE_37 - Compute device class 3.7TARGET_COMPUTE_50 - Compute device class 5.0TARGET_COMPUTE_52 - Compute device class 5.2TARGET_COMPUTE_53 - Compute device class 5.3TARGET_COMPUTE_60 - Compute device class 6.0.TARGET_COMPUTE_61 - Compute device class 6.1.TARGET_COMPUTE_62 - Compute device class 6.2.TARGET_COMPUTE_70 - Compute device class 7.0.TARGET_COMPUTE_72 - Compute device class 7.2.TARGET_COMPUTE_75 - Compute device class 7.5.public static final int CU_TARGET_COMPUTE_35
CUjit_target)
TARGET_COMPUTE_20 - Compute device class 2.0TARGET_COMPUTE_21 - Compute device class 2.1TARGET_COMPUTE_30 - Compute device class 3.0TARGET_COMPUTE_32 - Compute device class 3.2TARGET_COMPUTE_35 - Compute device class 3.5TARGET_COMPUTE_37 - Compute device class 3.7TARGET_COMPUTE_50 - Compute device class 5.0TARGET_COMPUTE_52 - Compute device class 5.2TARGET_COMPUTE_53 - Compute device class 5.3TARGET_COMPUTE_60 - Compute device class 6.0.TARGET_COMPUTE_61 - Compute device class 6.1.TARGET_COMPUTE_62 - Compute device class 6.2.TARGET_COMPUTE_70 - Compute device class 7.0.TARGET_COMPUTE_72 - Compute device class 7.2.TARGET_COMPUTE_75 - Compute device class 7.5.public static final int CU_TARGET_COMPUTE_37
CUjit_target)
TARGET_COMPUTE_20 - Compute device class 2.0TARGET_COMPUTE_21 - Compute device class 2.1TARGET_COMPUTE_30 - Compute device class 3.0TARGET_COMPUTE_32 - Compute device class 3.2TARGET_COMPUTE_35 - Compute device class 3.5TARGET_COMPUTE_37 - Compute device class 3.7TARGET_COMPUTE_50 - Compute device class 5.0TARGET_COMPUTE_52 - Compute device class 5.2TARGET_COMPUTE_53 - Compute device class 5.3TARGET_COMPUTE_60 - Compute device class 6.0.TARGET_COMPUTE_61 - Compute device class 6.1.TARGET_COMPUTE_62 - Compute device class 6.2.TARGET_COMPUTE_70 - Compute device class 7.0.TARGET_COMPUTE_72 - Compute device class 7.2.TARGET_COMPUTE_75 - Compute device class 7.5.public static final int CU_TARGET_COMPUTE_50
CUjit_target)
TARGET_COMPUTE_20 - Compute device class 2.0TARGET_COMPUTE_21 - Compute device class 2.1TARGET_COMPUTE_30 - Compute device class 3.0TARGET_COMPUTE_32 - Compute device class 3.2TARGET_COMPUTE_35 - Compute device class 3.5TARGET_COMPUTE_37 - Compute device class 3.7TARGET_COMPUTE_50 - Compute device class 5.0TARGET_COMPUTE_52 - Compute device class 5.2TARGET_COMPUTE_53 - Compute device class 5.3TARGET_COMPUTE_60 - Compute device class 6.0.TARGET_COMPUTE_61 - Compute device class 6.1.TARGET_COMPUTE_62 - Compute device class 6.2.TARGET_COMPUTE_70 - Compute device class 7.0.TARGET_COMPUTE_72 - Compute device class 7.2.TARGET_COMPUTE_75 - Compute device class 7.5.public static final int CU_TARGET_COMPUTE_52
CUjit_target)
TARGET_COMPUTE_20 - Compute device class 2.0TARGET_COMPUTE_21 - Compute device class 2.1TARGET_COMPUTE_30 - Compute device class 3.0TARGET_COMPUTE_32 - Compute device class 3.2TARGET_COMPUTE_35 - Compute device class 3.5TARGET_COMPUTE_37 - Compute device class 3.7TARGET_COMPUTE_50 - Compute device class 5.0TARGET_COMPUTE_52 - Compute device class 5.2TARGET_COMPUTE_53 - Compute device class 5.3TARGET_COMPUTE_60 - Compute device class 6.0.TARGET_COMPUTE_61 - Compute device class 6.1.TARGET_COMPUTE_62 - Compute device class 6.2.TARGET_COMPUTE_70 - Compute device class 7.0.TARGET_COMPUTE_72 - Compute device class 7.2.TARGET_COMPUTE_75 - Compute device class 7.5.public static final int CU_TARGET_COMPUTE_53
CUjit_target)
TARGET_COMPUTE_20 - Compute device class 2.0TARGET_COMPUTE_21 - Compute device class 2.1TARGET_COMPUTE_30 - Compute device class 3.0TARGET_COMPUTE_32 - Compute device class 3.2TARGET_COMPUTE_35 - Compute device class 3.5TARGET_COMPUTE_37 - Compute device class 3.7TARGET_COMPUTE_50 - Compute device class 5.0TARGET_COMPUTE_52 - Compute device class 5.2TARGET_COMPUTE_53 - Compute device class 5.3TARGET_COMPUTE_60 - Compute device class 6.0.TARGET_COMPUTE_61 - Compute device class 6.1.TARGET_COMPUTE_62 - Compute device class 6.2.TARGET_COMPUTE_70 - Compute device class 7.0.TARGET_COMPUTE_72 - Compute device class 7.2.TARGET_COMPUTE_75 - Compute device class 7.5.public static final int CU_TARGET_COMPUTE_60
CUjit_target)
TARGET_COMPUTE_20 - Compute device class 2.0TARGET_COMPUTE_21 - Compute device class 2.1TARGET_COMPUTE_30 - Compute device class 3.0TARGET_COMPUTE_32 - Compute device class 3.2TARGET_COMPUTE_35 - Compute device class 3.5TARGET_COMPUTE_37 - Compute device class 3.7TARGET_COMPUTE_50 - Compute device class 5.0TARGET_COMPUTE_52 - Compute device class 5.2TARGET_COMPUTE_53 - Compute device class 5.3TARGET_COMPUTE_60 - Compute device class 6.0.TARGET_COMPUTE_61 - Compute device class 6.1.TARGET_COMPUTE_62 - Compute device class 6.2.TARGET_COMPUTE_70 - Compute device class 7.0.TARGET_COMPUTE_72 - Compute device class 7.2.TARGET_COMPUTE_75 - Compute device class 7.5.public static final int CU_TARGET_COMPUTE_61
CUjit_target)
TARGET_COMPUTE_20 - Compute device class 2.0TARGET_COMPUTE_21 - Compute device class 2.1TARGET_COMPUTE_30 - Compute device class 3.0TARGET_COMPUTE_32 - Compute device class 3.2TARGET_COMPUTE_35 - Compute device class 3.5TARGET_COMPUTE_37 - Compute device class 3.7TARGET_COMPUTE_50 - Compute device class 5.0TARGET_COMPUTE_52 - Compute device class 5.2TARGET_COMPUTE_53 - Compute device class 5.3TARGET_COMPUTE_60 - Compute device class 6.0.TARGET_COMPUTE_61 - Compute device class 6.1.TARGET_COMPUTE_62 - Compute device class 6.2.TARGET_COMPUTE_70 - Compute device class 7.0.TARGET_COMPUTE_72 - Compute device class 7.2.TARGET_COMPUTE_75 - Compute device class 7.5.public static final int CU_TARGET_COMPUTE_62
CUjit_target)
TARGET_COMPUTE_20 - Compute device class 2.0TARGET_COMPUTE_21 - Compute device class 2.1TARGET_COMPUTE_30 - Compute device class 3.0TARGET_COMPUTE_32 - Compute device class 3.2TARGET_COMPUTE_35 - Compute device class 3.5TARGET_COMPUTE_37 - Compute device class 3.7TARGET_COMPUTE_50 - Compute device class 5.0TARGET_COMPUTE_52 - Compute device class 5.2TARGET_COMPUTE_53 - Compute device class 5.3TARGET_COMPUTE_60 - Compute device class 6.0.TARGET_COMPUTE_61 - Compute device class 6.1.TARGET_COMPUTE_62 - Compute device class 6.2.TARGET_COMPUTE_70 - Compute device class 7.0.TARGET_COMPUTE_72 - Compute device class 7.2.TARGET_COMPUTE_75 - Compute device class 7.5.public static final int CU_TARGET_COMPUTE_70
CUjit_target)
TARGET_COMPUTE_20 - Compute device class 2.0TARGET_COMPUTE_21 - Compute device class 2.1TARGET_COMPUTE_30 - Compute device class 3.0TARGET_COMPUTE_32 - Compute device class 3.2TARGET_COMPUTE_35 - Compute device class 3.5TARGET_COMPUTE_37 - Compute device class 3.7TARGET_COMPUTE_50 - Compute device class 5.0TARGET_COMPUTE_52 - Compute device class 5.2TARGET_COMPUTE_53 - Compute device class 5.3TARGET_COMPUTE_60 - Compute device class 6.0.TARGET_COMPUTE_61 - Compute device class 6.1.TARGET_COMPUTE_62 - Compute device class 6.2.TARGET_COMPUTE_70 - Compute device class 7.0.TARGET_COMPUTE_72 - Compute device class 7.2.TARGET_COMPUTE_75 - Compute device class 7.5.public static final int CU_TARGET_COMPUTE_72
CUjit_target)
TARGET_COMPUTE_20 - Compute device class 2.0TARGET_COMPUTE_21 - Compute device class 2.1TARGET_COMPUTE_30 - Compute device class 3.0TARGET_COMPUTE_32 - Compute device class 3.2TARGET_COMPUTE_35 - Compute device class 3.5TARGET_COMPUTE_37 - Compute device class 3.7TARGET_COMPUTE_50 - Compute device class 5.0TARGET_COMPUTE_52 - Compute device class 5.2TARGET_COMPUTE_53 - Compute device class 5.3TARGET_COMPUTE_60 - Compute device class 6.0.TARGET_COMPUTE_61 - Compute device class 6.1.TARGET_COMPUTE_62 - Compute device class 6.2.TARGET_COMPUTE_70 - Compute device class 7.0.TARGET_COMPUTE_72 - Compute device class 7.2.TARGET_COMPUTE_75 - Compute device class 7.5.public static final int CU_TARGET_COMPUTE_75
CUjit_target)
TARGET_COMPUTE_20 - Compute device class 2.0TARGET_COMPUTE_21 - Compute device class 2.1TARGET_COMPUTE_30 - Compute device class 3.0TARGET_COMPUTE_32 - Compute device class 3.2TARGET_COMPUTE_35 - Compute device class 3.5TARGET_COMPUTE_37 - Compute device class 3.7TARGET_COMPUTE_50 - Compute device class 5.0TARGET_COMPUTE_52 - Compute device class 5.2TARGET_COMPUTE_53 - Compute device class 5.3TARGET_COMPUTE_60 - Compute device class 6.0.TARGET_COMPUTE_61 - Compute device class 6.1.TARGET_COMPUTE_62 - Compute device class 6.2.TARGET_COMPUTE_70 - Compute device class 7.0.TARGET_COMPUTE_72 - Compute device class 7.2.TARGET_COMPUTE_75 - Compute device class 7.5.public static final int CU_PREFER_PTX
CUjit_fallback)
PREFER_PTX - Prefer to compile ptx if exact binary match not foundPREFER_BINARY - Prefer to fall back to compatible binary code if exact match not foundpublic static final int CU_PREFER_BINARY
CUjit_fallback)
PREFER_PTX - Prefer to compile ptx if exact binary match not foundPREFER_BINARY - Prefer to fall back to compatible binary code if exact match not foundpublic static final int CU_JIT_CACHE_OPTION_NONE
dlcm. (CUjit_cacheMode)
JIT_CACHE_OPTION_NONE - Compile with no -dlcm flag specifiedJIT_CACHE_OPTION_CG - Compile with L1 cache disabledJIT_CACHE_OPTION_CA - Compile with L1 cache enabledpublic static final int CU_JIT_CACHE_OPTION_CG
dlcm. (CUjit_cacheMode)
JIT_CACHE_OPTION_NONE - Compile with no -dlcm flag specifiedJIT_CACHE_OPTION_CG - Compile with L1 cache disabledJIT_CACHE_OPTION_CA - Compile with L1 cache enabledpublic static final int CU_JIT_CACHE_OPTION_CA
dlcm. (CUjit_cacheMode)
JIT_CACHE_OPTION_NONE - Compile with no -dlcm flag specifiedJIT_CACHE_OPTION_CG - Compile with L1 cache disabledJIT_CACHE_OPTION_CA - Compile with L1 cache enabledpublic static final int CU_GRAPHICS_REGISTER_FLAGS_NONE
CUgraphicsRegisterFlags)
public static final int CU_GRAPHICS_REGISTER_FLAGS_READ_ONLY
CUgraphicsRegisterFlags)
public static final int CU_GRAPHICS_REGISTER_FLAGS_WRITE_DISCARD
CUgraphicsRegisterFlags)
public static final int CU_GRAPHICS_REGISTER_FLAGS_SURFACE_LDST
CUgraphicsRegisterFlags)
public static final int CU_GRAPHICS_REGISTER_FLAGS_TEXTURE_GATHER
CUgraphicsRegisterFlags)
public static final int CU_GRAPHICS_MAP_RESOURCE_FLAGS_NONE
CUgraphicsMapResourceFlags)
public static final int CU_GRAPHICS_MAP_RESOURCE_FLAGS_READ_ONLY
CUgraphicsMapResourceFlags)
public static final int CU_GRAPHICS_MAP_RESOURCE_FLAGS_WRITE_DISCARD
CUgraphicsMapResourceFlags)
public static final int CU_CUBEMAP_FACE_POSITIVE_X
CUarray_cubemap_face)
CUBEMAP_FACE_POSITIVE_X - Positive X face of cubemapCUBEMAP_FACE_NEGATIVE_X - Negative X face of cubemapCUBEMAP_FACE_POSITIVE_Y - Positive Y face of cubemapCUBEMAP_FACE_NEGATIVE_Y - Negative Y face of cubemapCUBEMAP_FACE_POSITIVE_Z - Positive Z face of cubemapCUBEMAP_FACE_NEGATIVE_Z - Negative Z face of cubemappublic static final int CU_CUBEMAP_FACE_NEGATIVE_X
CUarray_cubemap_face)
CUBEMAP_FACE_POSITIVE_X - Positive X face of cubemapCUBEMAP_FACE_NEGATIVE_X - Negative X face of cubemapCUBEMAP_FACE_POSITIVE_Y - Positive Y face of cubemapCUBEMAP_FACE_NEGATIVE_Y - Negative Y face of cubemapCUBEMAP_FACE_POSITIVE_Z - Positive Z face of cubemapCUBEMAP_FACE_NEGATIVE_Z - Negative Z face of cubemappublic static final int CU_CUBEMAP_FACE_POSITIVE_Y
CUarray_cubemap_face)
CUBEMAP_FACE_POSITIVE_X - Positive X face of cubemapCUBEMAP_FACE_NEGATIVE_X - Negative X face of cubemapCUBEMAP_FACE_POSITIVE_Y - Positive Y face of cubemapCUBEMAP_FACE_NEGATIVE_Y - Negative Y face of cubemapCUBEMAP_FACE_POSITIVE_Z - Positive Z face of cubemapCUBEMAP_FACE_NEGATIVE_Z - Negative Z face of cubemappublic static final int CU_CUBEMAP_FACE_NEGATIVE_Y
CUarray_cubemap_face)
CUBEMAP_FACE_POSITIVE_X - Positive X face of cubemapCUBEMAP_FACE_NEGATIVE_X - Negative X face of cubemapCUBEMAP_FACE_POSITIVE_Y - Positive Y face of cubemapCUBEMAP_FACE_NEGATIVE_Y - Negative Y face of cubemapCUBEMAP_FACE_POSITIVE_Z - Positive Z face of cubemapCUBEMAP_FACE_NEGATIVE_Z - Negative Z face of cubemappublic static final int CU_CUBEMAP_FACE_POSITIVE_Z
CUarray_cubemap_face)
CUBEMAP_FACE_POSITIVE_X - Positive X face of cubemapCUBEMAP_FACE_NEGATIVE_X - Negative X face of cubemapCUBEMAP_FACE_POSITIVE_Y - Positive Y face of cubemapCUBEMAP_FACE_NEGATIVE_Y - Negative Y face of cubemapCUBEMAP_FACE_POSITIVE_Z - Positive Z face of cubemapCUBEMAP_FACE_NEGATIVE_Z - Negative Z face of cubemappublic static final int CU_CUBEMAP_FACE_NEGATIVE_Z
CUarray_cubemap_face)
CUBEMAP_FACE_POSITIVE_X - Positive X face of cubemapCUBEMAP_FACE_NEGATIVE_X - Negative X face of cubemapCUBEMAP_FACE_POSITIVE_Y - Positive Y face of cubemapCUBEMAP_FACE_NEGATIVE_Y - Negative Y face of cubemapCUBEMAP_FACE_POSITIVE_Z - Positive Z face of cubemapCUBEMAP_FACE_NEGATIVE_Z - Negative Z face of cubemappublic static final int CU_LIMIT_STACK_SIZE
CUlimit)
LIMIT_STACK_SIZE - GPU thread stack sizeLIMIT_PRINTF_FIFO_SIZE - GPU printf FIFO sizeLIMIT_MALLOC_HEAP_SIZE - GPU malloc heap sizeLIMIT_DEV_RUNTIME_SYNC_DEPTH - GPU device runtime launch synchronize depthLIMIT_DEV_RUNTIME_PENDING_LAUNCH_COUNT - GPU device runtime pending launch countLIMIT_MAX_L2_FETCH_GRANULARITY - A value between 0 and 128 that indicates the maximum fetch granularity of L2 (in Bytes). This is a hintpublic static final int CU_LIMIT_PRINTF_FIFO_SIZE
CUlimit)
LIMIT_STACK_SIZE - GPU thread stack sizeLIMIT_PRINTF_FIFO_SIZE - GPU printf FIFO sizeLIMIT_MALLOC_HEAP_SIZE - GPU malloc heap sizeLIMIT_DEV_RUNTIME_SYNC_DEPTH - GPU device runtime launch synchronize depthLIMIT_DEV_RUNTIME_PENDING_LAUNCH_COUNT - GPU device runtime pending launch countLIMIT_MAX_L2_FETCH_GRANULARITY - A value between 0 and 128 that indicates the maximum fetch granularity of L2 (in Bytes). This is a hintpublic static final int CU_LIMIT_MALLOC_HEAP_SIZE
CUlimit)
LIMIT_STACK_SIZE - GPU thread stack sizeLIMIT_PRINTF_FIFO_SIZE - GPU printf FIFO sizeLIMIT_MALLOC_HEAP_SIZE - GPU malloc heap sizeLIMIT_DEV_RUNTIME_SYNC_DEPTH - GPU device runtime launch synchronize depthLIMIT_DEV_RUNTIME_PENDING_LAUNCH_COUNT - GPU device runtime pending launch countLIMIT_MAX_L2_FETCH_GRANULARITY - A value between 0 and 128 that indicates the maximum fetch granularity of L2 (in Bytes). This is a hintpublic static final int CU_LIMIT_DEV_RUNTIME_SYNC_DEPTH
CUlimit)
LIMIT_STACK_SIZE - GPU thread stack sizeLIMIT_PRINTF_FIFO_SIZE - GPU printf FIFO sizeLIMIT_MALLOC_HEAP_SIZE - GPU malloc heap sizeLIMIT_DEV_RUNTIME_SYNC_DEPTH - GPU device runtime launch synchronize depthLIMIT_DEV_RUNTIME_PENDING_LAUNCH_COUNT - GPU device runtime pending launch countLIMIT_MAX_L2_FETCH_GRANULARITY - A value between 0 and 128 that indicates the maximum fetch granularity of L2 (in Bytes). This is a hintpublic static final int CU_LIMIT_DEV_RUNTIME_PENDING_LAUNCH_COUNT
CUlimit)
LIMIT_STACK_SIZE - GPU thread stack sizeLIMIT_PRINTF_FIFO_SIZE - GPU printf FIFO sizeLIMIT_MALLOC_HEAP_SIZE - GPU malloc heap sizeLIMIT_DEV_RUNTIME_SYNC_DEPTH - GPU device runtime launch synchronize depthLIMIT_DEV_RUNTIME_PENDING_LAUNCH_COUNT - GPU device runtime pending launch countLIMIT_MAX_L2_FETCH_GRANULARITY - A value between 0 and 128 that indicates the maximum fetch granularity of L2 (in Bytes). This is a hintpublic static final int CU_LIMIT_MAX_L2_FETCH_GRANULARITY
CUlimit)
LIMIT_STACK_SIZE - GPU thread stack sizeLIMIT_PRINTF_FIFO_SIZE - GPU printf FIFO sizeLIMIT_MALLOC_HEAP_SIZE - GPU malloc heap sizeLIMIT_DEV_RUNTIME_SYNC_DEPTH - GPU device runtime launch synchronize depthLIMIT_DEV_RUNTIME_PENDING_LAUNCH_COUNT - GPU device runtime pending launch countLIMIT_MAX_L2_FETCH_GRANULARITY - A value between 0 and 128 that indicates the maximum fetch granularity of L2 (in Bytes). This is a hintpublic static final int CUDA_SUCCESS
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_INVALID_VALUE
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_OUT_OF_MEMORY
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_NOT_INITIALIZED
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_DEINITIALIZED
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_PROFILER_DISABLED
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_PROFILER_NOT_INITIALIZED
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_PROFILER_ALREADY_STARTED
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_PROFILER_ALREADY_STOPPED
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_NO_DEVICE
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_INVALID_DEVICE
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_INVALID_IMAGE
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_INVALID_CONTEXT
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_CONTEXT_ALREADY_CURRENT
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_MAP_FAILED
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_UNMAP_FAILED
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_ARRAY_IS_MAPPED
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_ALREADY_MAPPED
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_NO_BINARY_FOR_GPU
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_ALREADY_ACQUIRED
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_NOT_MAPPED
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_NOT_MAPPED_AS_ARRAY
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_NOT_MAPPED_AS_POINTER
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_ECC_UNCORRECTABLE
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_UNSUPPORTED_LIMIT
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_CONTEXT_ALREADY_IN_USE
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_PEER_ACCESS_UNSUPPORTED
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_INVALID_PTX
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_INVALID_GRAPHICS_CONTEXT
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_NVLINK_UNCORRECTABLE
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_JIT_COMPILER_NOT_FOUND
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_INVALID_SOURCE
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_FILE_NOT_FOUND
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_SHARED_OBJECT_INIT_FAILED
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_OPERATING_SYSTEM
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_INVALID_HANDLE
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_ILLEGAL_STATE
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_NOT_FOUND
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_NOT_READY
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_ILLEGAL_ADDRESS
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_LAUNCH_TIMEOUT
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_PEER_ACCESS_NOT_ENABLED
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_CONTEXT_IS_DESTROYED
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_ASSERT
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_TOO_MANY_PEERS
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_HARDWARE_STACK_ERROR
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_ILLEGAL_INSTRUCTION
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_MISALIGNED_ADDRESS
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_INVALID_ADDRESS_SPACE
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_INVALID_PC
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_LAUNCH_FAILED
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_NOT_PERMITTED
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_NOT_SUPPORTED
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_SYSTEM_NOT_READY
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_SYSTEM_DRIVER_MISMATCH
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_STREAM_CAPTURE_INVALIDATED
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_STREAM_CAPTURE_MERGE
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_STREAM_CAPTURE_UNMATCHED
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_STREAM_CAPTURE_UNJOINED
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_STREAM_CAPTURE_ISOLATION
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_STREAM_CAPTURE_IMPLICIT
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_CAPTURED_EVENT
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static final int CUDA_ERROR_UNKNOWN
CUresult)
CUDA_SUCCESS -
The API call returned with no errors.
In the case of query calls, this also means that the operation being queried is complete (see EventQuery and StreamQuery).
CUDA_ERROR_INVALID_VALUE - This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.CUDA_ERROR_OUT_OF_MEMORY - The API call failed because it was unable to allocate enough memory to perform the requested operation.CUDA_ERROR_NOT_INITIALIZED - This indicates that the CUDA driver has not been initialized with Init or that initialization has failed.CUDA_ERROR_DEINITIALIZED - This indicates that the CUDA driver is in the process of shutting down.CUDA_ERROR_PROFILER_DISABLED -
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual
profiler.
CUDA_ERROR_PROFILER_NOT_INITIALIZED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to attempt to enable/disable the profiling via ProfilerStart or ProfilerStop without initialization.
CUDA_ERROR_PROFILER_ALREADY_STARTED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStart when profiling is already enabled.
CUDA_ERROR_PROFILER_ALREADY_STOPPED -
This error return is deprecated as of CUDA 5.0.
It is no longer an error to call ProfilerStop when profiling is already disabled.
CUDA_ERROR_NO_DEVICE - This indicates that no CUDA-capable devices were detected by the installed CUDA driver.CUDA_ERROR_INVALID_DEVICE - This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.CUDA_ERROR_INVALID_IMAGE - This indicates that the device kernel image is invalid. This can also indicate an invalid CUDA module.CUDA_ERROR_INVALID_CONTEXT -
This most frequently indicates that there is no context bound to the current thread.
This can also be returned if the context passed to an API call is not a valid handle (such as a context that has had CtxDestroy invoked on it).
This can also be returned if a user mixes different API versions (i.e. 3010 context with 3020 API calls).
See CtxGetApiVersion for more details.
CUDA_ERROR_CONTEXT_ALREADY_CURRENT -
This indicated that the context being supplied as a parameter to the API call was already the active context.
This error return is deprecated as of CUDA 3.2. It is no longer an error to attempt to push the active context via CtxPushCurrent.
CUDA_ERROR_MAP_FAILED - This indicates that a map or register operation has failed.CUDA_ERROR_UNMAP_FAILED - This indicates that an unmap or unregister operation has failed.CUDA_ERROR_ARRAY_IS_MAPPED - This indicates that the specified array is currently mapped and thus cannot be destroyed.CUDA_ERROR_ALREADY_MAPPED - This indicates that the resource is already mapped.CUDA_ERROR_NO_BINARY_FOR_GPU -
This indicates that there is no kernel image available that is suitable for the device.
This can occur when a user specifies code generation options for a particular CUDA source file that do not include the corresponding device configuration.
CUDA_ERROR_ALREADY_ACQUIRED - This indicates that a resource has already been acquired.CUDA_ERROR_NOT_MAPPED - This indicates that a resource is not mapped.CUDA_ERROR_NOT_MAPPED_AS_ARRAY - This indicates that a mapped resource is not available for access as an array.CUDA_ERROR_NOT_MAPPED_AS_POINTER - This indicates that a mapped resource is not available for access as a pointer.CUDA_ERROR_ECC_UNCORRECTABLE - This indicates that an uncorrectable ECC error was detected during execution.CUDA_ERROR_UNSUPPORTED_LIMIT - This indicates that the CUlimit passed to the API call is not supported by the active device.CUDA_ERROR_CONTEXT_ALREADY_IN_USE -
This indicates that the CUcontext passed to the API call can only be bound to a single CPU thread at a time but is already bound to a CPU
thread.
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED - This indicates that peer access is not supported across the given devices.CUDA_ERROR_INVALID_PTX - This indicates that a PTX JIT compilation failed.CUDA_ERROR_INVALID_GRAPHICS_CONTEXT - This indicates an error with OpenGL or DirectX context.CUDA_ERROR_NVLINK_UNCORRECTABLE - This indicates that an uncorrectable NVLink error was detected during the execution.CUDA_ERROR_JIT_COMPILER_NOT_FOUND - This indicates that the PTX JIT compiler library was not found.CUDA_ERROR_INVALID_SOURCE - This indicates that the device kernel source is invalid.CUDA_ERROR_FILE_NOT_FOUND - This indicates that the file specified was not found.CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND - This indicates that a link to a shared object failed to resolve.CUDA_ERROR_SHARED_OBJECT_INIT_FAILED - This indicates that initialization of a shared object failed.CUDA_ERROR_OPERATING_SYSTEM - This indicates that an OS call failed.CUDA_ERROR_INVALID_HANDLE -
This indicates that a resource handle passed to the API call was not valid.
Resource handles are opaque types like CUstream and CUevent.
CUDA_ERROR_ILLEGAL_STATE - This indicates that a resource required by the API call is not in a valid state to perform the requested operation.CUDA_ERROR_NOT_FOUND - This indicates that a named symbol was not found. Examples of symbols are global/constant variable names, texture names, and surface names.CUDA_ERROR_NOT_READY -
This indicates that asynchronous operations issued previously have not completed yet.
This result is not actually an error, but must be indicated differently than CUDA_SUCCESS (which indicates completion). Calls that may return this
value include EventQuery and StreamQuery.
CUDA_ERROR_ILLEGAL_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on an invalid memory address.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES -
This indicates that a launch did not occur because it did not have appropriate resources.
This error usually indicates that the user has attempted to pass too many arguments to the device kernel, or the kernel launch specifies too many threads for the kernel's register count. Passing arguments of the wrong size (i.e. a 64-bit pointer when a 32-bit int is expected) is equivalent to passing too many arguments and can also result in this error.
CUDA_ERROR_LAUNCH_TIMEOUT -
This indicates that the device kernel took too long to execute.
This can only occur if timeouts are enabled - see the device attribute DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT for more information. This leaves the
process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and
relaunched.
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING - This error indicates a kernel launch that uses an incompatible texturing mode.CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED -
This error indicates that a call to CtxEnablePeerAccess is trying to re-enable peer access to a context which has already had peer access to it
enabled.
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED - This error indicates that CtxDisablePeerAccess is trying to disable peer access which has not been enabled yet via CtxEnablePeerAccess.CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE - This error indicates that the primary context for the specified device has already been initialized.CUDA_ERROR_CONTEXT_IS_DESTROYED -
This error indicates that the context current to the calling thread has been destroyed using CtxDestroy, or is a primary context which has not
yet been initialized.
CUDA_ERROR_ASSERT -
A device-side assert triggered during kernel execution.
The context cannot be used anymore, and must be destroyed. All existing device memory allocations from this context are invalid and must be reconstructed if the program is to continue using CUDA.
CUDA_ERROR_TOO_MANY_PEERS -
This error indicates that the hardware resources required to enable peer access have been exhausted for one or more of the devices passed to
CtxEnablePeerAccess.
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED - This error indicates that the memory range passed to MemHostRegister has already been registered.CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED - This error indicates that the pointer passed to MemHostUnregister does not correspond to any currently registered memory region.CUDA_ERROR_HARDWARE_STACK_ERROR -
While executing a kernel, the device encountered a stack error.
This can be due to stack corruption or exceeding the stack size limit. This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_ILLEGAL_INSTRUCTION -
While executing a kernel, the device encountered an illegal instruction.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_MISALIGNED_ADDRESS -
While executing a kernel, the device encountered a load or store instruction on a memory address which is not aligned.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_ADDRESS_SPACE -
While executing a kernel, the device encountered an instruction which can only operate on memory locations in certain address spaces (global,
shared, or local), but was supplied a memory address not belonging to an allowed address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_INVALID_PC -
While executing a kernel, the device program counter wrapped its address space.
This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_LAUNCH_FAILED -
An exception occurred on the device while executing a kernel.
Common causes include dereferencing an invalid device pointer and accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases can be found in the system specific user guide.This leaves the process in an inconsistent state and any further CUDA work will return the same error. To continue using CUDA, the process must be terminated and relaunched.
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE -
This error indicates that the number of blocks launched per grid for a kernel that was launched via either LaunchCooperativeKernel or
LaunchCooperativeKernelMultiDevice exceeds the maximum number of blocks as allowed by OccupancyMaxActiveBlocksPerMultiprocessor or
OccupancyMaxActiveBlocksPerMultiprocessorWithFlags times the number of multiprocessors as specified by the device attribute
DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT.
CUDA_ERROR_NOT_PERMITTED - This error indicates that the attempted operation is not permitted.CUDA_ERROR_NOT_SUPPORTED - This error indicates that the attempted operation is not supported on the current system or device.CUDA_ERROR_SYSTEM_NOT_READY -
This error indicates that the system is not yet ready to start any CUDA work.
To continue using CUDA, verify the system configuration is in a valid state and all required driver daemons are actively running. More information about this error can be found in the system specific user guide.
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH -
This error indicates that there is a mismatch between the versions of the display driver and the CUDA driver.
Refer to the compatibility documentation for supported versions.
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE -
This error indicates that the system was upgraded to run with forward compatibility but the visible hardware detected by CUDA does not support this
configuration.
Refer to the compatibility documentation for the supported hardware matrix or ensure that only supported hardware is visible during initialization
via the CUDA_VISIBLE_DEVICES environment variable.
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED - This error indicates that the operation is not permitted when the stream is capturing.CUDA_ERROR_STREAM_CAPTURE_INVALIDATED - This error indicates that the current capture sequence on the stream has been invalidated due to a previous error.CUDA_ERROR_STREAM_CAPTURE_MERGE - This error indicates that the operation would have resulted in a merge of two independent capture sequences.CUDA_ERROR_STREAM_CAPTURE_UNMATCHED - This error indicates that the capture was not initiated in this stream.CUDA_ERROR_STREAM_CAPTURE_UNJOINED - This error indicates that the capture sequence contains a fork that was not joined to the primary stream.CUDA_ERROR_STREAM_CAPTURE_ISOLATION -
This error indicates that a dependency would have been created which crosses the capture sequence boundary.
Only implicit in-stream ordering dependencies are allowed to cross the boundary.
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT - This error indicates a disallowed implicit dependency on a current capture sequence from cudaStreamLegacy.CUDA_ERROR_CAPTURED_EVENT - This error indicates that the operation is not permitted on an event which was last recorded in a capturing stream.CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD -
A stream capture sequence not initiated with the STREAM_CAPTURE_MODE_RELAXED argument to StreamBeginCapture was passed to StreamEndCapture
in a different thread.
CUDA_ERROR_UNKNOWN - This indicates that an unknown internal error has occurred.public static org.lwjgl.system.SharedLibrary getLibrary()
SharedLibrary.public static int ncuGetErrorString(int error,
long pStr)
public static int cuGetErrorString(int error,
org.lwjgl.PointerBuffer pStr)
public static int ncuGetErrorName(int error,
long pStr)
public static int cuGetErrorName(int error,
org.lwjgl.PointerBuffer pStr)
public static int cuInit(int Flags)
public static int ncuDriverGetVersion(long driverVersion)
public static int cuDriverGetVersion(java.nio.IntBuffer driverVersion)
public static int ncuDeviceGet(long device,
int ordinal)
public static int cuDeviceGet(java.nio.IntBuffer device,
int ordinal)
public static int ncuDeviceGetCount(long count)
public static int cuDeviceGetCount(java.nio.IntBuffer count)
public static int ncuDeviceGetName(long name,
int len,
int dev)
public static int cuDeviceGetName(java.nio.ByteBuffer name,
int dev)
public static int ncuDeviceTotalMem(long bytes,
int dev)
public static int cuDeviceTotalMem(org.lwjgl.PointerBuffer bytes,
int dev)
public static int ncuDeviceGetAttribute(long pi,
int attrib,
int dev)
public static int cuDeviceGetAttribute(java.nio.IntBuffer pi,
int attrib,
int dev)
public static int ncuDeviceGetProperties(long prop,
int dev)
public static int cuDeviceGetProperties(CUdevprop prop, int dev)
public static int ncuDeviceComputeCapability(long major,
long minor,
int dev)
public static int cuDeviceComputeCapability(java.nio.IntBuffer major,
java.nio.IntBuffer minor,
int dev)
public static int ncuCtxCreate(long pctx,
int flags,
int dev)
public static int cuCtxCreate(org.lwjgl.PointerBuffer pctx,
int flags,
int dev)
public static int ncuCtxGetDevice(long device)
public static int cuCtxGetDevice(java.nio.IntBuffer device)
public static int cuCtxSynchronize()
public static int cuCtxSetLimit(int limit,
long value)
public static int ncuCtxGetLimit(long pvalue,
int limit)
public static int cuCtxGetLimit(org.lwjgl.PointerBuffer pvalue,
int limit)
public static int ncuCtxGetCacheConfig(long pconfig)
public static int cuCtxGetCacheConfig(java.nio.IntBuffer pconfig)
public static int cuCtxSetCacheConfig(int config)
public static int ncuCtxGetApiVersion(long ctx,
long version)
public static int cuCtxGetApiVersion(long ctx,
java.nio.IntBuffer version)
public static int ncuCtxGetStreamPriorityRange(long leastPriority,
long greatestPriority)
public static int cuCtxGetStreamPriorityRange(@Nullable
java.nio.IntBuffer leastPriority,
@Nullable
java.nio.IntBuffer greatestPriority)
public static int ncuCtxAttach(long pctx,
int flags)
public static int cuCtxAttach(org.lwjgl.PointerBuffer pctx,
int flags)
public static int cuCtxDetach(long ctx)
public static int ncuModuleLoad(long module,
long fname)
public static int cuModuleLoad(org.lwjgl.PointerBuffer module,
java.nio.ByteBuffer fname)
public static int cuModuleLoad(org.lwjgl.PointerBuffer module,
java.lang.CharSequence fname)
public static int ncuModuleLoadData(long module,
long image)
public static int cuModuleLoadData(org.lwjgl.PointerBuffer module,
java.nio.ByteBuffer image)
public static int ncuModuleLoadDataEx(long module,
long image,
int numOptions,
long options,
long optionValues)
public static int cuModuleLoadDataEx(org.lwjgl.PointerBuffer module,
java.nio.ByteBuffer image,
@Nullable
java.nio.IntBuffer options,
@Nullable
org.lwjgl.PointerBuffer optionValues)
public static int ncuModuleLoadFatBinary(long module,
long fatCubin)
public static int cuModuleLoadFatBinary(org.lwjgl.PointerBuffer module,
java.nio.ByteBuffer fatCubin)
public static int cuModuleUnload(long hmod)
public static int ncuModuleGetFunction(long hfunc,
long hmod,
long name)
public static int cuModuleGetFunction(org.lwjgl.PointerBuffer hfunc,
long hmod,
java.nio.ByteBuffer name)
public static int cuModuleGetFunction(org.lwjgl.PointerBuffer hfunc,
long hmod,
java.lang.CharSequence name)
public static int ncuModuleGetGlobal(long dptr,
long bytes,
long hmod,
long name)
public static int cuModuleGetGlobal(@Nullable
org.lwjgl.PointerBuffer dptr,
@Nullable
org.lwjgl.PointerBuffer bytes,
long hmod,
java.nio.ByteBuffer name)
public static int cuModuleGetGlobal(@Nullable
org.lwjgl.PointerBuffer dptr,
@Nullable
org.lwjgl.PointerBuffer bytes,
long hmod,
java.lang.CharSequence name)
public static int ncuModuleGetTexRef(long pTexRef,
long hmod,
long name)
public static int cuModuleGetTexRef(org.lwjgl.PointerBuffer pTexRef,
long hmod,
java.nio.ByteBuffer name)
public static int cuModuleGetTexRef(org.lwjgl.PointerBuffer pTexRef,
long hmod,
java.lang.CharSequence name)
public static int ncuModuleGetSurfRef(long pSurfRef,
long hmod,
long name)
public static int cuModuleGetSurfRef(org.lwjgl.PointerBuffer pSurfRef,
long hmod,
java.nio.ByteBuffer name)
public static int cuModuleGetSurfRef(org.lwjgl.PointerBuffer pSurfRef,
long hmod,
java.lang.CharSequence name)
public static int ncuMemGetInfo(long free,
long total)
public static int cuMemGetInfo(org.lwjgl.PointerBuffer free,
org.lwjgl.PointerBuffer total)
public static int ncuMemAlloc(long dptr,
long bytesize)
public static int cuMemAlloc(org.lwjgl.PointerBuffer dptr,
long bytesize)
public static int ncuMemAllocPitch(long dptr,
long pPitch,
long WidthInBytes,
long Height,
int ElementSizeBytes)
public static int cuMemAllocPitch(org.lwjgl.PointerBuffer dptr,
org.lwjgl.PointerBuffer pPitch,
long WidthInBytes,
long Height,
int ElementSizeBytes)
public static int cuMemFree(long dptr)
public static int ncuMemGetAddressRange(long pbase,
long psize,
long dptr)
public static int cuMemGetAddressRange(@Nullable
org.lwjgl.PointerBuffer pbase,
@Nullable
org.lwjgl.PointerBuffer psize,
long dptr)
public static int ncuMemAllocHost(long pp,
long bytesize)
public static int cuMemAllocHost(org.lwjgl.PointerBuffer pp,
long bytesize)
public static int ncuMemFreeHost(long p)
public static int cuMemFreeHost(java.nio.ByteBuffer p)
public static int ncuMemHostAlloc(long pp,
long bytesize,
int Flags)
public static int cuMemHostAlloc(org.lwjgl.PointerBuffer pp,
long bytesize,
int Flags)
public static int ncuMemHostGetDevicePointer(long pdptr,
long p,
int Flags)
public static int cuMemHostGetDevicePointer(org.lwjgl.PointerBuffer pdptr,
java.nio.ByteBuffer p,
int Flags)
public static int ncuMemHostGetFlags(long pFlags,
long p)
public static int cuMemHostGetFlags(java.nio.IntBuffer pFlags,
java.nio.ByteBuffer p)
public static int ncuMemcpyHtoD(long dstDevice,
long srcHost,
long ByteCount)
public static int cuMemcpyHtoD(long dstDevice,
java.nio.ByteBuffer srcHost)
public static int cuMemcpyHtoD(long dstDevice,
java.nio.ShortBuffer srcHost)
public static int cuMemcpyHtoD(long dstDevice,
java.nio.IntBuffer srcHost)
public static int cuMemcpyHtoD(long dstDevice,
java.nio.LongBuffer srcHost)
public static int cuMemcpyHtoD(long dstDevice,
java.nio.FloatBuffer srcHost)
public static int cuMemcpyHtoD(long dstDevice,
java.nio.DoubleBuffer srcHost)
public static int cuMemcpyHtoD(long dstDevice,
org.lwjgl.PointerBuffer srcHost)
public static int ncuMemcpyDtoH(long dstHost,
long srcDevice,
long ByteCount)
public static int cuMemcpyDtoH(java.nio.ByteBuffer dstHost,
long srcDevice)
public static int cuMemcpyDtoH(java.nio.ShortBuffer dstHost,
long srcDevice)
public static int cuMemcpyDtoH(java.nio.IntBuffer dstHost,
long srcDevice)
public static int cuMemcpyDtoH(java.nio.LongBuffer dstHost,
long srcDevice)
public static int cuMemcpyDtoH(java.nio.FloatBuffer dstHost,
long srcDevice)
public static int cuMemcpyDtoH(java.nio.DoubleBuffer dstHost,
long srcDevice)
public static int cuMemcpyDtoH(org.lwjgl.PointerBuffer dstHost,
long srcDevice)
public static int cuMemcpyDtoD(long dstDevice,
long srcDevice,
long ByteCount)
public static int cuMemcpyDtoA(long dstArray,
long dstOffset,
long srcDevice,
long ByteCount)
public static int cuMemcpyAtoD(long dstDevice,
long srcArray,
long srcOffset,
long ByteCount)
public static int ncuMemcpyHtoA(long dstArray,
long dstOffset,
long srcHost,
long ByteCount)
public static int cuMemcpyHtoA(long dstArray,
long dstOffset,
java.nio.ByteBuffer srcHost)
public static int cuMemcpyHtoA(long dstArray,
long dstOffset,
java.nio.ShortBuffer srcHost)
public static int cuMemcpyHtoA(long dstArray,
long dstOffset,
java.nio.IntBuffer srcHost)
public static int cuMemcpyHtoA(long dstArray,
long dstOffset,
java.nio.LongBuffer srcHost)
public static int cuMemcpyHtoA(long dstArray,
long dstOffset,
java.nio.FloatBuffer srcHost)
public static int cuMemcpyHtoA(long dstArray,
long dstOffset,
java.nio.DoubleBuffer srcHost)
public static int cuMemcpyHtoA(long dstArray,
long dstOffset,
org.lwjgl.PointerBuffer srcHost)
public static int ncuMemcpyAtoH(long dstHost,
long srcArray,
long srcOffset,
long ByteCount)
public static int cuMemcpyAtoH(java.nio.ByteBuffer dstHost,
long srcArray,
long srcOffset)
public static int cuMemcpyAtoH(java.nio.ShortBuffer dstHost,
long srcArray,
long srcOffset)
public static int cuMemcpyAtoH(java.nio.IntBuffer dstHost,
long srcArray,
long srcOffset)
public static int cuMemcpyAtoH(java.nio.LongBuffer dstHost,
long srcArray,
long srcOffset)
public static int cuMemcpyAtoH(java.nio.FloatBuffer dstHost,
long srcArray,
long srcOffset)
public static int cuMemcpyAtoH(java.nio.DoubleBuffer dstHost,
long srcArray,
long srcOffset)
public static int cuMemcpyAtoH(org.lwjgl.PointerBuffer dstHost,
long srcArray,
long srcOffset)
public static int cuMemcpyAtoA(long dstArray,
long dstOffset,
long srcArray,
long srcOffset,
long ByteCount)
public static int ncuMemcpy2D(long pCopy)
public static int cuMemcpy2D(CUDA_MEMCPY2D pCopy)
public static int ncuMemcpy2DUnaligned(long pCopy)
public static int cuMemcpy2DUnaligned(CUDA_MEMCPY2D pCopy)
public static int ncuMemcpy3D(long pCopy)
public static int cuMemcpy3D(CUDA_MEMCPY3D pCopy)
public static int ncuMemcpyHtoDAsync(long dstDevice,
long srcHost,
long ByteCount,
long hStream)
public static int cuMemcpyHtoDAsync(long dstDevice,
java.nio.ByteBuffer srcHost,
long hStream)
public static int cuMemcpyHtoDAsync(long dstDevice,
java.nio.ShortBuffer srcHost,
long hStream)
public static int cuMemcpyHtoDAsync(long dstDevice,
java.nio.IntBuffer srcHost,
long hStream)
public static int cuMemcpyHtoDAsync(long dstDevice,
java.nio.LongBuffer srcHost,
long hStream)
public static int cuMemcpyHtoDAsync(long dstDevice,
java.nio.FloatBuffer srcHost,
long hStream)
public static int cuMemcpyHtoDAsync(long dstDevice,
java.nio.DoubleBuffer srcHost,
long hStream)
public static int cuMemcpyHtoDAsync(long dstDevice,
org.lwjgl.PointerBuffer srcHost,
long hStream)
public static int ncuMemcpyDtoHAsync(long dstHost,
long srcDevice,
long ByteCount,
long hStream)
public static int cuMemcpyDtoHAsync(java.nio.ByteBuffer dstHost,
long srcDevice,
long hStream)
public static int cuMemcpyDtoHAsync(java.nio.ShortBuffer dstHost,
long srcDevice,
long hStream)
public static int cuMemcpyDtoHAsync(java.nio.IntBuffer dstHost,
long srcDevice,
long hStream)
public static int cuMemcpyDtoHAsync(java.nio.LongBuffer dstHost,
long srcDevice,
long hStream)
public static int cuMemcpyDtoHAsync(java.nio.FloatBuffer dstHost,
long srcDevice,
long hStream)
public static int cuMemcpyDtoHAsync(java.nio.DoubleBuffer dstHost,
long srcDevice,
long hStream)
public static int cuMemcpyDtoHAsync(org.lwjgl.PointerBuffer dstHost,
long srcDevice,
long hStream)
public static int cuMemcpyDtoDAsync(long dstDevice,
long srcDevice,
long ByteCount,
long hStream)
public static int ncuMemcpyHtoAAsync(long dstArray,
long dstOffset,
long srcHost,
long ByteCount,
long hStream)
public static int cuMemcpyHtoAAsync(long dstArray,
long dstOffset,
java.nio.ByteBuffer srcHost,
long hStream)
public static int cuMemcpyHtoAAsync(long dstArray,
long dstOffset,
java.nio.ShortBuffer srcHost,
long hStream)
public static int cuMemcpyHtoAAsync(long dstArray,
long dstOffset,
java.nio.IntBuffer srcHost,
long hStream)
public static int cuMemcpyHtoAAsync(long dstArray,
long dstOffset,
java.nio.LongBuffer srcHost,
long hStream)
public static int cuMemcpyHtoAAsync(long dstArray,
long dstOffset,
java.nio.FloatBuffer srcHost,
long hStream)
public static int cuMemcpyHtoAAsync(long dstArray,
long dstOffset,
java.nio.DoubleBuffer srcHost,
long hStream)
public static int cuMemcpyHtoAAsync(long dstArray,
long dstOffset,
org.lwjgl.PointerBuffer srcHost,
long hStream)
public static int ncuMemcpyAtoHAsync(long dstHost,
long srcArray,
long srcOffset,
long ByteCount,
long hStream)
public static int cuMemcpyAtoHAsync(java.nio.ByteBuffer dstHost,
long srcArray,
long srcOffset,
long hStream)
public static int cuMemcpyAtoHAsync(java.nio.ShortBuffer dstHost,
long srcArray,
long srcOffset,
long hStream)
public static int cuMemcpyAtoHAsync(java.nio.IntBuffer dstHost,
long srcArray,
long srcOffset,
long hStream)
public static int cuMemcpyAtoHAsync(java.nio.LongBuffer dstHost,
long srcArray,
long srcOffset,
long hStream)
public static int cuMemcpyAtoHAsync(java.nio.FloatBuffer dstHost,
long srcArray,
long srcOffset,
long hStream)
public static int cuMemcpyAtoHAsync(java.nio.DoubleBuffer dstHost,
long srcArray,
long srcOffset,
long hStream)
public static int cuMemcpyAtoHAsync(org.lwjgl.PointerBuffer dstHost,
long srcArray,
long srcOffset,
long hStream)
public static int ncuMemcpy2DAsync(long pCopy,
long hStream)
public static int cuMemcpy2DAsync(CUDA_MEMCPY2D pCopy, long hStream)
public static int ncuMemcpy3DAsync(long pCopy,
long hStream)
public static int cuMemcpy3DAsync(CUDA_MEMCPY3D pCopy, long hStream)
public static int cuMemsetD8(long dstDevice,
byte uc,
long N)
public static int cuMemsetD16(long dstDevice,
short us,
long N)
public static int cuMemsetD32(long dstDevice,
int ui,
long N)
public static int cuMemsetD2D8(long dstDevice,
long dstPitch,
byte uc,
long Width,
long Height)
public static int cuMemsetD2D16(long dstDevice,
long dstPitch,
short us,
long Width,
long Height)
public static int cuMemsetD2D32(long dstDevice,
long dstPitch,
int ui,
long Width,
long Height)
public static int cuMemsetD8Async(long dstDevice,
byte uc,
long N,
long hStream)
public static int cuMemsetD16Async(long dstDevice,
short us,
long N,
long hStream)
public static int cuMemsetD32Async(long dstDevice,
int ui,
long N,
long hStream)
public static int cuMemsetD2D8Async(long dstDevice,
long dstPitch,
byte uc,
long Width,
long Height,
long hStream)
public static int cuMemsetD2D16Async(long dstDevice,
long dstPitch,
short us,
long Width,
long Height,
long hStream)
public static int cuMemsetD2D32Async(long dstDevice,
long dstPitch,
int ui,
long Width,
long Height,
long hStream)
public static int ncuArrayCreate(long pHandle,
long pAllocateArray)
public static int cuArrayCreate(org.lwjgl.PointerBuffer pHandle,
CUDA_ARRAY_DESCRIPTOR pAllocateArray)
public static int ncuArrayGetDescriptor(long pArrayDescriptor,
long hArray)
public static int cuArrayGetDescriptor(CUDA_ARRAY_DESCRIPTOR pArrayDescriptor, long hArray)
public static int cuArrayDestroy(long hArray)
public static int ncuArray3DCreate(long pHandle,
long pAllocateArray)
public static int cuArray3DCreate(org.lwjgl.PointerBuffer pHandle,
CUDA_ARRAY3D_DESCRIPTOR pAllocateArray)
public static int ncuArray3DGetDescriptor(long pArrayDescriptor,
long hArray)
public static int cuArray3DGetDescriptor(CUDA_ARRAY3D_DESCRIPTOR pArrayDescriptor, long hArray)
public static int ncuStreamCreate(long phStream,
int Flags)
public static int cuStreamCreate(org.lwjgl.PointerBuffer phStream,
int Flags)
public static int ncuStreamCreateWithPriority(long phStream,
int flags,
int priority)
public static int cuStreamCreateWithPriority(org.lwjgl.PointerBuffer phStream,
int flags,
int priority)
public static int ncuStreamGetPriority(long hStream,
long priority)
public static int cuStreamGetPriority(long hStream,
java.nio.IntBuffer priority)
public static int ncuStreamGetFlags(long hStream,
long flags)
public static int cuStreamGetFlags(long hStream,
java.nio.IntBuffer flags)
public static int cuStreamWaitEvent(long hStream,
long hEvent,
int Flags)
public static int ncuStreamAddCallback(long hStream,
long callback,
long userData,
int flags)
public static int cuStreamAddCallback(long hStream,
CUstreamCallbackI callback,
long userData,
int flags)
public static int cuStreamQuery(long hStream)
public static int cuStreamSynchronize(long hStream)
public static int ncuEventCreate(long phEvent,
int Flags)
public static int cuEventCreate(org.lwjgl.PointerBuffer phEvent,
int Flags)
public static int cuEventRecord(long hEvent,
long hStream)
public static int cuEventQuery(long hEvent)
public static int cuEventSynchronize(long hEvent)
public static int ncuEventElapsedTime(long pMilliseconds,
long hStart,
long hEnd)
public static int cuEventElapsedTime(java.nio.FloatBuffer pMilliseconds,
long hStart,
long hEnd)
public static int ncuFuncGetAttribute(long pi,
int attrib,
long hfunc)
public static int cuFuncGetAttribute(java.nio.IntBuffer pi,
int attrib,
long hfunc)
public static int cuFuncSetCacheConfig(long hfunc,
int config)
public static int cuFuncSetBlockShape(long hfunc,
int x,
int y,
int z)
public static int cuFuncSetSharedSize(long hfunc,
int bytes)
public static int cuParamSetSize(long hfunc,
int numbytes)
public static int cuParamSeti(long hfunc,
int offset,
int value)
public static int cuParamSetf(long hfunc,
int offset,
float value)
public static int ncuParamSetv(long hfunc,
int offset,
long ptr,
int numbytes)
public static int cuParamSetv(long hfunc,
int offset,
java.nio.ByteBuffer ptr)
public static int cuLaunch(long f)
public static int cuLaunchGrid(long f,
int grid_width,
int grid_height)
public static int cuLaunchGridAsync(long f,
int grid_width,
int grid_height,
long hStream)
public static int cuParamSetTexRef(long hfunc,
int texunit,
long hTexRef)
public static int cuTexRefSetArray(long hTexRef,
long hArray,
int Flags)
public static int cuTexRefSetMipmappedArray(long hTexRef,
long hMipmappedArray,
int Flags)
public static int ncuTexRefSetAddress(long ByteOffset,
long hTexRef,
long dptr,
long bytes)
public static int cuTexRefSetAddress(@Nullable
org.lwjgl.PointerBuffer ByteOffset,
long hTexRef,
long dptr,
long bytes)
public static int ncuTexRefSetAddress2D(long hTexRef,
long desc,
long dptr,
long Pitch)
public static int cuTexRefSetAddress2D(long hTexRef,
CUDA_ARRAY_DESCRIPTOR desc,
long dptr,
long Pitch)
public static int cuTexRefSetFormat(long hTexRef,
int fmt,
int NumPackedComponents)
public static int cuTexRefSetAddressMode(long hTexRef,
int dim,
int am)
public static int cuTexRefSetFilterMode(long hTexRef,
int fm)
public static int cuTexRefSetMipmapFilterMode(long hTexRef,
int fm)
public static int cuTexRefSetMipmapLevelBias(long hTexRef,
float bias)
public static int cuTexRefSetMipmapLevelClamp(long hTexRef,
float minMipmapLevelClamp,
float maxMipmapLevelClamp)
public static int cuTexRefSetMaxAnisotropy(long hTexRef,
int maxAniso)
public static int ncuTexRefSetBorderColor(long hTexRef,
long pBorderColor)
public static int cuTexRefSetBorderColor(long hTexRef,
java.nio.FloatBuffer pBorderColor)
public static int cuTexRefSetFlags(long hTexRef,
int Flags)
public static int ncuTexRefGetAddress(long pdptr,
long hTexRef)
public static int cuTexRefGetAddress(org.lwjgl.PointerBuffer pdptr,
long hTexRef)
public static int ncuTexRefGetArray(long phArray,
long hTexRef)
public static int cuTexRefGetArray(org.lwjgl.PointerBuffer phArray,
long hTexRef)
public static int ncuTexRefGetMipmappedArray(long phMipmappedArray,
long hTexRef)
public static int cuTexRefGetMipmappedArray(org.lwjgl.PointerBuffer phMipmappedArray,
long hTexRef)
public static int ncuTexRefGetAddressMode(long pam,
long hTexRef,
int dim)
public static int cuTexRefGetAddressMode(java.nio.IntBuffer pam,
long hTexRef,
int dim)
public static int ncuTexRefGetFilterMode(long pfm,
long hTexRef)
public static int cuTexRefGetFilterMode(java.nio.IntBuffer pfm,
long hTexRef)
public static int ncuTexRefGetFormat(long pFormat,
long pNumChannels,
long hTexRef)
public static int cuTexRefGetFormat(@Nullable
java.nio.IntBuffer pFormat,
@Nullable
java.nio.IntBuffer pNumChannels,
long hTexRef)
public static int ncuTexRefGetMipmapFilterMode(long pfm,
long hTexRef)
public static int cuTexRefGetMipmapFilterMode(java.nio.IntBuffer pfm,
long hTexRef)
public static int ncuTexRefGetMipmapLevelBias(long pbias,
long hTexRef)
public static int cuTexRefGetMipmapLevelBias(java.nio.FloatBuffer pbias,
long hTexRef)
public static int ncuTexRefGetMipmapLevelClamp(long pminMipmapLevelClamp,
long pmaxMipmapLevelClamp,
long hTexRef)
public static int cuTexRefGetMipmapLevelClamp(java.nio.FloatBuffer pminMipmapLevelClamp,
java.nio.FloatBuffer pmaxMipmapLevelClamp,
long hTexRef)
public static int ncuTexRefGetMaxAnisotropy(long pmaxAniso,
long hTexRef)
public static int cuTexRefGetMaxAnisotropy(java.nio.IntBuffer pmaxAniso,
long hTexRef)
public static int ncuTexRefGetBorderColor(long pBorderColor,
long hTexRef)
public static int cuTexRefGetBorderColor(java.nio.FloatBuffer pBorderColor,
long hTexRef)
public static int ncuTexRefGetFlags(long pFlags,
long hTexRef)
public static int cuTexRefGetFlags(java.nio.IntBuffer pFlags,
long hTexRef)
public static int ncuTexRefCreate(long pTexRef)
public static int cuTexRefCreate(org.lwjgl.PointerBuffer pTexRef)
public static int cuTexRefDestroy(long hTexRef)
public static int cuSurfRefSetArray(long hSurfRef,
long hArray,
int Flags)
public static int ncuSurfRefGetArray(long phArray,
long hSurfRef)
public static int cuSurfRefGetArray(org.lwjgl.PointerBuffer phArray,
long hSurfRef)
public static int cuGraphicsUnregisterResource(long resource)
public static int ncuGraphicsSubResourceGetMappedArray(long pArray,
long resource,
int arrayIndex,
int mipLevel)
public static int cuGraphicsSubResourceGetMappedArray(org.lwjgl.PointerBuffer pArray,
long resource,
int arrayIndex,
int mipLevel)
public static int ncuGraphicsResourceGetMappedPointer(long pDevPtr,
long pSize,
long resource)
public static int cuGraphicsResourceGetMappedPointer(org.lwjgl.PointerBuffer pDevPtr,
org.lwjgl.PointerBuffer pSize,
long resource)
public static int cuGraphicsResourceSetMapFlags(long resource,
int flags)
public static int ncuGraphicsMapResources(int count,
long resources,
long hStream)
public static int cuGraphicsMapResources(org.lwjgl.PointerBuffer resources,
long hStream)
public static int ncuGraphicsUnmapResources(int count,
long resources,
long hStream)
public static int cuGraphicsUnmapResources(org.lwjgl.PointerBuffer resources,
long hStream)
public static int ncuGetExportTable(long ppExportTable,
long pExportTableId)
public static int cuGetExportTable(org.lwjgl.PointerBuffer ppExportTable,
CUuuid pExportTableId)
Copyright LWJGL. All Rights Reserved. License terms.