annotate R/rdyncall/inst/dynports/cuda.R @ 66:7a61dd082341 default tip

pydc: - fix double free triggered by capsule destructor, when freeing pydc and callback objects, manually
author Tassilo Philipp
date Fri, 24 May 2024 18:16:29 +0200
parents 0cfcc391201f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
1 dynbind("cuda", "
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
2 cuArray3DCreate(**<CUarray_st>*<CUDA_ARRAY3D_DESCRIPTOR>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
3 cuArray3DGetDescriptor(*<CUDA_ARRAY3D_DESCRIPTOR>*<CUarray_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
4 cuArrayCreate(**<CUarray_st>*<CUDA_ARRAY_DESCRIPTOR>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5 cuArrayDestroy(*<CUarray_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
6 cuArrayGetDescriptor(*<CUDA_ARRAY_DESCRIPTOR>*<CUarray_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
7 cuCtxAttach(**<CUctx_st>I)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
8 cuCtxCreate(**<CUctx_st>Ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
9 cuCtxDestroy(*<CUctx_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
10 cuCtxDetach(*<CUctx_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
11 cuCtxGetDevice(*i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
12 cuCtxPopCurrent(**<CUctx_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
13 cuCtxPushCurrent(*<CUctx_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
14 cuCtxSynchronize()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
15 cuDeviceComputeCapability(*i*ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
16 cuDeviceGet(*ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
17 cuDeviceGetAttribute(*iii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
18 cuDeviceGetCount(*i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
19 cuDeviceGetName(*cii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
20 cuDeviceGetProperties(*<CUdevprop_st>i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
21 cuDeviceTotalMem(*Ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
22 cuEventCreate(**<CUevent_st>I)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
23 cuEventDestroy(*<CUevent_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
24 cuEventElapsedTime(*f*<CUevent_st>*<CUevent_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
25 cuEventQuery(*<CUevent_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
26 cuEventRecord(*<CUevent_st>*<CUstream_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
27 cuEventSynchronize(*<CUevent_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
28 cuFuncSetBlockShape(*<CUfunc_st>iii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
29 cuFuncSetSharedSize(*<CUfunc_st>I)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
30 cuInit(I)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
31 cuLaunch(*<CUfunc_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
32 cuLaunchGrid(*<CUfunc_st>ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
33 cuLaunchGridAsync(*<CUfunc_st>ii*<CUstream_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
34 cuMemAlloc(*II)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
35 cuMemAllocHost(**vI)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
36 cuMemAllocPitch(*I*IIII)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
37 cuMemFree(I)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
38 cuMemFreeHost(*v)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
39 cuMemGetAddressRange(*I*II)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
40 cuMemGetInfo(*I*I)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
41 cuMemcpy2D(*<CUDA_MEMCPY2D_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
42 cuMemcpy2DAsync(*<CUDA_MEMCPY2D_st>*<CUstream_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
43 cuMemcpy2DUnaligned(*<CUDA_MEMCPY2D_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
44 cuMemcpy3D(*<CUDA_MEMCPY3D_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
45 cuMemcpy3DAsync(*<CUDA_MEMCPY3D_st>*<CUstream_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
46 cuMemcpyAtoA(*<CUarray_st>I*<CUarray_st>II)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
47 cuMemcpyAtoD(I*<CUarray_st>II)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
48 cuMemcpyAtoH(*v*<CUarray_st>II)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
49 cuMemcpyAtoHAsync(*v*<CUarray_st>II*<CUstream_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
50 cuMemcpyDtoA(*<CUarray_st>III)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
51 cuMemcpyDtoD(III)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
52 cuMemcpyDtoH(*vII)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
53 cuMemcpyDtoHAsync(*vII*<CUstream_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
54 cuMemcpyHtoA(*<CUarray_st>I*vI)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
55 cuMemcpyHtoAAsync(*<CUarray_st>I*vI*<CUstream_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
56 cuMemcpyHtoD(I*vI)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
57 cuMemcpyHtoDAsync(I*vI*<CUstream_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
58 cuMemsetD16(ISI)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
59 cuMemsetD2D16(IISII)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
60 cuMemsetD2D32(IIIII)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
61 cuMemsetD2D8(IICII)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
62 cuMemsetD32(III)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
63 cuMemsetD8(ICI)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
64 cuModuleGetFunction(**<CUfunc_st>*<CUmod_st>*c)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
65 cuModuleGetGlobal(*I*I*<CUmod_st>*c)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
66 cuModuleGetTexRef(**<CUtexref_st>*<CUmod_st>*c)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
67 cuModuleLoad(**<CUmod_st>*c)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
68 cuModuleLoadData(**<CUmod_st>*v)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
69 cuModuleLoadFatBinary(**<CUmod_st>*v)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
70 cuModuleUnload(*<CUmod_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
71 cuParamSetSize(*<CUfunc_st>I)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
72 cuParamSetTexRef(*<CUfunc_st>i*<CUtexref_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
73 cuParamSetf(*<CUfunc_st>if)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
74 cuParamSeti(*<CUfunc_st>iI)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
75 cuParamSetv(*<CUfunc_st>i*vI)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
76 cuStreamCreate(**<CUstream_st>I)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
77 cuStreamDestroy(*<CUstream_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
78 cuStreamQuery(*<CUstream_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
79 cuStreamSynchronize(*<CUstream_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
80 cuTexRefCreate(**<CUtexref_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
81 cuTexRefDestroy(*<CUtexref_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
82 cuTexRefGetAddress(*I*<CUtexref_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
83 cuTexRefGetAddressMode(*p*<CUtexref_st>i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
84 cuTexRefGetArray(**<CUarray_st>*<CUtexref_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
85 cuTexRefGetFilterMode(*p*<CUtexref_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
86 cuTexRefGetFlags(*I*<CUtexref_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
87 cuTexRefGetFormat(*p*i*<CUtexref_st>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
88 cuTexRefSetAddress(*I*<CUtexref_st>II)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
89 cuTexRefSetAddressMode(*<CUtexref_st>ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
90 cuTexRefSetArray(*<CUtexref_st>*<CUarray_st>I)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
91 cuTexRefSetFilterMode(*<CUtexref_st>i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
92 cuTexRefSetFlags(*<CUtexref_st>I)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
93 cuTexRefSetFormat(*<CUtexref_st>ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
94 ")
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
95
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
96 # CUdevprop_st{i[2]i[2]iiiiiiii}maxThreadsPerBlock maxThreadsDim maxGridSize sharedMemPerBlock totalConstantMemory SIMDWidth memPitch regsPerBlock clockRate textureAlign ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
97 parseStructInfos("
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
98 CUDA_MEMCPY2D_st{IIi*vI*<CUarray_st>IIIi*vI*<CUarray_st>III}srcXInBytes srcY srcMemoryType srcHost srcDevice srcArray srcPitch dstXInBytes dstY dstMemoryType dstHost dstDevice dstArray dstPitch WidthInBytes Height ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
99 CUDA_MEMCPY3D_st{IIIIi*vI*<CUarray_st>*vIIIIIIi*vI*<CUarray_st>*vIIIII}srcXInBytes srcY srcZ srcLOD srcMemoryType srcHost srcDevice srcArray reserved0 srcPitch srcHeight dstXInBytes dstY dstZ dstLOD dstMemoryType dstHost dstDevice dstArray reserved1 dstPitch dstHeight WidthInBytes Height Depth ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
100 CUarray_st{};
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
101 CUfunc_st{};
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
102 CUevent_st{};
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
103 CUDA_ARRAY_DESCRIPTOR{IIiI}Width Height Format NumChannels ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
104 CUDA_ARRAY3D_DESCRIPTOR{IIIiII}Width Height Depth Format NumChannels Flags ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
105 CUtexref_st{};
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
106 CUctx_st{};
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
107 CUstream_st{};
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
108 CUmod_st{};
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
109 ")
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
110 CUDA_ERROR_ALREADY_ACQUIRED=210;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
111 CUDA_ERROR_ALREADY_MAPPED=208;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
112 CUDA_ERROR_ARRAY_IS_MAPPED=207;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
113 CUDA_ERROR_CONTEXT_ALREADY_CURRENT=202;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
114 CUDA_ERROR_DEINITIALIZED=4;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
115 CUDA_ERROR_FILE_NOT_FOUND=301;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
116 CUDA_ERROR_INVALID_CONTEXT=201;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
117 CUDA_ERROR_INVALID_DEVICE=101;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
118 CUDA_ERROR_INVALID_HANDLE=400;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
119 CUDA_ERROR_INVALID_IMAGE=200;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
120 CUDA_ERROR_INVALID_SOURCE=300;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
121 CUDA_ERROR_INVALID_VALUE=1;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
122 CUDA_ERROR_LAUNCH_FAILED=700;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
123 CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING=703;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
124 CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES=701;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
125 CUDA_ERROR_LAUNCH_TIMEOUT=702;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
126 CUDA_ERROR_MAP_FAILED=205;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
127 CUDA_ERROR_NOT_FOUND=500;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
128 CUDA_ERROR_NOT_INITIALIZED=3;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
129 CUDA_ERROR_NOT_MAPPED=211;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
130 CUDA_ERROR_NOT_READY=600;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
131 CUDA_ERROR_NO_BINARY_FOR_GPU=209;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
132 CUDA_ERROR_NO_DEVICE=100;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
133 CUDA_ERROR_OUT_OF_MEMORY=2;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
134 CUDA_ERROR_UNKNOWN=999;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
135 CUDA_ERROR_UNMAP_FAILED=206;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
136 CUDA_SUCCESS=0;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
137 CU_AD_FORMAT_FLOAT=32;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
138 CU_AD_FORMAT_HALF=16;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
139 CU_AD_FORMAT_SIGNED_INT16=9;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
140 CU_AD_FORMAT_SIGNED_INT32=10;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
141 CU_AD_FORMAT_SIGNED_INT8=8;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
142 CU_AD_FORMAT_UNSIGNED_INT16=2;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
143 CU_AD_FORMAT_UNSIGNED_INT32=3;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
144 CU_AD_FORMAT_UNSIGNED_INT8=1;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
145 CU_CTX_FLAGS_MASK=3;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
146 CU_CTX_SCHED_AUTO=0;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
147 CU_CTX_SCHED_MASK=3;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
148 CU_CTX_SCHED_SPIN=1;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
149 CU_CTX_SCHED_YIELD=2;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
150 CU_DEVICE_ATTRIBUTE_CLOCK_RATE=13;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
151 CU_DEVICE_ATTRIBUTE_GPU_OVERLAP=15;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
152 CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X=2;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
153 CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y=3;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
154 CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z=4;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
155 CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_X=5;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
156 CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_Y=6;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
157 CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_Z=7;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
158 CU_DEVICE_ATTRIBUTE_MAX_PITCH=11;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
159 CU_DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK=12;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
160 CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK=8;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
161 CU_DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK=1;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
162 CU_DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT=16;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
163 CU_DEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK=12;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
164 CU_DEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK=8;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
165 CU_DEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT=14;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
166 CU_DEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY=9;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
167 CU_DEVICE_ATTRIBUTE_WARP_SIZE=10;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
168 CU_MEMORYTYPE_ARRAY=3;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
169 CU_MEMORYTYPE_DEVICE=2;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
170 CU_MEMORYTYPE_HOST=1;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
171 CU_TR_ADDRESS_MODE_CLAMP=1;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
172 CU_TR_ADDRESS_MODE_MIRROR=2;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
173 CU_TR_ADDRESS_MODE_WRAP=0;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
174 CU_TR_FILTER_MODE_LINEAR=1;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
175 CU_TR_FILTER_MODE_POINT=0;