Skip to content

Commit c9d81c9

Browse files
amontoisonmaleadt
authored andcommitted
Update libcuda_deprecated.jl
1 parent 8e6b42f commit c9d81c9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/cudadrv/libcuda_deprecated.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,9 @@ end
6262
dstDevice::CUdevice,
6363
hStream::CUstream)::CUresult
6464
end
65+
66+
@checked function cuEventElapsedTime(pMilliseconds, hStart, hEnd)
67+
initialize_context()
68+
@gcsafe_ccall libcuda.cuEventElapsedTime(pMilliseconds::Ptr{Cfloat}, hStart::CUevent,
69+
hEnd::CUevent)::CUresult
70+
end

0 commit comments

Comments
 (0)