SWDEV-545953 - Add Nvidia mapping for hipStreamGetId (#456)
Co-authored-by: Satyanvesh Dittakavi <Satyanvesh.Dittakavi@amd.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
3e62d0d2e6
Коммит
832af6d472
@@ -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));
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user