Coverage for cuda/bindings/cyruntime.pyx: 64.48%

687 statements  

« prev     ^ index     » next       coverage.py v7.15.2, created at 2026-07-19 01:12 +0000

1# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. 

2# 

3# SPDX-License-Identifier: Apache-2.0 

4# 

5# This code was automatically generated across versions from 12.9.0 to 13.3.0. Do not modify it directly. 

6  

7# CYTHON-BINDINGS-GENERATED-DO-NOT-MODIFY-THIS-FILE: format=1; content-sha256=034f6c5c936d547d3106aa249f8f85b67389eac8b90ab569aa74815f08d699af 

8from ._internal cimport runtime as _runtime 

9  

10cdef cudaError_t cudaDeviceReset() except ?cudaErrorCallRequiresNewerDriver nogil: 

11 return _runtime._cudaDeviceReset() 

12  

13  

14cdef cudaError_t cudaDeviceSynchronize() except ?cudaErrorCallRequiresNewerDriver nogil: 

15 return _runtime._cudaDeviceSynchronize() 28 9 ! # $ % ' ( ) * + , - . / : ; = ? @ [ ] ^ _ ` { | } ~ abbbcbdbebfbgbhbibjbkblbmbnbobpbqbrbsbtbubvbwbxbybzbAbBbCbDbEbFbGbHbIbJbKbu LbMbNbObPbQbRbSbTbUbVbWbXbYbZb0b1b2b3b4b5b6b7b8b9b!b#b$b%b'b(b)b*b+b,b-b.b/b:b;b=b?b@b[b]b^b_b`b{b|b}b~bacbcccdcecfcgchcicjckclcmcncocpcqcrcsctcucvcwcxcyc

16  

17  

18cdef cudaError_t cudaDeviceSetLimit(cudaLimit limit, size_t value) except ?cudaErrorCallRequiresNewerDriver nogil: 

19 return _runtime._cudaDeviceSetLimit(limit, value) 

20  

21  

22cdef cudaError_t cudaDeviceGetLimit(size_t* pValue, cudaLimit limit) except ?cudaErrorCallRequiresNewerDriver nogil: 

23 return _runtime._cudaDeviceGetLimit(pValue, limit) 

24  

25  

26cdef cudaError_t cudaDeviceGetTexture1DLinearMaxWidth(size_t* maxWidthInElements, const cudaChannelFormatDesc* fmtDesc, int device) except ?cudaErrorCallRequiresNewerDriver nogil: 

27 return _runtime._cudaDeviceGetTexture1DLinearMaxWidth(maxWidthInElements, fmtDesc, device) 

28  

29  

30cdef cudaError_t cudaDeviceGetCacheConfig(cudaFuncCache* pCacheConfig) except ?cudaErrorCallRequiresNewerDriver nogil: 

31 return _runtime._cudaDeviceGetCacheConfig(pCacheConfig) 

32  

33  

34cdef cudaError_t cudaDeviceGetStreamPriorityRange(int* leastPriority, int* greatestPriority) except ?cudaErrorCallRequiresNewerDriver nogil: 

35 return _runtime._cudaDeviceGetStreamPriorityRange(leastPriority, greatestPriority) 

36  

37  

38cdef cudaError_t cudaDeviceSetCacheConfig(cudaFuncCache cacheConfig) except ?cudaErrorCallRequiresNewerDriver nogil: 

39 return _runtime._cudaDeviceSetCacheConfig(cacheConfig) 

40  

41  

42cdef cudaError_t cudaDeviceGetByPCIBusId(int* device, const char* pciBusId) except ?cudaErrorCallRequiresNewerDriver nogil: 

43 return _runtime._cudaDeviceGetByPCIBusId(device, pciBusId) 

44  

45  

46cdef cudaError_t cudaDeviceGetPCIBusId(char* pciBusId, int len, int device) except ?cudaErrorCallRequiresNewerDriver nogil: 

47 return _runtime._cudaDeviceGetPCIBusId(pciBusId, len, device) 2zcAcBc

48  

49  

50cdef cudaError_t cudaIpcGetEventHandle(cudaIpcEventHandle_t* handle, cudaEvent_t event) except ?cudaErrorCallRequiresNewerDriver nogil: 

51 return _runtime._cudaIpcGetEventHandle(handle, event) 

52  

53  

54cdef cudaError_t cudaIpcOpenEventHandle(cudaEvent_t* event, cudaIpcEventHandle_t handle) except ?cudaErrorCallRequiresNewerDriver nogil: 

55 return _runtime._cudaIpcOpenEventHandle(event, handle) 

56  

57  

58cdef cudaError_t cudaIpcGetMemHandle(cudaIpcMemHandle_t* handle, void* devPtr) except ?cudaErrorCallRequiresNewerDriver nogil: 

59 return _runtime._cudaIpcGetMemHandle(handle, devPtr) 

60  

61  

