mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-09-21 08:49:04 +00:00
Implement cuStreamCreate (#511)
This commit is contained in:
parent
262c25c76e
commit
3afb8d39e7
2 changed files with 5 additions and 0 deletions
|
@ -4,6 +4,10 @@ pub(crate) fn synchronize(stream: hipStream_t) -> hipError_t {
|
|||
unsafe { hipStreamSynchronize(stream) }
|
||||
}
|
||||
|
||||
pub(crate) fn create(stream: *mut hipStream_t, flags: ::core::ffi::c_uint) -> hipError_t {
|
||||
unsafe { hipStreamCreateWithFlags(stream, flags) }
|
||||
}
|
||||
|
||||
pub(crate) fn create_with_priority(
|
||||
stream: *mut hipStream_t,
|
||||
flags: ::core::ffi::c_uint,
|
||||
|
|
|
@ -152,6 +152,7 @@ cuda_macros::cuda_function_declarations!(
|
|||
cuProfilerStart,
|
||||
cuProfilerStop,
|
||||
cuStreamBeginCapture_v2,
|
||||
cuStreamCreate,
|
||||
cuStreamCreateWithPriority,
|
||||
cuStreamDestroy_v2,
|
||||
cuStreamEndCapture,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue