|
1 |
| -# Copyright 2021-2022 NVIDIA Corporation. All rights reserved. |
| 1 | +# Copyright 2021-2023 NVIDIA Corporation. All rights reserved. |
2 | 2 | #
|
3 | 3 | # Please refer to the NVIDIA end user license agreement (EULA) associated
|
4 | 4 | # with this source code for terms and conditions that govern your use of
|
@@ -182,6 +182,11 @@ cdef CUresult _cuCtxGetDevice(CUdevice* device) nogil except ?CUDA_ERROR_NOT_FOU
|
182 | 182 | cdef CUresult _cuCtxGetFlags(unsigned int* flags) nogil except ?CUDA_ERROR_NOT_FOUND
|
183 | 183 | {{endif}}
|
184 | 184 |
|
| 185 | +{{if 'cuCtxSetFlags' in found_functions}} |
| 186 | + |
| 187 | +cdef CUresult _cuCtxSetFlags(unsigned int flags) nogil except ?CUDA_ERROR_NOT_FOUND |
| 188 | +{{endif}} |
| 189 | + |
185 | 190 | {{if 'cuCtxGetId' in found_functions}}
|
186 | 191 |
|
187 | 192 | cdef CUresult _cuCtxGetId(CUcontext ctx, unsigned long long* ctxId) nogil except ?CUDA_ERROR_NOT_FOUND
|
@@ -877,6 +882,36 @@ cdef CUresult _cuMemPoolExportPointer(CUmemPoolPtrExportData* shareData_out, CUd
|
877 | 882 | cdef CUresult _cuMemPoolImportPointer(CUdeviceptr* ptr_out, CUmemoryPool pool, CUmemPoolPtrExportData* shareData) nogil except ?CUDA_ERROR_NOT_FOUND
|
878 | 883 | {{endif}}
|
879 | 884 |
|
| 885 | +{{if 'cuMulticastCreate' in found_functions}} |
| 886 | + |
| 887 | +cdef CUresult _cuMulticastCreate(CUmemGenericAllocationHandle* mcHandle, const CUmulticastObjectProp* prop) nogil except ?CUDA_ERROR_NOT_FOUND |
| 888 | +{{endif}} |
| 889 | + |
| 890 | +{{if 'cuMulticastAddDevice' in found_functions}} |
| 891 | + |
| 892 | +cdef CUresult _cuMulticastAddDevice(CUmemGenericAllocationHandle mcHandle, CUdevice dev) nogil except ?CUDA_ERROR_NOT_FOUND |
| 893 | +{{endif}} |
| 894 | + |
| 895 | +{{if 'cuMulticastBindMem' in found_functions}} |
| 896 | + |
| 897 | +cdef CUresult _cuMulticastBindMem(CUmemGenericAllocationHandle mcHandle, size_t mcOffset, CUmemGenericAllocationHandle memHandle, size_t memOffset, size_t size, unsigned long long flags) nogil except ?CUDA_ERROR_NOT_FOUND |
| 898 | +{{endif}} |
| 899 | + |
| 900 | +{{if 'cuMulticastBindAddr' in found_functions}} |
| 901 | + |
| 902 | +cdef CUresult _cuMulticastBindAddr(CUmemGenericAllocationHandle mcHandle, size_t mcOffset, CUdeviceptr memptr, size_t size, unsigned long long flags) nogil except ?CUDA_ERROR_NOT_FOUND |
| 903 | +{{endif}} |
| 904 | + |
| 905 | +{{if 'cuMulticastUnbind' in found_functions}} |
| 906 | + |
| 907 | +cdef CUresult _cuMulticastUnbind(CUmemGenericAllocationHandle mcHandle, CUdevice dev, size_t mcOffset, size_t size) nogil except ?CUDA_ERROR_NOT_FOUND |
| 908 | +{{endif}} |
| 909 | + |
| 910 | +{{if 'cuMulticastGetGranularity' in found_functions}} |
| 911 | + |
| 912 | +cdef CUresult _cuMulticastGetGranularity(size_t* granularity, const CUmulticastObjectProp* prop, CUmulticastGranularity_flags option) nogil except ?CUDA_ERROR_NOT_FOUND |
| 913 | +{{endif}} |
| 914 | + |
880 | 915 | {{if 'cuPointerGetAttribute' in found_functions}}
|
881 | 916 |
|
882 | 917 | cdef CUresult _cuPointerGetAttribute(void* data, CUpointer_attribute attribute, CUdeviceptr ptr) nogil except ?CUDA_ERROR_NOT_FOUND
|
@@ -1902,6 +1937,26 @@ cdef CUresult _cuGraphicsUnmapResources(unsigned int count, CUgraphicsResource*
|
1902 | 1937 | cdef CUresult _cuGetProcAddress_v2(const char* symbol, void** pfn, int cudaVersion, cuuint64_t flags, CUdriverProcAddressQueryResult* symbolStatus) nogil except ?CUDA_ERROR_NOT_FOUND
|
1903 | 1938 | {{endif}}
|
1904 | 1939 |
|
| 1940 | +{{if 'cuCoredumpGetAttribute' in found_functions}} |
| 1941 | + |
| 1942 | +cdef CUresult _cuCoredumpGetAttribute(CUcoredumpSettings attrib, void* value, size_t* size) nogil except ?CUDA_ERROR_NOT_FOUND |
| 1943 | +{{endif}} |
| 1944 | + |
| 1945 | +{{if 'cuCoredumpGetAttributeGlobal' in found_functions}} |
| 1946 | + |
| 1947 | +cdef CUresult _cuCoredumpGetAttributeGlobal(CUcoredumpSettings attrib, void* value, size_t* size) nogil except ?CUDA_ERROR_NOT_FOUND |
| 1948 | +{{endif}} |
| 1949 | + |
| 1950 | +{{if 'cuCoredumpSetAttribute' in found_functions}} |
| 1951 | + |
| 1952 | +cdef CUresult _cuCoredumpSetAttribute(CUcoredumpSettings attrib, void* value, size_t* size) nogil except ?CUDA_ERROR_NOT_FOUND |
| 1953 | +{{endif}} |
| 1954 | + |
| 1955 | +{{if 'cuCoredumpSetAttributeGlobal' in found_functions}} |
| 1956 | + |
| 1957 | +cdef CUresult _cuCoredumpSetAttributeGlobal(CUcoredumpSettings attrib, void* value, size_t* size) nogil except ?CUDA_ERROR_NOT_FOUND |
| 1958 | +{{endif}} |
| 1959 | + |
1905 | 1960 | {{if 'cuGetExportTable' in found_functions}}
|
1906 | 1961 |
|
1907 | 1962 | cdef CUresult _cuGetExportTable(const void** ppExportTable, const CUuuid* pExportTableId) nogil except ?CUDA_ERROR_NOT_FOUND
|
|
0 commit comments