Skip to content

Commit 6247324

Browse files
authored
Merge pull request #414 from vzhurba01/posting-12.8
Rebase to CTK 12.8
2 parents 023c4bf + 7da18f8 commit 6247324

37 files changed

+24291
-6144
lines changed

.github/workflows/build-and-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- "3.9"
3232
cuda-version:
3333
# Note: this is for build-time only.
34-
- "12.6.2"
34+
- "12.8.0"
3535
name: Build (${{ matrix.host-platform }}, Python ${{ matrix.python-version }}, CUDA ${{ matrix.cuda-version }})
3636
if: ${{ github.repository_owner == 'nvidia' }}
3737
permissions:
@@ -220,7 +220,7 @@ jobs:
220220
- "3.9"
221221
cuda-version:
222222
# Note: this is for test-time only.
223-
- "12.6.2"
223+
- "12.8.0"
224224
- "12.0.1"
225225
- "11.8.0"
226226
local-ctk:
@@ -235,7 +235,7 @@ jobs:
235235
include:
236236
- host-platform: linux-64
237237
python-version: "3.12"
238-
cuda-version: "12.6.2"
238+
cuda-version: "12.8.0"
239239
local-ctk: 1
240240
runner: H100
241241
name: Test (${{ matrix.host-platform }}, Python ${{ matrix.python-version }}, CUDA ${{ matrix.cuda-version }}, Runner ${{ matrix.runner }}, ${{ (matrix.local-ctk == '1' && 'local CTK') || 'CTK wheels' }})

cuda_bindings/cuda/bindings/_bindings/cydriver.pxd.in

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
# this software. Any use, reproduction, disclosure, or distribution of
66
# this software and related documentation outside the terms of the EULA
77
# is strictly prohibited.
8+
#
9+
# This code was automatically generated with version 12.8.0. Do not modify it directly.
810
from cuda.bindings.cydriver cimport *
911

1012
{{if 'cuGetErrorString' in found_functions}}
@@ -672,6 +674,16 @@ cdef CUresult _cuMemcpy3DAsync_v2(const CUDA_MEMCPY3D* pCopy, CUstream hStream)
672674
cdef CUresult _cuMemcpy3DPeerAsync(const CUDA_MEMCPY3D_PEER* pCopy, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil
673675
{{endif}}
674676

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+
675687
{{if 'cuMemsetD8_v2' in found_functions}}
676688

677689
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
802814
cdef CUresult _cuMemGetHandleForAddressRange(void* handle, CUdeviceptr dptr, size_t size, CUmemRangeHandleType handleType, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil
803815
{{endif}}
804816

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+
805822
{{if 'cuMemAddressReserve' in found_functions}}
806823

807824
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
10321049
cdef CUresult _cuStreamGetPriority(CUstream hStream, int* priority) except ?CUDA_ERROR_NOT_FOUND nogil
10331050
{{endif}}
10341051

1052+
{{if 'cuStreamGetDevice' in found_functions}}
1053+
1054+
cdef CUresult _cuStreamGetDevice(CUstream hStream, CUdevice* device) except ?CUDA_ERROR_NOT_FOUND nogil
1055+
{{endif}}
1056+
10351057
{{if 'cuStreamGetFlags' in found_functions}}
10361058

10371059
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
11771199
cdef CUresult _cuEventElapsedTime(float* pMilliseconds, CUevent hStart, CUevent hEnd) except ?CUDA_ERROR_NOT_FOUND nogil
11781200
{{endif}}
11791201

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+
11801207
{{if 'cuImportExternalMemory' in found_functions}}
11811208

11821209
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
20322059
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
20332060
{{endif}}
20342061

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+
20352067
{{if 'cuTensorMapReplaceAddress' in found_functions}}
20362068

20372069
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 ?
21822214
cdef CUresult _cuGreenCtxStreamCreate(CUstream* phStream, CUgreenCtx greenCtx, unsigned int flags, int priority) except ?CUDA_ERROR_NOT_FOUND nogil
21832215
{{endif}}
21842216

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+
21852247
{{if 'cuProfilerStart' in found_functions}}
21862248

21872249
cdef CUresult _cuProfilerStart() except ?CUDA_ERROR_NOT_FOUND nogil

0 commit comments

Comments
 (0)