|
5 | 5 | # this software. Any use, reproduction, disclosure, or distribution of
|
6 | 6 | # this software and related documentation outside the terms of the EULA
|
7 | 7 | # is strictly prohibited.
|
| 8 | +# |
| 9 | +# This code was automatically generated with version 12.8.0. Do not modify it directly. |
8 | 10 | from cuda.bindings.cydriver cimport *
|
9 | 11 |
|
10 | 12 | {{if 'cuGetErrorString' in found_functions}}
|
@@ -672,6 +674,16 @@ cdef CUresult _cuMemcpy3DAsync_v2(const CUDA_MEMCPY3D* pCopy, CUstream hStream)
|
672 | 674 | cdef CUresult _cuMemcpy3DPeerAsync(const CUDA_MEMCPY3D_PEER* pCopy, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil
|
673 | 675 | {{endif}}
|
674 | 676 |
|
| 677 | +{{if 'cuMemcpyBatchAsync' in found_functions}} |
| 678 | + |
| 679 | +cdef CUresult _cuMemcpyBatchAsync(CUdeviceptr* dsts, CUdeviceptr* srcs, size_t* sizes, size_t count, CUmemcpyAttributes* attrs, size_t* attrsIdxs, size_t numAttrs, size_t* failIdx, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil |
| 680 | +{{endif}} |
| 681 | + |
| 682 | +{{if 'cuMemcpy3DBatchAsync' in found_functions}} |
| 683 | + |
| 684 | +cdef CUresult _cuMemcpy3DBatchAsync(size_t numOps, CUDA_MEMCPY3D_BATCH_OP* opList, size_t* failIdx, unsigned long long flags, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil |
| 685 | +{{endif}} |
| 686 | + |
675 | 687 | {{if 'cuMemsetD8_v2' in found_functions}}
|
676 | 688 |
|
677 | 689 | cdef CUresult _cuMemsetD8_v2(CUdeviceptr dstDevice, unsigned char uc, size_t N) except ?CUDA_ERROR_NOT_FOUND nogil
|
@@ -802,6 +814,11 @@ cdef CUresult _cuMipmappedArrayDestroy(CUmipmappedArray hMipmappedArray) except
|
802 | 814 | cdef CUresult _cuMemGetHandleForAddressRange(void* handle, CUdeviceptr dptr, size_t size, CUmemRangeHandleType handleType, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil
|
803 | 815 | {{endif}}
|
804 | 816 |
|
| 817 | +{{if 'cuMemBatchDecompressAsync' in found_functions}} |
| 818 | + |
| 819 | +cdef CUresult _cuMemBatchDecompressAsync(CUmemDecompressParams* paramsArray, size_t count, unsigned int flags, size_t* errorIndex, CUstream stream) except ?CUDA_ERROR_NOT_FOUND nogil |
| 820 | +{{endif}} |
| 821 | + |
805 | 822 | {{if 'cuMemAddressReserve' in found_functions}}
|
806 | 823 |
|
807 | 824 | cdef CUresult _cuMemAddressReserve(CUdeviceptr* ptr, size_t size, size_t alignment, CUdeviceptr addr, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil
|
@@ -1032,6 +1049,11 @@ cdef CUresult _cuStreamCreateWithPriority(CUstream* phStream, unsigned int flags
|
1032 | 1049 | cdef CUresult _cuStreamGetPriority(CUstream hStream, int* priority) except ?CUDA_ERROR_NOT_FOUND nogil
|
1033 | 1050 | {{endif}}
|
1034 | 1051 |
|
| 1052 | +{{if 'cuStreamGetDevice' in found_functions}} |
| 1053 | + |
| 1054 | +cdef CUresult _cuStreamGetDevice(CUstream hStream, CUdevice* device) except ?CUDA_ERROR_NOT_FOUND nogil |
| 1055 | +{{endif}} |
| 1056 | + |
1035 | 1057 | {{if 'cuStreamGetFlags' in found_functions}}
|
1036 | 1058 |
|
1037 | 1059 | cdef CUresult _cuStreamGetFlags(CUstream hStream, unsigned int* flags) except ?CUDA_ERROR_NOT_FOUND nogil
|
@@ -1177,6 +1199,11 @@ cdef CUresult _cuEventDestroy_v2(CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND no
|
1177 | 1199 | cdef CUresult _cuEventElapsedTime(float* pMilliseconds, CUevent hStart, CUevent hEnd) except ?CUDA_ERROR_NOT_FOUND nogil
|
1178 | 1200 | {{endif}}
|
1179 | 1201 |
|
| 1202 | +{{if 'cuEventElapsedTime_v2' in found_functions}} |
| 1203 | + |
| 1204 | +cdef CUresult _cuEventElapsedTime_v2(float* pMilliseconds, CUevent hStart, CUevent hEnd) except ?CUDA_ERROR_NOT_FOUND nogil |
| 1205 | +{{endif}} |
| 1206 | + |
1180 | 1207 | {{if 'cuImportExternalMemory' in found_functions}}
|
1181 | 1208 |
|
1182 | 1209 | cdef CUresult _cuImportExternalMemory(CUexternalMemory* extMem_out, const CUDA_EXTERNAL_MEMORY_HANDLE_DESC* memHandleDesc) except ?CUDA_ERROR_NOT_FOUND nogil
|
@@ -2032,6 +2059,11 @@ cdef CUresult _cuTensorMapEncodeTiled(CUtensorMap* tensorMap, CUtensorMapDataTyp
|
2032 | 2059 | cdef CUresult _cuTensorMapEncodeIm2col(CUtensorMap* tensorMap, CUtensorMapDataType tensorDataType, cuuint32_t tensorRank, void* globalAddress, const cuuint64_t* globalDim, const cuuint64_t* globalStrides, const int* pixelBoxLowerCorner, const int* pixelBoxUpperCorner, cuuint32_t channelsPerPixel, cuuint32_t pixelsPerColumn, const cuuint32_t* elementStrides, CUtensorMapInterleave interleave, CUtensorMapSwizzle swizzle, CUtensorMapL2promotion l2Promotion, CUtensorMapFloatOOBfill oobFill) except ?CUDA_ERROR_NOT_FOUND nogil
|
2033 | 2060 | {{endif}}
|
2034 | 2061 |
|
| 2062 | +{{if 'cuTensorMapEncodeIm2colWide' in found_functions}} |
| 2063 | + |
| 2064 | +cdef CUresult _cuTensorMapEncodeIm2colWide(CUtensorMap* tensorMap, CUtensorMapDataType tensorDataType, cuuint32_t tensorRank, void* globalAddress, const cuuint64_t* globalDim, const cuuint64_t* globalStrides, int pixelBoxLowerCornerWidth, int pixelBoxUpperCornerWidth, cuuint32_t channelsPerPixel, cuuint32_t pixelsPerColumn, const cuuint32_t* elementStrides, CUtensorMapInterleave interleave, CUtensorMapIm2ColWideMode mode, CUtensorMapSwizzle swizzle, CUtensorMapL2promotion l2Promotion, CUtensorMapFloatOOBfill oobFill) except ?CUDA_ERROR_NOT_FOUND nogil |
| 2065 | +{{endif}} |
| 2066 | + |
2035 | 2067 | {{if 'cuTensorMapReplaceAddress' in found_functions}}
|
2036 | 2068 |
|
2037 | 2069 | cdef CUresult _cuTensorMapReplaceAddress(CUtensorMap* tensorMap, void* globalAddress) except ?CUDA_ERROR_NOT_FOUND nogil
|
@@ -2182,6 +2214,36 @@ cdef CUresult _cuStreamGetGreenCtx(CUstream hStream, CUgreenCtx* phCtx) except ?
|
2182 | 2214 | cdef CUresult _cuGreenCtxStreamCreate(CUstream* phStream, CUgreenCtx greenCtx, unsigned int flags, int priority) except ?CUDA_ERROR_NOT_FOUND nogil
|
2183 | 2215 | {{endif}}
|
2184 | 2216 |
|
| 2217 | +{{if 'cuCheckpointProcessGetRestoreThreadId' in found_functions}} |
| 2218 | + |
| 2219 | +cdef CUresult _cuCheckpointProcessGetRestoreThreadId(int pid, int* tid) except ?CUDA_ERROR_NOT_FOUND nogil |
| 2220 | +{{endif}} |
| 2221 | + |
| 2222 | +{{if 'cuCheckpointProcessGetState' in found_functions}} |
| 2223 | + |
| 2224 | +cdef CUresult _cuCheckpointProcessGetState(int pid, CUprocessState* state) except ?CUDA_ERROR_NOT_FOUND nogil |
| 2225 | +{{endif}} |
| 2226 | + |
| 2227 | +{{if 'cuCheckpointProcessLock' in found_functions}} |
| 2228 | + |
| 2229 | +cdef CUresult _cuCheckpointProcessLock(int pid, CUcheckpointLockArgs* args) except ?CUDA_ERROR_NOT_FOUND nogil |
| 2230 | +{{endif}} |
| 2231 | + |
| 2232 | +{{if 'cuCheckpointProcessCheckpoint' in found_functions}} |
| 2233 | + |
| 2234 | +cdef CUresult _cuCheckpointProcessCheckpoint(int pid, CUcheckpointCheckpointArgs* args) except ?CUDA_ERROR_NOT_FOUND nogil |
| 2235 | +{{endif}} |
| 2236 | + |
| 2237 | +{{if 'cuCheckpointProcessRestore' in found_functions}} |
| 2238 | + |
| 2239 | +cdef CUresult _cuCheckpointProcessRestore(int pid, CUcheckpointRestoreArgs* args) except ?CUDA_ERROR_NOT_FOUND nogil |
| 2240 | +{{endif}} |
| 2241 | + |
| 2242 | +{{if 'cuCheckpointProcessUnlock' in found_functions}} |
| 2243 | + |
| 2244 | +cdef CUresult _cuCheckpointProcessUnlock(int pid, CUcheckpointUnlockArgs* args) except ?CUDA_ERROR_NOT_FOUND nogil |
| 2245 | +{{endif}} |
| 2246 | + |
2185 | 2247 | {{if 'cuProfilerStart' in found_functions}}
|
2186 | 2248 |
|
2187 | 2249 | cdef CUresult _cuProfilerStart() except ?CUDA_ERROR_NOT_FOUND nogil
|
|
0 commit comments