62cdef cudaError_t cudaIpcOpenMemHandle(void** devPtr, cudaIpcMemHandle_t handle, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

63 return _runtime._cudaIpcOpenMemHandle(devPtr, handle, flags) 

64  

65  

66cdef cudaError_t cudaIpcCloseMemHandle(void* devPtr) except ?cudaErrorCallRequiresNewerDriver nogil: 

67 return _runtime._cudaIpcCloseMemHandle(devPtr) 

68  

69  

70cdef cudaError_t cudaDeviceFlushGPUDirectRDMAWrites(cudaFlushGPUDirectRDMAWritesTarget target, cudaFlushGPUDirectRDMAWritesScope scope) except ?cudaErrorCallRequiresNewerDriver nogil: 

71 return _runtime._cudaDeviceFlushGPUDirectRDMAWrites(target, scope) 

72  

73  

74cdef cudaError_t cudaDeviceRegisterAsyncNotification(int device, cudaAsyncCallback callbackFunc, void* userData, cudaAsyncCallbackHandle_t* callback) except ?cudaErrorCallRequiresNewerDriver nogil: 

75 return _runtime._cudaDeviceRegisterAsyncNotification(device, callbackFunc, userData, callback) 

76  

77  

78cdef cudaError_t cudaDeviceUnregisterAsyncNotification(int device, cudaAsyncCallbackHandle_t callback) except ?cudaErrorCallRequiresNewerDriver nogil: 

79 return _runtime._cudaDeviceUnregisterAsyncNotification(device, callback) 

80  

81  

82cdef cudaError_t cudaDeviceGetSharedMemConfig(cudaSharedMemConfig* pConfig) except ?cudaErrorCallRequiresNewerDriver nogil: 

83 return _runtime._cudaDeviceGetSharedMemConfig(pConfig) 

84  

85  

86cdef cudaError_t cudaDeviceSetSharedMemConfig(cudaSharedMemConfig config) except ?cudaErrorCallRequiresNewerDriver nogil: 

87 return _runtime._cudaDeviceSetSharedMemConfig(config) 

88  

89  

90cdef cudaError_t cudaGetLastError() except ?cudaErrorCallRequiresNewerDriver nogil: 

91 return _runtime._cudaGetLastError() 

92  

93  

94cdef cudaError_t cudaPeekAtLastError() except ?cudaErrorCallRequiresNewerDriver nogil: 

95 return _runtime._cudaPeekAtLastError() 

96  

97  

98cdef const char* cudaGetErrorName(cudaError_t error) except?NULL nogil: 

99 return _runtime._cudaGetErrorName(error) 1QFGH

100  

101  

102cdef const char* cudaGetErrorString(cudaError_t error) except?NULL nogil: 

103 return _runtime._cudaGetErrorString(error) 2Q CcH

104  

105  

106cdef cudaError_t cudaGetDeviceCount(int* count) except ?cudaErrorCallRequiresNewerDriver nogil: 

107 return _runtime._cudaGetDeviceCount(count) 

108  

109  

110cdef cudaError_t cudaDeviceGetAttribute(int* value, cudaDeviceAttr attr, int device) except ?cudaErrorCallRequiresNewerDriver nogil: 

111 return _runtime._cudaDeviceGetAttribute(value, attr, device) 2a Dc

112  

113  

114cdef cudaError_t cudaDeviceGetDefaultMemPool(cudaMemPool_t* memPool, int device) except ?cudaErrorCallRequiresNewerDriver nogil: 

115 return _runtime._cudaDeviceGetDefaultMemPool(memPool, device) 1R

116  

117  

118cdef cudaError_t cudaDeviceSetMemPool(int device, cudaMemPool_t memPool) except ?cudaErrorCallRequiresNewerDriver nogil: 

119 return _runtime._cudaDeviceSetMemPool(device, memPool) 1R

120  

121  

122cdef cudaError_t cudaDeviceGetMemPool(cudaMemPool_t* memPool, int device) except ?cudaErrorCallRequiresNewerDriver nogil: 

123 return _runtime._cudaDeviceGetMemPool(memPool, device) 

124  

125  

126cdef cudaError_t cudaDeviceGetNvSciSyncAttributes(void* nvSciSyncAttrList, int device, int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

127 return _runtime._cudaDeviceGetNvSciSyncAttributes(nvSciSyncAttrList, device, flags) 

128  

129  

130cdef cudaError_t cudaDeviceGetP2PAttribute(int* value, cudaDeviceP2PAttr attr, int srcDevice, int dstDevice) except ?cudaErrorCallRequiresNewerDriver nogil: 

131 return _runtime._cudaDeviceGetP2PAttribute(value, attr, srcDevice, dstDevice) 

132  

133  

134cdef cudaError_t cudaChooseDevice(int* device, const cudaDeviceProp* prop) except ?cudaErrorCallRequiresNewerDriver nogil: 

135 return _runtime._cudaChooseDevice(device, prop) 

136  

137  

138cdef cudaError_t cudaInitDevice(int device, unsigned int deviceFlags, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

139 return _runtime._cudaInitDevice(device, deviceFlags, flags) 

140  

141  

142cdef cudaError_t cudaSetDevice(int device) except ?cudaErrorCallRequiresNewerDriver nogil: 

143 return _runtime._cudaSetDevice(device) 1l

144  

145  

146cdef cudaError_t cudaGetDevice(int* device) except ?cudaErrorCallRequiresNewerDriver nogil: 

147 return _runtime._cudaGetDevice(device) 2Ec

148  

149  

150cdef cudaError_t cudaSetDeviceFlags(unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

151 return _runtime._cudaSetDeviceFlags(flags) 

152  

153  

154cdef cudaError_t cudaGetDeviceFlags(unsigned int* flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

155 return _runtime._cudaGetDeviceFlags(flags) 

156  

157  

158cdef cudaError_t cudaStreamCreate(cudaStream_t* pStream) except ?cudaErrorCallRequiresNewerDriver nogil: 

159 return _runtime._cudaStreamCreate(pStream) 1fIgdebvuS

160  

161  

162cdef cudaError_t cudaStreamCreateWithFlags(cudaStream_t* pStream, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

163 return _runtime._cudaStreamCreateWithFlags(pStream, flags) 1w

164  

165  

166cdef cudaError_t cudaStreamCreateWithPriority(cudaStream_t* pStream, unsigned int flags, int priority) except ?cudaErrorCallRequiresNewerDriver nogil: 

167 return _runtime._cudaStreamCreateWithPriority(pStream, flags, priority) 

168  

169  

170cdef cudaError_t cudaStreamGetPriority(cudaStream_t hStream, int* priority) except ?cudaErrorCallRequiresNewerDriver nogil: 

171 return _runtime._cudaStreamGetPriority(hStream, priority) 

172  

173  

174cdef cudaError_t cudaStreamGetFlags(cudaStream_t hStream, unsigned int* flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

175 return _runtime._cudaStreamGetFlags(hStream, flags) 

176  

177  

178cdef cudaError_t cudaStreamGetId(cudaStream_t hStream, unsigned long long* streamId) except ?cudaErrorCallRequiresNewerDriver nogil: 

179 return _runtime._cudaStreamGetId(hStream, streamId) 

180  

181  

182cdef cudaError_t cudaStreamGetDevice(cudaStream_t hStream, int* device) except ?cudaErrorCallRequiresNewerDriver nogil: 

183 return _runtime._cudaStreamGetDevice(hStream, device) 

184  

185  

186cdef cudaError_t cudaCtxResetPersistingL2Cache() except ?cudaErrorCallRequiresNewerDriver nogil: 

187 return _runtime._cudaCtxResetPersistingL2Cache() 

188  

189  

190cdef cudaError_t cudaStreamCopyAttributes(cudaStream_t dst, cudaStream_t src) except ?cudaErrorCallRequiresNewerDriver nogil: 

191 return _runtime._cudaStreamCopyAttributes(dst, src) 

192  

193  

194cdef cudaError_t cudaStreamGetAttribute(cudaStream_t hStream, cudaStreamAttrID attr, cudaStreamAttrValue* value_out) except ?cudaErrorCallRequiresNewerDriver nogil: 

195 return _runtime._cudaStreamGetAttribute(hStream, attr, value_out) 

196  

197  

198cdef cudaError_t cudaStreamSetAttribute(cudaStream_t hStream, cudaStreamAttrID attr, const cudaStreamAttrValue* value) except ?cudaErrorCallRequiresNewerDriver nogil: 

199 return _runtime._cudaStreamSetAttribute(hStream, attr, value) 

200  

201  

202cdef cudaError_t cudaStreamDestroy(cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

203 return _runtime._cudaStreamDestroy(stream) 1JfIS

204  

205  

206cdef cudaError_t cudaStreamWaitEvent(cudaStream_t stream, cudaEvent_t event, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

207 return _runtime._cudaStreamWaitEvent(stream, event, flags) 

208  

209  

210cdef cudaError_t cudaStreamAddCallback(cudaStream_t stream, cudaStreamCallback_t callback, void* userData, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

211 return _runtime._cudaStreamAddCallback(stream, callback, userData, flags) 1u

212  

213  

214cdef cudaError_t cudaStreamSynchronize(cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

215 return _runtime._cudaStreamSynchronize(stream) 1gdeb

216  

217  

218cdef cudaError_t cudaStreamQuery(cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

219 return _runtime._cudaStreamQuery(stream) 

220  

221  

222cdef cudaError_t cudaStreamAttachMemAsync(cudaStream_t stream, void* devPtr, size_t length, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

223 return _runtime._cudaStreamAttachMemAsync(stream, devPtr, length, flags) 

224  

225  

226cdef cudaError_t cudaStreamBeginCapture(cudaStream_t stream, cudaStreamCaptureMode mode) except ?cudaErrorCallRequiresNewerDriver nogil: 

227 return _runtime._cudaStreamBeginCapture(stream, mode) 1v

228  

229  

230cdef cudaError_t cudaStreamBeginCaptureToGraph(cudaStream_t stream, cudaGraph_t graph, const cudaGraphNode_t* dependencies, const cudaGraphEdgeData* dependencyData, size_t numDependencies, cudaStreamCaptureMode mode) except ?cudaErrorCallRequiresNewerDriver nogil: 

231 return _runtime._cudaStreamBeginCaptureToGraph(stream, graph, dependencies, dependencyData, numDependencies, mode) 

232  

233  

234cdef cudaError_t cudaThreadExchangeStreamCaptureMode(cudaStreamCaptureMode* mode) except ?cudaErrorCallRequiresNewerDriver nogil: 

235 return _runtime._cudaThreadExchangeStreamCaptureMode(mode) 2Fc

236  

237  

238cdef cudaError_t cudaStreamEndCapture(cudaStream_t stream, cudaGraph_t* pGraph) except ?cudaErrorCallRequiresNewerDriver nogil: 

239 return _runtime._cudaStreamEndCapture(stream, pGraph) 1v

240  

241  

242cdef cudaError_t cudaStreamIsCapturing(cudaStream_t stream, cudaStreamCaptureStatus* pCaptureStatus) except ?cudaErrorCallRequiresNewerDriver nogil: 

243 return _runtime._cudaStreamIsCapturing(stream, pCaptureStatus) 

244  

245  

246cdef cudaError_t cudaStreamUpdateCaptureDependencies(cudaStream_t stream, cudaGraphNode_t* dependencies, const cudaGraphEdgeData* dependencyData, size_t numDependencies, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

247 return _runtime._cudaStreamUpdateCaptureDependencies(stream, dependencies, dependencyData, numDependencies, flags) 

248  

249  

250cdef cudaError_t cudaEventCreate(cudaEvent_t* event) except ?cudaErrorCallRequiresNewerDriver nogil: 

251 return _runtime._cudaEventCreate(event) 1T

252  

253  

254cdef cudaError_t cudaEventCreateWithFlags(cudaEvent_t* event, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

255 return _runtime._cudaEventCreateWithFlags(event, flags) 

256  

257  

258cdef cudaError_t cudaEventRecord(cudaEvent_t event, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

259 return _runtime._cudaEventRecord(event, stream) 

260  

261  

262cdef cudaError_t cudaEventRecordWithFlags(cudaEvent_t event, cudaStream_t stream, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

263 return _runtime._cudaEventRecordWithFlags(event, stream, flags) 

264  

265  

266cdef cudaError_t cudaEventQuery(cudaEvent_t event) except ?cudaErrorCallRequiresNewerDriver nogil: 

267 return _runtime._cudaEventQuery(event) 

268  

269  

270cdef cudaError_t cudaEventSynchronize(cudaEvent_t event) except ?cudaErrorCallRequiresNewerDriver nogil: 

271 return _runtime._cudaEventSynchronize(event) 

272  

273  

274cdef cudaError_t cudaEventDestroy(cudaEvent_t event) except ?cudaErrorCallRequiresNewerDriver nogil: 

275 return _runtime._cudaEventDestroy(event) 1T

276  

277  

278cdef cudaError_t cudaEventElapsedTime(float* ms, cudaEvent_t start, cudaEvent_t end) except ?cudaErrorCallRequiresNewerDriver nogil: 

279 return _runtime._cudaEventElapsedTime(ms, start, end) 

280  

281  

282cdef cudaError_t cudaImportExternalMemory(cudaExternalMemory_t* extMem_out, const cudaExternalMemoryHandleDesc* memHandleDesc) except ?cudaErrorCallRequiresNewerDriver nogil: 

283 return _runtime._cudaImportExternalMemory(extMem_out, memHandleDesc) 

284  

285  

286cdef cudaError_t cudaExternalMemoryGetMappedBuffer(void** devPtr, cudaExternalMemory_t extMem, const cudaExternalMemoryBufferDesc* bufferDesc) except ?cudaErrorCallRequiresNewerDriver nogil: 

287 return _runtime._cudaExternalMemoryGetMappedBuffer(devPtr, extMem, bufferDesc) 

288  

289  

290cdef cudaError_t cudaExternalMemoryGetMappedMipmappedArray(cudaMipmappedArray_t* mipmap, cudaExternalMemory_t extMem, const cudaExternalMemoryMipmappedArrayDesc* mipmapDesc) except ?cudaErrorCallRequiresNewerDriver nogil: 

291 return _runtime._cudaExternalMemoryGetMappedMipmappedArray(mipmap, extMem, mipmapDesc) 

292  

293  

294cdef cudaError_t cudaDestroyExternalMemory(cudaExternalMemory_t extMem) except ?cudaErrorCallRequiresNewerDriver nogil: 

295 return _runtime._cudaDestroyExternalMemory(extMem) 

296  

297  

298cdef cudaError_t cudaImportExternalSemaphore(cudaExternalSemaphore_t* extSem_out, const cudaExternalSemaphoreHandleDesc* semHandleDesc) except ?cudaErrorCallRequiresNewerDriver nogil: 

299 return _runtime._cudaImportExternalSemaphore(extSem_out, semHandleDesc) 

300  

301  

302cdef cudaError_t cudaDestroyExternalSemaphore(cudaExternalSemaphore_t extSem) except ?cudaErrorCallRequiresNewerDriver nogil: 

303 return _runtime._cudaDestroyExternalSemaphore(extSem) 

304  

305  

306cdef cudaError_t cudaFuncSetCacheConfig(const void* func, cudaFuncCache cacheConfig) except ?cudaErrorCallRequiresNewerDriver nogil: 

307 return _runtime._cudaFuncSetCacheConfig(func, cacheConfig) 

308  

309  

310cdef cudaError_t cudaFuncGetAttributes(cudaFuncAttributes* attr, const void* func) except ?cudaErrorCallRequiresNewerDriver nogil: 

311 return _runtime._cudaFuncGetAttributes(attr, func) 

312  

313  

314cdef cudaError_t cudaFuncSetAttribute(const void* func, cudaFuncAttribute attr, int value) except ?cudaErrorCallRequiresNewerDriver nogil: 

315 return _runtime._cudaFuncSetAttribute(func, attr, value) 

316  

317  

318cdef cudaError_t cudaFuncGetName(const char** name, const void* func) except ?cudaErrorCallRequiresNewerDriver nogil: 

319 return _runtime._cudaFuncGetName(name, func) 

320  

321  

322cdef cudaError_t cudaFuncGetParamInfo(const void* func, size_t paramIndex, size_t* paramOffset, size_t* paramSize) except ?cudaErrorCallRequiresNewerDriver nogil: 

323 return _runtime._cudaFuncGetParamInfo(func, paramIndex, paramOffset, paramSize) 

324  

325  

326cdef cudaError_t cudaLaunchHostFunc(cudaStream_t stream, cudaHostFn_t fn, void* userData) except ?cudaErrorCallRequiresNewerDriver nogil: 

327 return _runtime._cudaLaunchHostFunc(stream, fn, userData) 1u

328  

329  

330cdef cudaError_t cudaFuncSetSharedMemConfig(const void* func, cudaSharedMemConfig config) except ?cudaErrorCallRequiresNewerDriver nogil: 

331 return _runtime._cudaFuncSetSharedMemConfig(func, config) 

332  

333  

334cdef cudaError_t cudaOccupancyMaxActiveBlocksPerMultiprocessor(int* numBlocks, const void* func, int blockSize, size_t dynamicSMemSize) except ?cudaErrorCallRequiresNewerDriver nogil: 

335 return _runtime._cudaOccupancyMaxActiveBlocksPerMultiprocessor(numBlocks, func, blockSize, dynamicSMemSize) 

336  

337  

338cdef cudaError_t cudaOccupancyAvailableDynamicSMemPerBlock(size_t* dynamicSmemSize, const void* func, int numBlocks, int blockSize) except ?cudaErrorCallRequiresNewerDriver nogil: 

339 return _runtime._cudaOccupancyAvailableDynamicSMemPerBlock(dynamicSmemSize, func, numBlocks, blockSize) 

340  

341  

342cdef cudaError_t cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(int* numBlocks, const void* func, int blockSize, size_t dynamicSMemSize, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

343 return _runtime._cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(numBlocks, func, blockSize, dynamicSMemSize, flags) 

344  

345  

346cdef cudaError_t cudaMallocManaged(void** devPtr, size_t size, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

347 return _runtime._cudaMallocManaged(devPtr, size, flags) 

348  

349  

350cdef cudaError_t cudaMalloc(void** devPtr, size_t size) except ?cudaErrorCallRequiresNewerDriver nogil: 

351 return _runtime._cudaMalloc(devPtr, size) 1gdhbciKm

352  

353  

354cdef cudaError_t cudaMallocHost(void** ptr, size_t size) except ?cudaErrorCallRequiresNewerDriver nogil: 

355 return _runtime._cudaMallocHost(ptr, size) 

356  

357  

358cdef cudaError_t cudaMallocPitch(void** devPtr, size_t* pitch, size_t width, size_t height) except ?cudaErrorCallRequiresNewerDriver nogil: 

359 return _runtime._cudaMallocPitch(devPtr, pitch, width, height) 

360  

361  

362cdef cudaError_t cudaMallocArray(cudaArray_t* array, const cudaChannelFormatDesc* desc, size_t width, size_t height, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

363 return _runtime._cudaMallocArray(array, desc, width, height, flags) 1xynjhoebckip

364  

365  

366cdef cudaError_t cudaFree(void* devPtr) except ?cudaErrorCallRequiresNewerDriver nogil: 

367 return _runtime._cudaFree(devPtr) 1gdhbciqrKm

368  

369  

370cdef cudaError_t cudaFreeHost(void* ptr) except ?cudaErrorCallRequiresNewerDriver nogil: 

371 return _runtime._cudaFreeHost(ptr) 1UVWXm

372  

373  

374cdef cudaError_t cudaFreeArray(cudaArray_t array) except ?cudaErrorCallRequiresNewerDriver nogil: 

375 return _runtime._cudaFreeArray(array) 1xyjhoebckip

376  

377  

378cdef cudaError_t cudaFreeMipmappedArray(cudaMipmappedArray_t mipmappedArray) except ?cudaErrorCallRequiresNewerDriver nogil: 

379 return _runtime._cudaFreeMipmappedArray(mipmappedArray) 1L

380  

381  

382cdef cudaError_t cudaHostAlloc(void** pHost, size_t size, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

383 return _runtime._cudaHostAlloc(pHost, size, flags) 1UVWXm

384  

385  

386cdef cudaError_t cudaHostRegister(void* ptr, size_t size, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

387 return _runtime._cudaHostRegister(ptr, size, flags) 1Y

388  

389  

390cdef cudaError_t cudaHostUnregister(void* ptr) except ?cudaErrorCallRequiresNewerDriver nogil: 

391 return _runtime._cudaHostUnregister(ptr) 1Y

392  

393  

394cdef cudaError_t cudaHostGetDevicePointer(void** pDevice, void* pHost, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

395 return _runtime._cudaHostGetDevicePointer(pDevice, pHost, flags) 

396  

397  

398cdef cudaError_t cudaHostGetFlags(unsigned int* pFlags, void* pHost) except ?cudaErrorCallRequiresNewerDriver nogil: 

399 return _runtime._cudaHostGetFlags(pFlags, pHost) 

400  

401  

402cdef cudaError_t cudaMalloc3D(cudaPitchedPtr* pitchedDevPtr, cudaExtent extent) except ?cudaErrorCallRequiresNewerDriver nogil: 

403 return _runtime._cudaMalloc3D(pitchedDevPtr, extent) 1qr

404  

405  

406cdef cudaError_t cudaMalloc3DArray(cudaArray_t* array, const cudaChannelFormatDesc* desc, cudaExtent extent, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

407 return _runtime._cudaMalloc3DArray(array, desc, extent, flags) 

408  

409  

410cdef cudaError_t cudaMallocMipmappedArray(cudaMipmappedArray_t* mipmappedArray, const cudaChannelFormatDesc* desc, cudaExtent extent, unsigned int numLevels, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

411 return _runtime._cudaMallocMipmappedArray(mipmappedArray, desc, extent, numLevels, flags) 1L

412  

413  

414cdef cudaError_t cudaGetMipmappedArrayLevel(cudaArray_t* levelArray, cudaMipmappedArray_const_t mipmappedArray, unsigned int level) except ?cudaErrorCallRequiresNewerDriver nogil: 

415 return _runtime._cudaGetMipmappedArrayLevel(levelArray, mipmappedArray, level) 

416  

417  

418cdef cudaError_t cudaMemcpy3D(const cudaMemcpy3DParms* p) except ?cudaErrorCallRequiresNewerDriver nogil: 

419 return _runtime._cudaMemcpy3D(p) 

420  

421  

422cdef cudaError_t cudaMemcpy3DPeer(const cudaMemcpy3DPeerParms* p) except ?cudaErrorCallRequiresNewerDriver nogil: 

423 return _runtime._cudaMemcpy3DPeer(p) 1c

424  

425  

426cdef cudaError_t cudaMemcpy3DAsync(const cudaMemcpy3DParms* p, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

427 return _runtime._cudaMemcpy3DAsync(p, stream) 1e

428  

429  

430cdef cudaError_t cudaMemcpy3DPeerAsync(const cudaMemcpy3DPeerParms* p, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

431 return _runtime._cudaMemcpy3DPeerAsync(p, stream) 1b

432  

433  

434cdef cudaError_t cudaMemGetInfo(size_t* free, size_t* total) except ?cudaErrorCallRequiresNewerDriver nogil: 

435 return _runtime._cudaMemGetInfo(free, total) 

436  

437  

438cdef cudaError_t cudaArrayGetInfo(cudaChannelFormatDesc* desc, cudaExtent* extent, unsigned int* flags, cudaArray_t array) except ?cudaErrorCallRequiresNewerDriver nogil: 

439 return _runtime._cudaArrayGetInfo(desc, extent, flags, array) 1x

440  

441  

442cdef cudaError_t cudaArrayGetPlane(cudaArray_t* pPlaneArray, cudaArray_t hArray, unsigned int planeIdx) except ?cudaErrorCallRequiresNewerDriver nogil: 

443 return _runtime._cudaArrayGetPlane(pPlaneArray, hArray, planeIdx) 

444  

445  

446cdef cudaError_t cudaArrayGetMemoryRequirements(cudaArrayMemoryRequirements* memoryRequirements, cudaArray_t array, int device) except ?cudaErrorCallRequiresNewerDriver nogil: 

447 return _runtime._cudaArrayGetMemoryRequirements(memoryRequirements, array, device) 

448  

449  

450cdef cudaError_t cudaMipmappedArrayGetMemoryRequirements(cudaArrayMemoryRequirements* memoryRequirements, cudaMipmappedArray_t mipmap, int device) except ?cudaErrorCallRequiresNewerDriver nogil: 

451 return _runtime._cudaMipmappedArrayGetMemoryRequirements(memoryRequirements, mipmap, device) 

452  

453  

454cdef cudaError_t cudaArrayGetSparseProperties(cudaArraySparseProperties* sparseProperties, cudaArray_t array) except ?cudaErrorCallRequiresNewerDriver nogil: 

455 return _runtime._cudaArrayGetSparseProperties(sparseProperties, array) 

456  

457  

458cdef cudaError_t cudaMipmappedArrayGetSparseProperties(cudaArraySparseProperties* sparseProperties, cudaMipmappedArray_t mipmap) except ?cudaErrorCallRequiresNewerDriver nogil: 

459 return _runtime._cudaMipmappedArrayGetSparseProperties(sparseProperties, mipmap) 1L

460  

461  

462cdef cudaError_t cudaMemcpy(void* dst, const void* src, size_t count, cudaMemcpyKind kind) except ?cudaErrorCallRequiresNewerDriver nogil: 

463 return _runtime._cudaMemcpy(dst, src, count, kind) 1hbciqrKZ

464  

465  

466cdef cudaError_t cudaMemcpyPeer(void* dst, int dstDevice, const void* src, int srcDevice, size_t count) except ?cudaErrorCallRequiresNewerDriver nogil: 

467 return _runtime._cudaMemcpyPeer(dst, dstDevice, src, srcDevice, count) 

468  

469  

470cdef cudaError_t cudaMemcpy2D(void* dst, size_t dpitch, const void* src, size_t spitch, size_t width, size_t height, cudaMemcpyKind kind) except ?cudaErrorCallRequiresNewerDriver nogil: 

471 return _runtime._cudaMemcpy2D(dst, dpitch, src, spitch, width, height, kind) 

472  

473  

474cdef cudaError_t cudaMemcpy2DToArray(cudaArray_t dst, size_t wOffset, size_t hOffset, const void* src, size_t spitch, size_t width, size_t height, cudaMemcpyKind kind) except ?cudaErrorCallRequiresNewerDriver nogil: 

475 return _runtime._cudaMemcpy2DToArray(dst, wOffset, hOffset, src, spitch, width, height, kind) 1jhok

476  

477  

478cdef cudaError_t cudaMemcpy2DFromArray(void* dst, size_t dpitch, cudaArray_const_t src, size_t wOffset, size_t hOffset, size_t width, size_t height, cudaMemcpyKind kind) except ?cudaErrorCallRequiresNewerDriver nogil: 

479 return _runtime._cudaMemcpy2DFromArray(dst, dpitch, src, wOffset, hOffset, width, height, kind) 1jhoebck

480  

481  

482cdef cudaError_t cudaMemcpy2DArrayToArray(cudaArray_t dst, size_t wOffsetDst, size_t hOffsetDst, cudaArray_const_t src, size_t wOffsetSrc, size_t hOffsetSrc, size_t width, size_t height, cudaMemcpyKind kind) except ?cudaErrorCallRequiresNewerDriver nogil: 

483 return _runtime._cudaMemcpy2DArrayToArray(dst, wOffsetDst, hOffsetDst, src, wOffsetSrc, hOffsetSrc, width, height, kind) 1j

484  

485  

486cdef cudaError_t cudaMemcpyAsync(void* dst, const void* src, size_t count, cudaMemcpyKind kind, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

487 return _runtime._cudaMemcpyAsync(dst, src, count, kind, stream) 1m

488  

489  

490cdef cudaError_t cudaMemcpyPeerAsync(void* dst, int dstDevice, const void* src, int srcDevice, size_t count, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

491 return _runtime._cudaMemcpyPeerAsync(dst, dstDevice, src, srcDevice, count, stream) 

492  

493  

494cdef cudaError_t cudaMemcpyBatchAsync(const void** dsts, const void** srcs, const size_t* sizes, size_t count, cudaMemcpyAttributes* attrs, size_t* attrsIdxs, size_t numAttrs, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

495 return _runtime._cudaMemcpyBatchAsync(dsts, srcs, sizes, count, attrs, attrsIdxs, numAttrs, stream) 

496  

497  

498cdef cudaError_t cudaMemcpy3DBatchAsync(size_t numOps, cudaMemcpy3DBatchOp* opList, unsigned long long flags, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

499 return _runtime._cudaMemcpy3DBatchAsync(numOps, opList, flags, stream) 

500  

501  

502cdef cudaError_t cudaMemcpy2DAsync(void* dst, size_t dpitch, const void* src, size_t spitch, size_t width, size_t height, cudaMemcpyKind kind, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

503 return _runtime._cudaMemcpy2DAsync(dst, dpitch, src, spitch, width, height, kind, stream) 

504  

505  

506cdef cudaError_t cudaMemcpy2DToArrayAsync(cudaArray_t dst, size_t wOffset, size_t hOffset, const void* src, size_t spitch, size_t width, size_t height, cudaMemcpyKind kind, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

507 return _runtime._cudaMemcpy2DToArrayAsync(dst, wOffset, hOffset, src, spitch, width, height, kind, stream) 

508  

509  

510cdef cudaError_t cudaMemcpy2DFromArrayAsync(void* dst, size_t dpitch, cudaArray_const_t src, size_t wOffset, size_t hOffset, size_t width, size_t height, cudaMemcpyKind kind, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

511 return _runtime._cudaMemcpy2DFromArrayAsync(dst, dpitch, src, wOffset, hOffset, width, height, kind, stream) 

512  

513  

514cdef cudaError_t cudaMemset(void* devPtr, int value, size_t count) except ?cudaErrorCallRequiresNewerDriver nogil: 

515 return _runtime._cudaMemset(devPtr, value, count) 1Z

516  

517  

518cdef cudaError_t cudaMemset2D(void* devPtr, size_t pitch, int value, size_t width, size_t height) except ?cudaErrorCallRequiresNewerDriver nogil: 

519 return _runtime._cudaMemset2D(devPtr, pitch, value, width, height) 

520  

521  

522cdef cudaError_t cudaMemset3D(cudaPitchedPtr pitchedDevPtr, int value, cudaExtent extent) except ?cudaErrorCallRequiresNewerDriver nogil: 

523 return _runtime._cudaMemset3D(pitchedDevPtr, value, extent) 1qr

524  

525  

526cdef cudaError_t cudaMemsetAsync(void* devPtr, int value, size_t count, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

527 return _runtime._cudaMemsetAsync(devPtr, value, count, stream) 

528  

529  

530cdef cudaError_t cudaMemset2DAsync(void* devPtr, size_t pitch, int value, size_t width, size_t height, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

531 return _runtime._cudaMemset2DAsync(devPtr, pitch, value, width, height, stream) 

532  

533  

534cdef cudaError_t cudaMemset3DAsync(cudaPitchedPtr pitchedDevPtr, int value, cudaExtent extent, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

535 return _runtime._cudaMemset3DAsync(pitchedDevPtr, value, extent, stream) 

536  

537  

538cdef cudaError_t cudaMemPrefetchAsync(const void* devPtr, size_t count, cudaMemLocation location, unsigned int flags, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

539 return _runtime._cudaMemPrefetchAsync(devPtr, count, location, flags, stream) 

540  

541  

542cdef cudaError_t cudaMemAdvise(const void* devPtr, size_t count, cudaMemoryAdvise advice, cudaMemLocation location) except ?cudaErrorCallRequiresNewerDriver nogil: 

543 return _runtime._cudaMemAdvise(devPtr, count, advice, location) 

544  

545  

546cdef cudaError_t cudaMemRangeGetAttribute(void* data, size_t dataSize, cudaMemRangeAttribute attribute, const void* devPtr, size_t count) except ?cudaErrorCallRequiresNewerDriver nogil: 

547 return _runtime._cudaMemRangeGetAttribute(data, dataSize, attribute, devPtr, count) 

548  

549  

550cdef cudaError_t cudaMemRangeGetAttributes(void** data, size_t* dataSizes, cudaMemRangeAttribute* attributes, size_t numAttributes, const void* devPtr, size_t count) except ?cudaErrorCallRequiresNewerDriver nogil: 

551 return _runtime._cudaMemRangeGetAttributes(data, dataSizes, attributes, numAttributes, devPtr, count) 

552  

553  

554cdef cudaError_t cudaMemcpyToArray(cudaArray_t dst, size_t wOffset, size_t hOffset, const void* src, size_t count, cudaMemcpyKind kind) except ?cudaErrorCallRequiresNewerDriver nogil: 

555 return _runtime._cudaMemcpyToArray(dst, wOffset, hOffset, src, count, kind) 1ip

556  

557  

558cdef cudaError_t cudaMemcpyFromArray(void* dst, cudaArray_const_t src, size_t wOffset, size_t hOffset, size_t count, cudaMemcpyKind kind) except ?cudaErrorCallRequiresNewerDriver nogil: 

559 return _runtime._cudaMemcpyFromArray(dst, src, wOffset, hOffset, count, kind) 1ip

560  

561  

562cdef cudaError_t cudaMemcpyArrayToArray(cudaArray_t dst, size_t wOffsetDst, size_t hOffsetDst, cudaArray_const_t src, size_t wOffsetSrc, size_t hOffsetSrc, size_t count, cudaMemcpyKind kind) except ?cudaErrorCallRequiresNewerDriver nogil: 

563 return _runtime._cudaMemcpyArrayToArray(dst, wOffsetDst, hOffsetDst, src, wOffsetSrc, hOffsetSrc, count, kind) 1k

564  

565  

566cdef cudaError_t cudaMemcpyToArrayAsync(cudaArray_t dst, size_t wOffset, size_t hOffset, const void* src, size_t count, cudaMemcpyKind kind, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

567 return _runtime._cudaMemcpyToArrayAsync(dst, wOffset, hOffset, src, count, kind, stream) 

568  

569  

570cdef cudaError_t cudaMemcpyFromArrayAsync(void* dst, cudaArray_const_t src, size_t wOffset, size_t hOffset, size_t count, cudaMemcpyKind kind, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

571 return _runtime._cudaMemcpyFromArrayAsync(dst, src, wOffset, hOffset, count, kind, stream) 

572  

573  

574cdef cudaError_t cudaMallocAsync(void** devPtr, size_t size, cudaStream_t hStream) except ?cudaErrorCallRequiresNewerDriver nogil: 

575 return _runtime._cudaMallocAsync(devPtr, size, hStream) 

576  

577  

578cdef cudaError_t cudaFreeAsync(void* devPtr, cudaStream_t hStream) except ?cudaErrorCallRequiresNewerDriver nogil: 

579 return _runtime._cudaFreeAsync(devPtr, hStream) 

580  

581  

582cdef cudaError_t cudaMemPoolTrimTo(cudaMemPool_t memPool, size_t minBytesToKeep) except ?cudaErrorCallRequiresNewerDriver nogil: 

583 return _runtime._cudaMemPoolTrimTo(memPool, minBytesToKeep) 

584  

585  

586cdef cudaError_t cudaMemPoolSetAttribute(cudaMemPool_t memPool, cudaMemPoolAttr attr, void* value) except ?cudaErrorCallRequiresNewerDriver nogil: 

587 return _runtime._cudaMemPoolSetAttribute(memPool, attr, value) 1z

588  

589  

590cdef cudaError_t cudaMemPoolGetAttribute(cudaMemPool_t memPool, cudaMemPoolAttr attr, void* value) except ?cudaErrorCallRequiresNewerDriver nogil: 

591 return _runtime._cudaMemPoolGetAttribute(memPool, attr, value) 1z

592  

593  

594cdef cudaError_t cudaMemPoolSetAccess(cudaMemPool_t memPool, const cudaMemAccessDesc* descList, size_t count) except ?cudaErrorCallRequiresNewerDriver nogil: 

595 return _runtime._cudaMemPoolSetAccess(memPool, descList, count) 

596  

597  

598cdef cudaError_t cudaMemPoolGetAccess(cudaMemAccessFlags* flags, cudaMemPool_t memPool, cudaMemLocation* location) except ?cudaErrorCallRequiresNewerDriver nogil: 

599 return _runtime._cudaMemPoolGetAccess(flags, memPool, location) 

600  

601  

602cdef cudaError_t cudaMemPoolCreate(cudaMemPool_t* memPool, const cudaMemPoolProps* poolProps) except ?cudaErrorCallRequiresNewerDriver nogil: 

603 return _runtime._cudaMemPoolCreate(memPool, poolProps) 1z

604  

605  

606cdef cudaError_t cudaMemPoolDestroy(cudaMemPool_t memPool) except ?cudaErrorCallRequiresNewerDriver nogil: 

607 return _runtime._cudaMemPoolDestroy(memPool) 1z

608  

609  

610cdef cudaError_t cudaMallocFromPoolAsync(void** ptr, size_t size, cudaMemPool_t memPool, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

611 return _runtime._cudaMallocFromPoolAsync(ptr, size, memPool, stream) 

612  

613  

614cdef cudaError_t cudaMemPoolExportToShareableHandle(void* shareableHandle, cudaMemPool_t memPool, cudaMemAllocationHandleType handleType, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

615 return _runtime._cudaMemPoolExportToShareableHandle(shareableHandle, memPool, handleType, flags) 

616  

617  

618cdef cudaError_t cudaMemPoolImportFromShareableHandle(cudaMemPool_t* memPool, void* shareableHandle, cudaMemAllocationHandleType handleType, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

619 return _runtime._cudaMemPoolImportFromShareableHandle(memPool, shareableHandle, handleType, flags) 

620  

621  

622cdef cudaError_t cudaMemPoolExportPointer(cudaMemPoolPtrExportData* exportData, void* ptr) except ?cudaErrorCallRequiresNewerDriver nogil: 

623 return _runtime._cudaMemPoolExportPointer(exportData, ptr) 

624  

625  

626cdef cudaError_t cudaMemPoolImportPointer(void** ptr, cudaMemPool_t memPool, cudaMemPoolPtrExportData* exportData) except ?cudaErrorCallRequiresNewerDriver nogil: 

627 return _runtime._cudaMemPoolImportPointer(ptr, memPool, exportData) 

628  

629  

630cdef cudaError_t cudaPointerGetAttributes(cudaPointerAttributes* attributes, const void* ptr) except ?cudaErrorCallRequiresNewerDriver nogil: 

631 return _runtime._cudaPointerGetAttributes(attributes, ptr) 

632  

633  

634cdef cudaError_t cudaDeviceCanAccessPeer(int* canAccessPeer, int device, int peerDevice) except ?cudaErrorCallRequiresNewerDriver nogil: 

635 return _runtime._cudaDeviceCanAccessPeer(canAccessPeer, device, peerDevice) 

636  

637  

638cdef cudaError_t cudaDeviceEnablePeerAccess(int peerDevice, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

639 return _runtime._cudaDeviceEnablePeerAccess(peerDevice, flags) 

640  

641  

642cdef cudaError_t cudaDeviceDisablePeerAccess(int peerDevice) except ?cudaErrorCallRequiresNewerDriver nogil: 

643 return _runtime._cudaDeviceDisablePeerAccess(peerDevice) 

644  

645  

646cdef cudaError_t cudaGraphicsUnregisterResource(cudaGraphicsResource_t resource) except ?cudaErrorCallRequiresNewerDriver nogil: 

647 return _runtime._cudaGraphicsUnregisterResource(resource) 1FG

648  

649  

650cdef cudaError_t cudaGraphicsResourceSetMapFlags(cudaGraphicsResource_t resource, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

651 return _runtime._cudaGraphicsResourceSetMapFlags(resource, flags) 

652  

653  

654cdef cudaError_t cudaGraphicsMapResources(int count, cudaGraphicsResource_t* resources, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

655 return _runtime._cudaGraphicsMapResources(count, resources, stream) 

656  

657  

658cdef cudaError_t cudaGraphicsUnmapResources(int count, cudaGraphicsResource_t* resources, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

659 return _runtime._cudaGraphicsUnmapResources(count, resources, stream) 

660  

661  

662cdef cudaError_t cudaGraphicsResourceGetMappedPointer(void** devPtr, size_t* size, cudaGraphicsResource_t resource) except ?cudaErrorCallRequiresNewerDriver nogil: 

663 return _runtime._cudaGraphicsResourceGetMappedPointer(devPtr, size, resource) 

664  

665  

666cdef cudaError_t cudaGraphicsSubResourceGetMappedArray(cudaArray_t* array, cudaGraphicsResource_t resource, unsigned int arrayIndex, unsigned int mipLevel) except ?cudaErrorCallRequiresNewerDriver nogil: 

667 return _runtime._cudaGraphicsSubResourceGetMappedArray(array, resource, arrayIndex, mipLevel) 

668  

669  

670cdef cudaError_t cudaGraphicsResourceGetMappedMipmappedArray(cudaMipmappedArray_t* mipmappedArray, cudaGraphicsResource_t resource) except ?cudaErrorCallRequiresNewerDriver nogil: 

671 return _runtime._cudaGraphicsResourceGetMappedMipmappedArray(mipmappedArray, resource) 

672  

673  

674cdef cudaError_t cudaGetChannelDesc(cudaChannelFormatDesc* desc, cudaArray_const_t array) except ?cudaErrorCallRequiresNewerDriver nogil: 

675 return _runtime._cudaGetChannelDesc(desc, array) 1y

676  

677  

678cdef cudaChannelFormatDesc cudaCreateChannelDesc(int x, int y, int z, int w, cudaChannelFormatKind f) except* nogil: 

679 return _runtime._cudaCreateChannelDesc(x, y, z, w, f) 1xynjhoebckipA

680  

681  

682cdef cudaError_t cudaCreateTextureObject(cudaTextureObject_t* pTexObject, const cudaResourceDesc* pResDesc, const cudaTextureDesc* pTexDesc, const cudaResourceViewDesc* pResViewDesc) except ?cudaErrorCallRequiresNewerDriver nogil: 

683 return _runtime._cudaCreateTextureObject(pTexObject, pResDesc, pTexDesc, pResViewDesc) 1n

684  

685  

686cdef cudaError_t cudaDestroyTextureObject(cudaTextureObject_t texObject) except ?cudaErrorCallRequiresNewerDriver nogil: 

687 return _runtime._cudaDestroyTextureObject(texObject) 1n

688  

689  

690cdef cudaError_t cudaGetTextureObjectResourceDesc(cudaResourceDesc* pResDesc, cudaTextureObject_t texObject) except ?cudaErrorCallRequiresNewerDriver nogil: 

691 return _runtime._cudaGetTextureObjectResourceDesc(pResDesc, texObject) 

692  

693  

694cdef cudaError_t cudaGetTextureObjectTextureDesc(cudaTextureDesc* pTexDesc, cudaTextureObject_t texObject) except ?cudaErrorCallRequiresNewerDriver nogil: 

695 return _runtime._cudaGetTextureObjectTextureDesc(pTexDesc, texObject) 1n

696  

697  

698cdef cudaError_t cudaGetTextureObjectResourceViewDesc(cudaResourceViewDesc* pResViewDesc, cudaTextureObject_t texObject) except ?cudaErrorCallRequiresNewerDriver nogil: 

699 return _runtime._cudaGetTextureObjectResourceViewDesc(pResViewDesc, texObject) 

700  

701  

702cdef cudaError_t cudaCreateSurfaceObject(cudaSurfaceObject_t* pSurfObject, const cudaResourceDesc* pResDesc) except ?cudaErrorCallRequiresNewerDriver nogil: 

703 return _runtime._cudaCreateSurfaceObject(pSurfObject, pResDesc) 

704  

705  

706cdef cudaError_t cudaDestroySurfaceObject(cudaSurfaceObject_t surfObject) except ?cudaErrorCallRequiresNewerDriver nogil: 

707 return _runtime._cudaDestroySurfaceObject(surfObject) 

708  

709  

710cdef cudaError_t cudaGetSurfaceObjectResourceDesc(cudaResourceDesc* pResDesc, cudaSurfaceObject_t surfObject) except ?cudaErrorCallRequiresNewerDriver nogil: 

711 return _runtime._cudaGetSurfaceObjectResourceDesc(pResDesc, surfObject) 

712  

713  

714cdef cudaError_t cudaDriverGetVersion(int* driverVersion) except ?cudaErrorCallRequiresNewerDriver nogil: 

715 return _runtime._cudaDriverGetVersion(driverVersion) 

716  

717  

718cdef cudaError_t cudaRuntimeGetVersion(int* runtimeVersion) except ?cudaErrorCallRequiresNewerDriver nogil: 

719 return _runtime._cudaRuntimeGetVersion(runtimeVersion) 

720  

721  

722cdef cudaError_t cudaGraphCreate(cudaGraph_t* pGraph, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

723 return _runtime._cudaGraphCreate(pGraph, flags) 1BfMsCDNgdEtw0

724  

725  

726cdef cudaError_t cudaGraphAddKernelNode(cudaGraphNode_t* pGraphNode, cudaGraph_t graph, const cudaGraphNode_t* pDependencies, size_t numDependencies, const cudaKernelNodeParams* pNodeParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

727 return _runtime._cudaGraphAddKernelNode(pGraphNode, graph, pDependencies, numDependencies, pNodeParams) 

728  

729  

730cdef cudaError_t cudaGraphKernelNodeGetParams(cudaGraphNode_t node, cudaKernelNodeParams* pNodeParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

731 return _runtime._cudaGraphKernelNodeGetParams(node, pNodeParams) 

732  

733  

734cdef cudaError_t cudaGraphKernelNodeSetParams(cudaGraphNode_t node, const cudaKernelNodeParams* pNodeParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

735 return _runtime._cudaGraphKernelNodeSetParams(node, pNodeParams) 

736  

737  

738cdef cudaError_t cudaGraphKernelNodeCopyAttributes(cudaGraphNode_t hDst, cudaGraphNode_t hSrc) except ?cudaErrorCallRequiresNewerDriver nogil: 

739 return _runtime._cudaGraphKernelNodeCopyAttributes(hDst, hSrc) 

740  

741  

742cdef cudaError_t cudaGraphKernelNodeGetAttribute(cudaGraphNode_t hNode, cudaKernelNodeAttrID attr, cudaKernelNodeAttrValue* value_out) except ?cudaErrorCallRequiresNewerDriver nogil: 

743 return _runtime._cudaGraphKernelNodeGetAttribute(hNode, attr, value_out) 

744  

745  

746cdef cudaError_t cudaGraphKernelNodeSetAttribute(cudaGraphNode_t hNode, cudaKernelNodeAttrID attr, const cudaKernelNodeAttrValue* value) except ?cudaErrorCallRequiresNewerDriver nogil: 

747 return _runtime._cudaGraphKernelNodeSetAttribute(hNode, attr, value) 

748  

749  

750cdef cudaError_t cudaGraphAddMemcpyNode(cudaGraphNode_t* pGraphNode, cudaGraph_t graph, const cudaGraphNode_t* pDependencies, size_t numDependencies, const cudaMemcpy3DParms* pCopyParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

751 return _runtime._cudaGraphAddMemcpyNode(pGraphNode, graph, pDependencies, numDependencies, pCopyParams) 

752  

753  

754cdef cudaError_t cudaGraphAddMemcpyNode1D(cudaGraphNode_t* pGraphNode, cudaGraph_t graph, const cudaGraphNode_t* pDependencies, size_t numDependencies, void* dst, const void* src, size_t count, cudaMemcpyKind kind) except ?cudaErrorCallRequiresNewerDriver nogil: 

755 return _runtime._cudaGraphAddMemcpyNode1D(pGraphNode, graph, pDependencies, numDependencies, dst, src, count, kind) 1gd

756  

757  

758cdef cudaError_t cudaGraphMemcpyNodeGetParams(cudaGraphNode_t node, cudaMemcpy3DParms* pNodeParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

759 return _runtime._cudaGraphMemcpyNodeGetParams(node, pNodeParams) 

760  

761  

762cdef cudaError_t cudaGraphMemcpyNodeSetParams(cudaGraphNode_t node, const cudaMemcpy3DParms* pNodeParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

763 return _runtime._cudaGraphMemcpyNodeSetParams(node, pNodeParams) 

764  

765  

766cdef cudaError_t cudaGraphMemcpyNodeSetParams1D(cudaGraphNode_t node, void* dst, const void* src, size_t count, cudaMemcpyKind kind) except ?cudaErrorCallRequiresNewerDriver nogil: 

767 return _runtime._cudaGraphMemcpyNodeSetParams1D(node, dst, src, count, kind) 

768  

769  

770cdef cudaError_t cudaGraphAddMemsetNode(cudaGraphNode_t* pGraphNode, cudaGraph_t graph, const cudaGraphNode_t* pDependencies, size_t numDependencies, const cudaMemsetParams* pMemsetParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

771 return _runtime._cudaGraphAddMemsetNode(pGraphNode, graph, pDependencies, numDependencies, pMemsetParams) 1d

772  

773  

774cdef cudaError_t cudaGraphMemsetNodeGetParams(cudaGraphNode_t node, cudaMemsetParams* pNodeParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

775 return _runtime._cudaGraphMemsetNodeGetParams(node, pNodeParams) 

776  

777  

778cdef cudaError_t cudaGraphMemsetNodeSetParams(cudaGraphNode_t node, const cudaMemsetParams* pNodeParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

779 return _runtime._cudaGraphMemsetNodeSetParams(node, pNodeParams) 

780  

781  

782cdef cudaError_t cudaGraphAddHostNode(cudaGraphNode_t* pGraphNode, cudaGraph_t graph, const cudaGraphNode_t* pDependencies, size_t numDependencies, const cudaHostNodeParams* pNodeParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

783 return _runtime._cudaGraphAddHostNode(pGraphNode, graph, pDependencies, numDependencies, pNodeParams) 

784  

785  

786cdef cudaError_t cudaGraphHostNodeGetParams(cudaGraphNode_t node, cudaHostNodeParams* pNodeParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

787 return _runtime._cudaGraphHostNodeGetParams(node, pNodeParams) 

788  

789  

790cdef cudaError_t cudaGraphHostNodeSetParams(cudaGraphNode_t node, const cudaHostNodeParams* pNodeParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

791 return _runtime._cudaGraphHostNodeSetParams(node, pNodeParams) 

792  

793  

794cdef cudaError_t cudaGraphAddChildGraphNode(cudaGraphNode_t* pGraphNode, cudaGraph_t graph, const cudaGraphNode_t* pDependencies, size_t numDependencies, cudaGraph_t childGraph) except ?cudaErrorCallRequiresNewerDriver nogil: 

795 return _runtime._cudaGraphAddChildGraphNode(pGraphNode, graph, pDependencies, numDependencies, childGraph) 

796  

797  

798cdef cudaError_t cudaGraphChildGraphNodeGetGraph(cudaGraphNode_t node, cudaGraph_t* pGraph) except ?cudaErrorCallRequiresNewerDriver nogil: 

799 return _runtime._cudaGraphChildGraphNodeGetGraph(node, pGraph) 

800  

801  

802cdef cudaError_t cudaGraphAddEmptyNode(cudaGraphNode_t* pGraphNode, cudaGraph_t graph, const cudaGraphNode_t* pDependencies, size_t numDependencies) except ?cudaErrorCallRequiresNewerDriver nogil: 

803 return _runtime._cudaGraphAddEmptyNode(pGraphNode, graph, pDependencies, numDependencies) 1fsCDEtwO

804  

805  

806cdef cudaError_t cudaGraphAddEventRecordNode(cudaGraphNode_t* pGraphNode, cudaGraph_t graph, const cudaGraphNode_t* pDependencies, size_t numDependencies, cudaEvent_t event) except ?cudaErrorCallRequiresNewerDriver nogil: 

807 return _runtime._cudaGraphAddEventRecordNode(pGraphNode, graph, pDependencies, numDependencies, event) 

808  

809  

810cdef cudaError_t cudaGraphEventRecordNodeGetEvent(cudaGraphNode_t node, cudaEvent_t* event_out) except ?cudaErrorCallRequiresNewerDriver nogil: 

811 return _runtime._cudaGraphEventRecordNodeGetEvent(node, event_out) 

812  

813  

814cdef cudaError_t cudaGraphEventRecordNodeSetEvent(cudaGraphNode_t node, cudaEvent_t event) except ?cudaErrorCallRequiresNewerDriver nogil: 

815 return _runtime._cudaGraphEventRecordNodeSetEvent(node, event) 

816  

817  

818cdef cudaError_t cudaGraphAddEventWaitNode(cudaGraphNode_t* pGraphNode, cudaGraph_t graph, const cudaGraphNode_t* pDependencies, size_t numDependencies, cudaEvent_t event) except ?cudaErrorCallRequiresNewerDriver nogil: 

819 return _runtime._cudaGraphAddEventWaitNode(pGraphNode, graph, pDependencies, numDependencies, event) 

820  

821  

822cdef cudaError_t cudaGraphEventWaitNodeGetEvent(cudaGraphNode_t node, cudaEvent_t* event_out) except ?cudaErrorCallRequiresNewerDriver nogil: 

823 return _runtime._cudaGraphEventWaitNodeGetEvent(node, event_out) 

824  

825  

826cdef cudaError_t cudaGraphEventWaitNodeSetEvent(cudaGraphNode_t node, cudaEvent_t event) except ?cudaErrorCallRequiresNewerDriver nogil: 

827 return _runtime._cudaGraphEventWaitNodeSetEvent(node, event) 

828  

829  

830cdef cudaError_t cudaGraphAddExternalSemaphoresSignalNode(cudaGraphNode_t* pGraphNode, cudaGraph_t graph, const cudaGraphNode_t* pDependencies, size_t numDependencies, const cudaExternalSemaphoreSignalNodeParams* nodeParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

831 return _runtime._cudaGraphAddExternalSemaphoresSignalNode(pGraphNode, graph, pDependencies, numDependencies, nodeParams) 

832  

833  

834cdef cudaError_t cudaGraphExternalSemaphoresSignalNodeGetParams(cudaGraphNode_t hNode, cudaExternalSemaphoreSignalNodeParams* params_out) except ?cudaErrorCallRequiresNewerDriver nogil: 

835 return _runtime._cudaGraphExternalSemaphoresSignalNodeGetParams(hNode, params_out) 

836  

837  

838cdef cudaError_t cudaGraphExternalSemaphoresSignalNodeSetParams(cudaGraphNode_t hNode, const cudaExternalSemaphoreSignalNodeParams* nodeParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

839 return _runtime._cudaGraphExternalSemaphoresSignalNodeSetParams(hNode, nodeParams) 

840  

841  

842cdef cudaError_t cudaGraphAddExternalSemaphoresWaitNode(cudaGraphNode_t* pGraphNode, cudaGraph_t graph, const cudaGraphNode_t* pDependencies, size_t numDependencies, const cudaExternalSemaphoreWaitNodeParams* nodeParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

843 return _runtime._cudaGraphAddExternalSemaphoresWaitNode(pGraphNode, graph, pDependencies, numDependencies, nodeParams) 

844  

845  

846cdef cudaError_t cudaGraphExternalSemaphoresWaitNodeGetParams(cudaGraphNode_t hNode, cudaExternalSemaphoreWaitNodeParams* params_out) except ?cudaErrorCallRequiresNewerDriver nogil: 

847 return _runtime._cudaGraphExternalSemaphoresWaitNodeGetParams(hNode, params_out) 

848  

849  

850cdef cudaError_t cudaGraphExternalSemaphoresWaitNodeSetParams(cudaGraphNode_t hNode, const cudaExternalSemaphoreWaitNodeParams* nodeParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

851 return _runtime._cudaGraphExternalSemaphoresWaitNodeSetParams(hNode, nodeParams) 

852  

853  

854cdef cudaError_t cudaGraphAddMemAllocNode(cudaGraphNode_t* pGraphNode, cudaGraph_t graph, const cudaGraphNode_t* pDependencies, size_t numDependencies, cudaMemAllocNodeParams* nodeParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

855 return _runtime._cudaGraphAddMemAllocNode(pGraphNode, graph, pDependencies, numDependencies, nodeParams) 

856  

857  

858cdef cudaError_t cudaGraphMemAllocNodeGetParams(cudaGraphNode_t node, cudaMemAllocNodeParams* params_out) except ?cudaErrorCallRequiresNewerDriver nogil: 

859 return _runtime._cudaGraphMemAllocNodeGetParams(node, params_out) 

860  

861  

862cdef cudaError_t cudaGraphAddMemFreeNode(cudaGraphNode_t* pGraphNode, cudaGraph_t graph, const cudaGraphNode_t* pDependencies, size_t numDependencies, void* dptr) except ?cudaErrorCallRequiresNewerDriver nogil: 

863 return _runtime._cudaGraphAddMemFreeNode(pGraphNode, graph, pDependencies, numDependencies, dptr) 

864  

865  

866cdef cudaError_t cudaGraphMemFreeNodeGetParams(cudaGraphNode_t node, void* dptr_out) except ?cudaErrorCallRequiresNewerDriver nogil: 

867 return _runtime._cudaGraphMemFreeNodeGetParams(node, dptr_out) 

868  

869  

870cdef cudaError_t cudaDeviceGraphMemTrim(int device) except ?cudaErrorCallRequiresNewerDriver nogil: 

871 return _runtime._cudaDeviceGraphMemTrim(device) 

872  

873  

874cdef cudaError_t cudaDeviceGetGraphMemAttribute(int device, cudaGraphMemAttributeType attr, void* value) except ?cudaErrorCallRequiresNewerDriver nogil: 

875 return _runtime._cudaDeviceGetGraphMemAttribute(device, attr, value) 

876  

877  

878cdef cudaError_t cudaDeviceSetGraphMemAttribute(int device, cudaGraphMemAttributeType attr, void* value) except ?cudaErrorCallRequiresNewerDriver nogil: 

879 return _runtime._cudaDeviceSetGraphMemAttribute(device, attr, value) 

880  

881  

882cdef cudaError_t cudaGraphClone(cudaGraph_t* pGraphClone, cudaGraph_t originalGraph) except ?cudaErrorCallRequiresNewerDriver nogil: 

883 return _runtime._cudaGraphClone(pGraphClone, originalGraph) 

884  

885  

886cdef cudaError_t cudaGraphNodeFindInClone(cudaGraphNode_t* pNode, cudaGraphNode_t originalNode, cudaGraph_t clonedGraph) except ?cudaErrorCallRequiresNewerDriver nogil: 

887 return _runtime._cudaGraphNodeFindInClone(pNode, originalNode, clonedGraph) 

888  

889  

890cdef cudaError_t cudaGraphNodeGetType(cudaGraphNode_t node, cudaGraphNodeType* pType) except ?cudaErrorCallRequiresNewerDriver nogil: 

891 return _runtime._cudaGraphNodeGetType(node, pType) 

892  

893  

894cdef cudaError_t cudaGraphGetNodes(cudaGraph_t graph, cudaGraphNode_t* nodes, size_t* numNodes) except ?cudaErrorCallRequiresNewerDriver nogil: 

895 return _runtime._cudaGraphGetNodes(graph, nodes, numNodes) 1w

896  

897  

898cdef cudaError_t cudaGraphGetRootNodes(cudaGraph_t graph, cudaGraphNode_t* pRootNodes, size_t* pNumRootNodes) except ?cudaErrorCallRequiresNewerDriver nogil: 

899 return _runtime._cudaGraphGetRootNodes(graph, pRootNodes, pNumRootNodes) 

900  

901  

902cdef cudaError_t cudaGraphGetEdges(cudaGraph_t graph, cudaGraphNode_t* from_, cudaGraphNode_t* to, cudaGraphEdgeData* edgeData, size_t* numEdges) except ?cudaErrorCallRequiresNewerDriver nogil: 

903 return _runtime._cudaGraphGetEdges(graph, from_, to, edgeData, numEdges) 1E

904  

905  

906cdef cudaError_t cudaGraphNodeGetDependencies(cudaGraphNode_t node, cudaGraphNode_t* pDependencies, cudaGraphEdgeData* edgeData, size_t* pNumDependencies) except ?cudaErrorCallRequiresNewerDriver nogil: 

907 return _runtime._cudaGraphNodeGetDependencies(node, pDependencies, edgeData, pNumDependencies) 1t

908  

909  

910cdef cudaError_t cudaGraphNodeGetDependentNodes(cudaGraphNode_t node, cudaGraphNode_t* pDependentNodes, cudaGraphEdgeData* edgeData, size_t* pNumDependentNodes) except ?cudaErrorCallRequiresNewerDriver nogil: 

911 return _runtime._cudaGraphNodeGetDependentNodes(node, pDependentNodes, edgeData, pNumDependentNodes) 1t

912  

913  

914cdef cudaError_t cudaGraphAddDependencies(cudaGraph_t graph, const cudaGraphNode_t* from_, const cudaGraphNode_t* to, const cudaGraphEdgeData* edgeData, size_t numDependencies) except ?cudaErrorCallRequiresNewerDriver nogil: 

915 return _runtime._cudaGraphAddDependencies(graph, from_, to, edgeData, numDependencies) 

916  

917  

918cdef cudaError_t cudaGraphRemoveDependencies(cudaGraph_t graph, const cudaGraphNode_t* from_, const cudaGraphNode_t* to, const cudaGraphEdgeData* edgeData, size_t numDependencies) except ?cudaErrorCallRequiresNewerDriver nogil: 

919 return _runtime._cudaGraphRemoveDependencies(graph, from_, to, edgeData, numDependencies) 

920  

921  

922cdef cudaError_t cudaGraphDestroyNode(cudaGraphNode_t node) except ?cudaErrorCallRequiresNewerDriver nogil: 

923 return _runtime._cudaGraphDestroyNode(node) 1O

924  

925  

926cdef cudaError_t cudaGraphInstantiate(cudaGraphExec_t* pGraphExec, cudaGraph_t graph, unsigned long long flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

927 return _runtime._cudaGraphInstantiate(pGraphExec, graph, flags) 1fgdP

928  

929  

930cdef cudaError_t cudaGraphInstantiateWithFlags(cudaGraphExec_t* pGraphExec, cudaGraph_t graph, unsigned long long flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

931 return _runtime._cudaGraphInstantiateWithFlags(pGraphExec, graph, flags) 

932  

933  

934cdef cudaError_t cudaGraphInstantiateWithParams(cudaGraphExec_t* pGraphExec, cudaGraph_t graph, cudaGraphInstantiateParams* instantiateParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

935 return _runtime._cudaGraphInstantiateWithParams(pGraphExec, graph, instantiateParams) 

936  

937  

938cdef cudaError_t cudaGraphExecGetFlags(cudaGraphExec_t graphExec, unsigned long long* flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

939 return _runtime._cudaGraphExecGetFlags(graphExec, flags) 

940  

941  

942cdef cudaError_t cudaGraphExecKernelNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const cudaKernelNodeParams* pNodeParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

943 return _runtime._cudaGraphExecKernelNodeSetParams(hGraphExec, node, pNodeParams) 

944  

945  

946cdef cudaError_t cudaGraphExecMemcpyNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const cudaMemcpy3DParms* pNodeParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

947 return _runtime._cudaGraphExecMemcpyNodeSetParams(hGraphExec, node, pNodeParams) 

948  

949  

950cdef cudaError_t cudaGraphExecMemcpyNodeSetParams1D(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, void* dst, const void* src, size_t count, cudaMemcpyKind kind) except ?cudaErrorCallRequiresNewerDriver nogil: 

951 return _runtime._cudaGraphExecMemcpyNodeSetParams1D(hGraphExec, node, dst, src, count, kind) 

952  

953  

954cdef cudaError_t cudaGraphExecMemsetNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const cudaMemsetParams* pNodeParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

955 return _runtime._cudaGraphExecMemsetNodeSetParams(hGraphExec, node, pNodeParams) 

956  

957  

958cdef cudaError_t cudaGraphExecHostNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const cudaHostNodeParams* pNodeParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

959 return _runtime._cudaGraphExecHostNodeSetParams(hGraphExec, node, pNodeParams) 

960  

961  

962cdef cudaError_t cudaGraphExecChildGraphNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, cudaGraph_t childGraph) except ?cudaErrorCallRequiresNewerDriver nogil: 

963 return _runtime._cudaGraphExecChildGraphNodeSetParams(hGraphExec, node, childGraph) 

964  

965  

966cdef cudaError_t cudaGraphExecEventRecordNodeSetEvent(cudaGraphExec_t hGraphExec, cudaGraphNode_t hNode, cudaEvent_t event) except ?cudaErrorCallRequiresNewerDriver nogil: 

967 return _runtime._cudaGraphExecEventRecordNodeSetEvent(hGraphExec, hNode, event) 

968  

969  

970cdef cudaError_t cudaGraphExecEventWaitNodeSetEvent(cudaGraphExec_t hGraphExec, cudaGraphNode_t hNode, cudaEvent_t event) except ?cudaErrorCallRequiresNewerDriver nogil: 

971 return _runtime._cudaGraphExecEventWaitNodeSetEvent(hGraphExec, hNode, event) 

972  

973  

974cdef cudaError_t cudaGraphExecExternalSemaphoresSignalNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t hNode, const cudaExternalSemaphoreSignalNodeParams* nodeParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

975 return _runtime._cudaGraphExecExternalSemaphoresSignalNodeSetParams(hGraphExec, hNode, nodeParams) 

976  

977  

978cdef cudaError_t cudaGraphExecExternalSemaphoresWaitNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t hNode, const cudaExternalSemaphoreWaitNodeParams* nodeParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

979 return _runtime._cudaGraphExecExternalSemaphoresWaitNodeSetParams(hGraphExec, hNode, nodeParams) 

980  

981  

982cdef cudaError_t cudaGraphNodeSetEnabled(cudaGraphExec_t hGraphExec, cudaGraphNode_t hNode, unsigned int isEnabled) except ?cudaErrorCallRequiresNewerDriver nogil: 

983 return _runtime._cudaGraphNodeSetEnabled(hGraphExec, hNode, isEnabled) 

984  

985  

986cdef cudaError_t cudaGraphNodeGetEnabled(cudaGraphExec_t hGraphExec, cudaGraphNode_t hNode, unsigned int* isEnabled) except ?cudaErrorCallRequiresNewerDriver nogil: 

987 return _runtime._cudaGraphNodeGetEnabled(hGraphExec, hNode, isEnabled) 

988  

989  

990cdef cudaError_t cudaGraphExecUpdate(cudaGraphExec_t hGraphExec, cudaGraph_t hGraph, cudaGraphExecUpdateResultInfo* resultInfo) except ?cudaErrorCallRequiresNewerDriver nogil: 

991 return _runtime._cudaGraphExecUpdate(hGraphExec, hGraph, resultInfo) 

992  

993  

994cdef cudaError_t cudaGraphUpload(cudaGraphExec_t graphExec, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

995 return _runtime._cudaGraphUpload(graphExec, stream) 

996  

997  

998cdef cudaError_t cudaGraphLaunch(cudaGraphExec_t graphExec, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

999 return _runtime._cudaGraphLaunch(graphExec, stream) 1gd

1000  

1001  

1002cdef cudaError_t cudaGraphExecDestroy(cudaGraphExec_t graphExec) except ?cudaErrorCallRequiresNewerDriver nogil: 

1003 return _runtime._cudaGraphExecDestroy(graphExec) 1fP

1004  

1005  

1006cdef cudaError_t cudaGraphDestroy(cudaGraph_t graph) except ?cudaErrorCallRequiresNewerDriver nogil: 

1007 return _runtime._cudaGraphDestroy(graph) 1BfMsCDEtPO0

1008  

1009  

1010cdef cudaError_t cudaGraphDebugDotPrint(cudaGraph_t graph, const char* path, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

1011 return _runtime._cudaGraphDebugDotPrint(graph, path, flags) 

1012  

1013  

1014cdef cudaError_t cudaUserObjectCreate(cudaUserObject_t* object_out, void* ptr, cudaHostFn_t destroy, unsigned int initialRefcount, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

1015 return _runtime._cudaUserObjectCreate(object_out, ptr, destroy, initialRefcount, flags) 

1016  

1017  

1018cdef cudaError_t cudaUserObjectRetain(cudaUserObject_t object, unsigned int count) except ?cudaErrorCallRequiresNewerDriver nogil: 

1019 return _runtime._cudaUserObjectRetain(object, count) 

1020  

1021  

1022cdef cudaError_t cudaUserObjectRelease(cudaUserObject_t object, unsigned int count) except ?cudaErrorCallRequiresNewerDriver nogil: 

1023 return _runtime._cudaUserObjectRelease(object, count) 

1024  

1025  

1026cdef cudaError_t cudaGraphRetainUserObject(cudaGraph_t graph, cudaUserObject_t object, unsigned int count, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

1027 return _runtime._cudaGraphRetainUserObject(graph, object, count, flags) 

1028  

1029  

1030cdef cudaError_t cudaGraphReleaseUserObject(cudaGraph_t graph, cudaUserObject_t object, unsigned int count) except ?cudaErrorCallRequiresNewerDriver nogil: 

1031 return _runtime._cudaGraphReleaseUserObject(graph, object, count) 

1032  

1033  

1034cdef cudaError_t cudaGraphAddNode(cudaGraphNode_t* pGraphNode, cudaGraph_t graph, const cudaGraphNode_t* pDependencies, const cudaGraphEdgeData* dependencyData, size_t numDependencies, cudaGraphNodeParams* nodeParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

1035 return _runtime._cudaGraphAddNode(pGraphNode, graph, pDependencies, dependencyData, numDependencies, nodeParams) 1sN

1036  

1037  

1038cdef cudaError_t cudaGraphNodeSetParams(cudaGraphNode_t node, cudaGraphNodeParams* nodeParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

1039 return _runtime._cudaGraphNodeSetParams(node, nodeParams) 

1040  

1041  

1042cdef cudaError_t cudaGraphExecNodeSetParams(cudaGraphExec_t graphExec, cudaGraphNode_t node, cudaGraphNodeParams* nodeParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

1043 return _runtime._cudaGraphExecNodeSetParams(graphExec, node, nodeParams) 

1044  

1045  

1046cdef cudaError_t cudaGraphConditionalHandleCreate(cudaGraphConditionalHandle* pHandle_out, cudaGraph_t graph, unsigned int defaultLaunchValue, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

1047 return _runtime._cudaGraphConditionalHandleCreate(pHandle_out, graph, defaultLaunchValue, flags) 1N

1048  

1049  

1050cdef cudaError_t cudaGetDriverEntryPoint(const char* symbol, void** funcPtr, unsigned long long flags, cudaDriverEntryPointQueryResult* driverStatus) except ?cudaErrorCallRequiresNewerDriver nogil: 

1051 return _runtime._cudaGetDriverEntryPoint(symbol, funcPtr, flags, driverStatus) 

1052  

1053  

1054cdef cudaError_t cudaGetDriverEntryPointByVersion(const char* symbol, void** funcPtr, unsigned int cudaVersion, unsigned long long flags, cudaDriverEntryPointQueryResult* driverStatus) except ?cudaErrorCallRequiresNewerDriver nogil: 

1055 return _runtime._cudaGetDriverEntryPointByVersion(symbol, funcPtr, cudaVersion, flags, driverStatus) 

1056  

1057  

1058cdef cudaError_t cudaLibraryLoadData(cudaLibrary_t* library, const void* code, cudaJitOption* jitOptions, void** jitOptionsValues, unsigned int numJitOptions, cudaLibraryOption* libraryOptions, void** libraryOptionValues, unsigned int numLibraryOptions) except ?cudaErrorCallRequiresNewerDriver nogil: 

1059 return _runtime._cudaLibraryLoadData(library, code, jitOptions, jitOptionsValues, numJitOptions, libraryOptions, libraryOptionValues, numLibraryOptions) 

1060  

1061  

1062cdef cudaError_t cudaLibraryLoadFromFile(cudaLibrary_t* library, const char* fileName, cudaJitOption* jitOptions, void** jitOptionsValues, unsigned int numJitOptions, cudaLibraryOption* libraryOptions, void** libraryOptionValues, unsigned int numLibraryOptions) except ?cudaErrorCallRequiresNewerDriver nogil: 

1063 return _runtime._cudaLibraryLoadFromFile(library, fileName, jitOptions, jitOptionsValues, numJitOptions, libraryOptions, libraryOptionValues, numLibraryOptions) 

1064  

1065  

1066cdef cudaError_t cudaLibraryUnload(cudaLibrary_t library) except ?cudaErrorCallRequiresNewerDriver nogil: 

1067 return _runtime._cudaLibraryUnload(library) 

1068  

1069  

1070cdef cudaError_t cudaLibraryGetKernel(cudaKernel_t* pKernel, cudaLibrary_t library, const char* name) except ?cudaErrorCallRequiresNewerDriver nogil: 

1071 return _runtime._cudaLibraryGetKernel(pKernel, library, name) 

1072  

1073  

1074cdef cudaError_t cudaLibraryGetGlobal(void** dptr, size_t* bytes, cudaLibrary_t library, const char* name) except ?cudaErrorCallRequiresNewerDriver nogil: 

1075 return _runtime._cudaLibraryGetGlobal(dptr, bytes, library, name) 

1076  

1077  

1078cdef cudaError_t cudaLibraryGetManaged(void** dptr, size_t* bytes, cudaLibrary_t library, const char* name) except ?cudaErrorCallRequiresNewerDriver nogil: 

1079 return _runtime._cudaLibraryGetManaged(dptr, bytes, library, name) 

1080  

1081  

1082cdef cudaError_t cudaLibraryGetUnifiedFunction(void** fptr, cudaLibrary_t library, const char* symbol) except ?cudaErrorCallRequiresNewerDriver nogil: 

1083 return _runtime._cudaLibraryGetUnifiedFunction(fptr, library, symbol) 

1084  

1085  

1086cdef cudaError_t cudaLibraryGetKernelCount(unsigned int* count, cudaLibrary_t lib) except ?cudaErrorCallRequiresNewerDriver nogil: 

1087 return _runtime._cudaLibraryGetKernelCount(count, lib) 

1088  

1089  

1090cdef cudaError_t cudaLibraryEnumerateKernels(cudaKernel_t* kernels, unsigned int numKernels, cudaLibrary_t lib) except ?cudaErrorCallRequiresNewerDriver nogil: 

1091 return _runtime._cudaLibraryEnumerateKernels(kernels, numKernels, lib) 

1092  

1093  

1094cdef cudaError_t cudaKernelSetAttributeForDevice(cudaKernel_t kernel, cudaFuncAttribute attr, int value, int device) except ?cudaErrorCallRequiresNewerDriver nogil: 

1095 return _runtime._cudaKernelSetAttributeForDevice(kernel, attr, value, device) 

1096  

1097  

1098cdef cudaError_t cudaGetExportTable(const void** ppExportTable, const cudaUUID_t* pExportTableId) except ?cudaErrorCallRequiresNewerDriver nogil: 

1099 return _runtime._cudaGetExportTable(ppExportTable, pExportTableId) 

1100  

1101  

1102cdef cudaError_t cudaGetKernel(cudaKernel_t* kernelPtr, const void* entryFuncAddr) except ?cudaErrorCallRequiresNewerDriver nogil: 

1103 return _runtime._cudaGetKernel(kernelPtr, entryFuncAddr) 

1104  

1105  

1106cdef cudaError_t cudaGraphicsEGLRegisterImage(cudaGraphicsResource** pCudaResource, EGLImageKHR image, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

1107 return _runtime._cudaGraphicsEGLRegisterImage(pCudaResource, image, flags) 

1108  

1109  

1110cdef cudaError_t cudaEGLStreamConsumerConnect(cudaEglStreamConnection* conn, EGLStreamKHR eglStream) except ?cudaErrorCallRequiresNewerDriver nogil: 

1111 return _runtime._cudaEGLStreamConsumerConnect(conn, eglStream) 

1112  

1113  

1114cdef cudaError_t cudaEGLStreamConsumerConnectWithFlags(cudaEglStreamConnection* conn, EGLStreamKHR eglStream, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

1115 return _runtime._cudaEGLStreamConsumerConnectWithFlags(conn, eglStream, flags) 

1116  

1117  

1118cdef cudaError_t cudaEGLStreamConsumerDisconnect(cudaEglStreamConnection* conn) except ?cudaErrorCallRequiresNewerDriver nogil: 

1119 return _runtime._cudaEGLStreamConsumerDisconnect(conn) 

1120  

1121  

1122cdef cudaError_t cudaEGLStreamConsumerAcquireFrame(cudaEglStreamConnection* conn, cudaGraphicsResource_t* pCudaResource, cudaStream_t* pStream, unsigned int timeout) except ?cudaErrorCallRequiresNewerDriver nogil: 

1123 return _runtime._cudaEGLStreamConsumerAcquireFrame(conn, pCudaResource, pStream, timeout) 

1124  

1125  

1126cdef cudaError_t cudaEGLStreamConsumerReleaseFrame(cudaEglStreamConnection* conn, cudaGraphicsResource_t pCudaResource, cudaStream_t* pStream) except ?cudaErrorCallRequiresNewerDriver nogil: 

1127 return _runtime._cudaEGLStreamConsumerReleaseFrame(conn, pCudaResource, pStream) 

1128  

1129  

1130cdef cudaError_t cudaEGLStreamProducerConnect(cudaEglStreamConnection* conn, EGLStreamKHR eglStream, EGLint width, EGLint height) except ?cudaErrorCallRequiresNewerDriver nogil: 

1131 return _runtime._cudaEGLStreamProducerConnect(conn, eglStream, width, height) 

1132  

1133  

1134cdef cudaError_t cudaEGLStreamProducerDisconnect(cudaEglStreamConnection* conn) except ?cudaErrorCallRequiresNewerDriver nogil: 

1135 return _runtime._cudaEGLStreamProducerDisconnect(conn) 

1136  

1137  

1138cdef cudaError_t cudaEGLStreamProducerPresentFrame(cudaEglStreamConnection* conn, cudaEglFrame eglframe, cudaStream_t* pStream) except ?cudaErrorCallRequiresNewerDriver nogil: 

1139 return _runtime._cudaEGLStreamProducerPresentFrame(conn, eglframe, pStream) 

1140  

1141  

1142cdef cudaError_t cudaEGLStreamProducerReturnFrame(cudaEglStreamConnection* conn, cudaEglFrame* eglframe, cudaStream_t* pStream) except ?cudaErrorCallRequiresNewerDriver nogil: 

1143 return _runtime._cudaEGLStreamProducerReturnFrame(conn, eglframe, pStream) 

1144  

1145  

1146cdef cudaError_t cudaGraphicsResourceGetMappedEglFrame(cudaEglFrame* eglFrame, cudaGraphicsResource_t resource, unsigned int index, unsigned int mipLevel) except ?cudaErrorCallRequiresNewerDriver nogil: 

1147 return _runtime._cudaGraphicsResourceGetMappedEglFrame(eglFrame, resource, index, mipLevel) 

1148  

1149  

1150cdef cudaError_t cudaEventCreateFromEGLSync(cudaEvent_t* phEvent, EGLSyncKHR eglSync, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

1151 return _runtime._cudaEventCreateFromEGLSync(phEvent, eglSync, flags) 

1152  

1153  

1154cdef cudaError_t cudaProfilerStart() except ?cudaErrorCallRequiresNewerDriver nogil: 

1155 return _runtime._cudaProfilerStart() 11

1156  

1157  

1158cdef cudaError_t cudaProfilerStop() except ?cudaErrorCallRequiresNewerDriver nogil: 

1159 return _runtime._cudaProfilerStop() 11

1160  

1161  

1162cdef cudaError_t cudaGLGetDevices(unsigned int* pCudaDeviceCount, int* pCudaDevices, unsigned int cudaDeviceCount, cudaGLDeviceList deviceList) except ?cudaErrorCallRequiresNewerDriver nogil: 

1163 return _runtime._cudaGLGetDevices(pCudaDeviceCount, pCudaDevices, cudaDeviceCount, deviceList) 

1164  

1165  

1166cdef cudaError_t cudaGraphicsGLRegisterImage(cudaGraphicsResource** resource, GLuint image, GLenum target, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

1167 return _runtime._cudaGraphicsGLRegisterImage(resource, image, target, flags) 1FGH

1168  

1169  

1170cdef cudaError_t cudaGraphicsGLRegisterBuffer(cudaGraphicsResource** resource, GLuint buffer, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

1171 return _runtime._cudaGraphicsGLRegisterBuffer(resource, buffer, flags) 

1172  

1173  

1174cdef cudaError_t cudaVDPAUGetDevice(int* device, VdpDevice vdpDevice, VdpGetProcAddress* vdpGetProcAddress) except ?cudaErrorCallRequiresNewerDriver nogil: 

1175 return _runtime._cudaVDPAUGetDevice(device, vdpDevice, vdpGetProcAddress) 

1176  

1177  

1178cdef cudaError_t cudaVDPAUSetVDPAUDevice(int device, VdpDevice vdpDevice, VdpGetProcAddress* vdpGetProcAddress) except ?cudaErrorCallRequiresNewerDriver nogil: 

1179 return _runtime._cudaVDPAUSetVDPAUDevice(device, vdpDevice, vdpGetProcAddress) 

1180  

1181  

1182cdef cudaError_t cudaGraphicsVDPAURegisterVideoSurface(cudaGraphicsResource** resource, VdpVideoSurface vdpSurface, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

1183 return _runtime._cudaGraphicsVDPAURegisterVideoSurface(resource, vdpSurface, flags) 

1184  

1185  

1186cdef cudaError_t cudaGraphicsVDPAURegisterOutputSurface(cudaGraphicsResource** resource, VdpOutputSurface vdpSurface, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

1187 return _runtime._cudaGraphicsVDPAURegisterOutputSurface(resource, vdpSurface, flags) 

1188  

1189  

1190cdef cudaError_t cudaGetDeviceProperties(cudaDeviceProp* prop, int device) except ?cudaErrorCallRequiresNewerDriver nogil: 

1191 return _runtime._cudaGetDeviceProperties(prop, device) 2GcHc

1192  

1193  

1194cdef cudaError_t cudaDeviceGetHostAtomicCapabilities(unsigned int* capabilities, const cudaAtomicOperation* operations, unsigned int count, int device) except ?cudaErrorCallRequiresNewerDriver nogil: 

1195 return _runtime._cudaDeviceGetHostAtomicCapabilities(capabilities, operations, count, device) 

1196  

1197  

1198cdef cudaError_t cudaDeviceGetP2PAtomicCapabilities(unsigned int* capabilities, const cudaAtomicOperation* operations, unsigned int count, int srcDevice, int dstDevice) except ?cudaErrorCallRequiresNewerDriver nogil: 

1199 return _runtime._cudaDeviceGetP2PAtomicCapabilities(capabilities, operations, count, srcDevice, dstDevice) 

1200  

1201  

1202cdef cudaError_t cudaStreamGetCaptureInfo(cudaStream_t stream, cudaStreamCaptureStatus* captureStatus_out, unsigned long long* id_out, cudaGraph_t* graph_out, const cudaGraphNode_t** dependencies_out, const cudaGraphEdgeData** edgeData_out, size_t* numDependencies_out) except ?cudaErrorCallRequiresNewerDriver nogil: 

1203 return _runtime._cudaStreamGetCaptureInfo(stream, captureStatus_out, id_out, graph_out, dependencies_out, edgeData_out, numDependencies_out) 1v

1204  

1205  

1206cdef cudaError_t cudaSignalExternalSemaphoresAsync(const cudaExternalSemaphore_t* extSemArray, const cudaExternalSemaphoreSignalParams* paramsArray, unsigned int numExtSems, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

1207 return _runtime._cudaSignalExternalSemaphoresAsync(extSemArray, paramsArray, numExtSems, stream) 

1208  

1209  

1210cdef cudaError_t cudaWaitExternalSemaphoresAsync(const cudaExternalSemaphore_t* extSemArray, const cudaExternalSemaphoreWaitParams* paramsArray, unsigned int numExtSems, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

1211 return _runtime._cudaWaitExternalSemaphoresAsync(extSemArray, paramsArray, numExtSems, stream) 

1212  

1213  

1214cdef cudaError_t cudaMemPrefetchBatchAsync(void** dptrs, size_t* sizes, size_t count, cudaMemLocation* prefetchLocs, size_t* prefetchLocIdxs, size_t numPrefetchLocs, unsigned long long flags, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

1215 return _runtime._cudaMemPrefetchBatchAsync(dptrs, sizes, count, prefetchLocs, prefetchLocIdxs, numPrefetchLocs, flags, stream) 

1216  

1217  

1218cdef cudaError_t cudaMemDiscardBatchAsync(void** dptrs, size_t* sizes, size_t count, unsigned long long flags, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

1219 return _runtime._cudaMemDiscardBatchAsync(dptrs, sizes, count, flags, stream) 

1220  

1221  

1222cdef cudaError_t cudaMemDiscardAndPrefetchBatchAsync(void** dptrs, size_t* sizes, size_t count, cudaMemLocation* prefetchLocs, size_t* prefetchLocIdxs, size_t numPrefetchLocs, unsigned long long flags, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

1223 return _runtime._cudaMemDiscardAndPrefetchBatchAsync(dptrs, sizes, count, prefetchLocs, prefetchLocIdxs, numPrefetchLocs, flags, stream) 

1224  

1225  

1226cdef cudaError_t cudaMemGetDefaultMemPool(cudaMemPool_t* memPool, cudaMemLocation* location, cudaMemAllocationType type) except ?cudaErrorCallRequiresNewerDriver nogil: 

1227 return _runtime._cudaMemGetDefaultMemPool(memPool, location, type) 

1228  

1229  

1230cdef cudaError_t cudaMemGetMemPool(cudaMemPool_t* memPool, cudaMemLocation* location, cudaMemAllocationType type) except ?cudaErrorCallRequiresNewerDriver nogil: 

1231 return _runtime._cudaMemGetMemPool(memPool, location, type) 

1232  

1233  

1234cdef cudaError_t cudaMemSetMemPool(cudaMemLocation* location, cudaMemAllocationType type, cudaMemPool_t memPool) except ?cudaErrorCallRequiresNewerDriver nogil: 

1235 return _runtime._cudaMemSetMemPool(location, type, memPool) 

1236  

1237  

1238cdef cudaError_t cudaLogsRegisterCallback(cudaLogsCallback_t callbackFunc, void* userData, cudaLogsCallbackHandle* callback_out) except ?cudaErrorCallRequiresNewerDriver nogil: 

1239 return _runtime._cudaLogsRegisterCallback(callbackFunc, userData, callback_out) 

1240  

1241  

1242cdef cudaError_t cudaLogsUnregisterCallback(cudaLogsCallbackHandle callback) except ?cudaErrorCallRequiresNewerDriver nogil: 

1243 return _runtime._cudaLogsUnregisterCallback(callback) 

1244  

1245  

1246cdef cudaError_t cudaLogsCurrent(cudaLogIterator* iterator_out, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

1247 return _runtime._cudaLogsCurrent(iterator_out, flags) 

1248  

1249  

1250cdef cudaError_t cudaLogsDumpToFile(cudaLogIterator* iterator, const char* pathToFile, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

1251 return _runtime._cudaLogsDumpToFile(iterator, pathToFile, flags) 

1252  

1253  

1254cdef cudaError_t cudaLogsDumpToMemory(cudaLogIterator* iterator, char* buffer, size_t* size, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

1255 return _runtime._cudaLogsDumpToMemory(iterator, buffer, size, flags) 

1256  

1257  

1258cdef cudaError_t cudaGraphNodeGetContainingGraph(cudaGraphNode_t hNode, cudaGraph_t* phGraph) except ?cudaErrorCallRequiresNewerDriver nogil: 

1259 return _runtime._cudaGraphNodeGetContainingGraph(hNode, phGraph) 1s

1260  

1261  

1262cdef cudaError_t cudaGraphNodeGetLocalId(cudaGraphNode_t hNode, unsigned int* nodeId) except ?cudaErrorCallRequiresNewerDriver nogil: 

1263 return _runtime._cudaGraphNodeGetLocalId(hNode, nodeId) 1C

1264  

1265  

1266cdef cudaError_t cudaGraphNodeGetToolsId(cudaGraphNode_t hNode, unsigned long long* toolsNodeId) except ?cudaErrorCallRequiresNewerDriver nogil: 

1267 return _runtime._cudaGraphNodeGetToolsId(hNode, toolsNodeId) 1D

1268  

1269  

1270cdef cudaError_t cudaGraphGetId(cudaGraph_t hGraph, unsigned int* graphID) except ?cudaErrorCallRequiresNewerDriver nogil: 

1271 return _runtime._cudaGraphGetId(hGraph, graphID) 1M

1272  

1273  

1274cdef cudaError_t cudaGraphExecGetId(cudaGraphExec_t hGraphExec, unsigned int* graphID) except ?cudaErrorCallRequiresNewerDriver nogil: 

1275 return _runtime._cudaGraphExecGetId(hGraphExec, graphID) 1f

1276  

1277  

1278cdef cudaError_t cudaGraphConditionalHandleCreate_v2(cudaGraphConditionalHandle* pHandle_out, cudaGraph_t graph, cudaExecutionContext_t ctx, unsigned int defaultLaunchValue, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

1279 return _runtime._cudaGraphConditionalHandleCreate_v2(pHandle_out, graph, ctx, defaultLaunchValue, flags) 1B

1280  

1281  

1282cdef cudaError_t cudaDeviceGetDevResource(int device, cudaDevResource* resource, cudaDevResourceType type) except ?cudaErrorCallRequiresNewerDriver nogil: 

1283 return _runtime._cudaDeviceGetDevResource(device, resource, type) 22 3 4 Icl

1284  

1285  

1286cdef cudaError_t cudaDevSmResourceSplitByCount(cudaDevResource* result, unsigned int* nbGroups, const cudaDevResource* input, cudaDevResource* remaining, unsigned int flags, unsigned int minCount) except ?cudaErrorCallRequiresNewerDriver nogil: 

1287 return _runtime._cudaDevSmResourceSplitByCount(result, nbGroups, input, remaining, flags, minCount) 13

1288  

1289  

1290cdef cudaError_t cudaDevSmResourceSplit(cudaDevResource* result, unsigned int nbGroups, const cudaDevResource* input, cudaDevResource* remainder, unsigned int flags, cudaDevSmResourceGroupParams* groupParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

1291 return _runtime._cudaDevSmResourceSplit(result, nbGroups, input, remainder, flags, groupParams) 14

1292  

1293  

1294cdef cudaError_t cudaDevResourceGenerateDesc(cudaDevResourceDesc_t* phDesc, cudaDevResource* resources, unsigned int nbResources) except ?cudaErrorCallRequiresNewerDriver nogil: 

1295 return _runtime._cudaDevResourceGenerateDesc(phDesc, resources, nbResources) 12l

1296  

1297  

1298cdef cudaError_t cudaGreenCtxCreate(cudaExecutionContext_t* phCtx, cudaDevResourceDesc_t desc, int device, unsigned int flags) except ?cudaErrorCallRequiresNewerDriver nogil: 

1299 return _runtime._cudaGreenCtxCreate(phCtx, desc, device, flags) 1l

1300  

1301  

1302cdef cudaError_t cudaExecutionCtxDestroy(cudaExecutionContext_t ctx) except ?cudaErrorCallRequiresNewerDriver nogil: 

1303 return _runtime._cudaExecutionCtxDestroy(ctx) 1l

1304  

1305  

1306cdef cudaError_t cudaExecutionCtxGetDevResource(cudaExecutionContext_t ctx, cudaDevResource* resource, cudaDevResourceType type) except ?cudaErrorCallRequiresNewerDriver nogil: 

1307 return _runtime._cudaExecutionCtxGetDevResource(ctx, resource, type) 15

1308  

1309  

1310cdef cudaError_t cudaExecutionCtxGetDevice(int* device, cudaExecutionContext_t ctx) except ?cudaErrorCallRequiresNewerDriver nogil: 

1311 return _runtime._cudaExecutionCtxGetDevice(device, ctx) 16

1312  

1313  

1314cdef cudaError_t cudaExecutionCtxGetId(cudaExecutionContext_t ctx, unsigned long long* ctxId) except ?cudaErrorCallRequiresNewerDriver nogil: 

1315 return _runtime._cudaExecutionCtxGetId(ctx, ctxId) 17

1316  

1317  

1318cdef cudaError_t cudaExecutionCtxStreamCreate(cudaStream_t* phStream, cudaExecutionContext_t ctx, unsigned int flags, int priority) except ?cudaErrorCallRequiresNewerDriver nogil: 

1319 return _runtime._cudaExecutionCtxStreamCreate(phStream, ctx, flags, priority) 1J

1320  

1321  

1322cdef cudaError_t cudaExecutionCtxSynchronize(cudaExecutionContext_t ctx) except ?cudaErrorCallRequiresNewerDriver nogil: 

1323 return _runtime._cudaExecutionCtxSynchronize(ctx) 

1324  

1325  

1326cdef cudaError_t cudaStreamGetDevResource(cudaStream_t hStream, cudaDevResource* resource, cudaDevResourceType type) except ?cudaErrorCallRequiresNewerDriver nogil: 

1327 return _runtime._cudaStreamGetDevResource(hStream, resource, type) 1I

1328  

1329  

1330cdef cudaError_t cudaExecutionCtxRecordEvent(cudaExecutionContext_t ctx, cudaEvent_t event) except ?cudaErrorCallRequiresNewerDriver nogil: 

1331 return _runtime._cudaExecutionCtxRecordEvent(ctx, event) 

1332  

1333  

1334cdef cudaError_t cudaExecutionCtxWaitEvent(cudaExecutionContext_t ctx, cudaEvent_t event) except ?cudaErrorCallRequiresNewerDriver nogil: 

1335 return _runtime._cudaExecutionCtxWaitEvent(ctx, event) 

1336  

1337  

1338cdef cudaError_t cudaDeviceGetExecutionCtx(cudaExecutionContext_t* ctx, int device) except ?cudaErrorCallRequiresNewerDriver nogil: 

1339 return _runtime._cudaDeviceGetExecutionCtx(ctx, device) 1567JB

1340  

1341  

1342cdef cudaError_t cudaFuncGetParamCount(const void* func, size_t* paramCount) except ?cudaErrorCallRequiresNewerDriver nogil: 

1343 return _runtime._cudaFuncGetParamCount(func, paramCount) 

1344  

1345  

1346cdef cudaError_t cudaLaunchHostFunc_v2(cudaStream_t stream, cudaHostFn_t fn, void* userData, unsigned int syncMode) except ?cudaErrorCallRequiresNewerDriver nogil: 

1347 return _runtime._cudaLaunchHostFunc_v2(stream, fn, userData, syncMode) 

1348  

1349  

1350cdef cudaError_t cudaMemcpyWithAttributesAsync(void* dst, const void* src, size_t size, cudaMemcpyAttributes* attr, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

1351 return _runtime._cudaMemcpyWithAttributesAsync(dst, src, size, attr, stream) 

1352  

1353  

1354cdef cudaError_t cudaMemcpy3DWithAttributesAsync(cudaMemcpy3DBatchOp* op, unsigned long long flags, cudaStream_t stream) except ?cudaErrorCallRequiresNewerDriver nogil: 

1355 return _runtime._cudaMemcpy3DWithAttributesAsync(op, flags, stream) 

1356  

1357  

1358cdef cudaError_t cudaGraphNodeGetParams(cudaGraphNode_t node, cudaGraphNodeParams* nodeParams) except ?cudaErrorCallRequiresNewerDriver nogil: 

1359 return _runtime._cudaGraphNodeGetParams(node, nodeParams) 

1360  

1361  

1362cdef cudaError_t cudaStreamBeginRecaptureToGraph(cudaStream_t stream, cudaStreamCaptureMode mode, cudaGraph_t graph, cudaGraphRecaptureCallbackData* callbackData) except ?cudaErrorCallRequiresNewerDriver nogil: 

1363 return _runtime._cudaStreamBeginRecaptureToGraph(stream, mode, graph, callbackData) 

1364  

1365  

1366############################################################################### 

1367# Static inline helpers from driver_functions.h 

1368############################################################################### 

1369  

1370cdef extern from 'driver_functions.h': 

1371 cudaPitchedPtr _c_make_cudaPitchedPtr "make_cudaPitchedPtr"(void* d, size_t p, size_t xsz, size_t ysz) nogil 

1372 cudaPos _c_make_cudaPos "make_cudaPos"(size_t x, size_t y, size_t z) nogil 

1373 cudaExtent _c_make_cudaExtent "make_cudaExtent"(size_t w, size_t h, size_t d) nogil 

1374  

1375  

1376cdef cudaPitchedPtr make_cudaPitchedPtr(void* d, size_t p, size_t xsz, size_t ysz) except* nogil: 

1377 return _c_make_cudaPitchedPtr(d, p, xsz, ysz) 1ebcA

1378  

1379  

1380cdef cudaPos make_cudaPos(size_t x, size_t y, size_t z) except* nogil: 

1381 return _c_make_cudaPos(x, y, z) 1A

1382  

1383  

1384cdef cudaExtent make_cudaExtent(size_t w, size_t h, size_t d) except* nogil: 

1385 return _c_make_cudaExtent(w, h, d) 1ebcqrA

1386  

1387  

1388############################################################################### 

1389# getLocalRuntimeVersion 

1390############################################################################### 

1391  

1392cdef cudaError_t getLocalRuntimeVersion(int* runtimeVersion) except ?cudaErrorCallRequiresNewerDriver nogil: 

1393 return _runtime._getLocalRuntimeVersion(runtimeVersion) 2Jc