SWDEV-545953 - Add Nvidia mapping for hipStreamGetId (#456)
Co-authored-by: Satyanvesh Dittakavi <Satyanvesh.Dittakavi@amd.com>
Este commit está contenido en:
1 padre
3e62d0d2e6
commit
832af6d472
1 file changed
+4
@@ -3287,6 +3287,10 @@ inline static hipError_t hipStreamGetFlags(hipStream_t stream, unsigned int* fla
|
||||
return hipCUDAErrorTohipError(cudaStreamGetFlags(stream, flags));
|
||||
}
|
||||
|
||||
inline static hipError_t hipStreamGetId(hipStream_t stream, unsigned long long *streamId) {
|
||||
return hipCUDAErrorTohipError(cudaStreamGetId(stream, streamId));
|
||||
}
|
||||
|
||||
inline static hipError_t hipStreamGetPriority(hipStream_t stream, int* priority) {
|
||||
return hipCUDAErrorTohipError(cudaStreamGetPriority(stream, priority));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user