Skip to content

Commit 562265c

Browse files
committed
Update libcuda_deprecated.jl
1 parent ec4b31b commit 562265c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/cudadrv/libcuda_deprecated.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,10 @@ end
5555
@checked function cuDeviceGetUuid(uuid, dev)
5656
@gcsafe_ccall libcuda.cuDeviceGetUuid(uuid::Ptr{CUuuid}, dev::CUdevice)::CUresult
5757
end
58+
59+
@checked function cuMemPrefetchAsync(devPtr, count, dstDevice, hStream)
60+
initialize_context()
61+
@gcsafe_ccall libcuda.cuMemPrefetchAsync(devPtr::CUdeviceptr, count::Csize_t,
62+
dstDevice::CUdevice,
63+
hStream::CUstream)::CUresult
64+
end

0 commit comments

Comments
 (0)