SWDEV-477219 - hipEventRecordwithFlags hipother
Change-Id: I17313697f24ab095f134da0873148962114df5fc
このコミットが含まれているのは:
@@ -366,6 +366,9 @@ typedef enum cudaResourceViewFormat hipResourceViewFormat;
|
||||
#define hipEventReleaseToDevice 0 /* no-op on CUDA platform */
|
||||
#define hipEventReleaseToSystem 0 /* no-op on CUDA platform */
|
||||
|
||||
//! Flags that can be used with hipEventRecordWithFlags.
|
||||
#define hipEventRecordDefault cudaEventRecordDefault
|
||||
#define hipEventRecordExternal cudaEventRecordExternal
|
||||
|
||||
#define hipHostMallocDefault cudaHostAllocDefault
|
||||
#define hipHostMallocPortable cudaHostAllocPortable
|
||||
@@ -2926,6 +2929,11 @@ inline static hipError_t hipEventRecord(hipEvent_t event, hipStream_t stream __d
|
||||
return hipCUDAErrorTohipError(cudaEventRecord(event, stream));
|
||||
}
|
||||
|
||||
inline static hipError_t hipEventRecordWithFlags(hipEvent_t event, hipStream_t stream __dparm(0),
|
||||
unsigned int flags __dparm(0))
|
||||
return hipCUDAErrorTohipError(cudaEventRecordWithFlags(event, stream, flags));
|
||||
}
|
||||
|
||||
inline static hipError_t hipEventSynchronize(hipEvent_t event) {
|
||||
return hipCUDAErrorTohipError(cudaEventSynchronize(event));
|
||||
}
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする