SWDEV-292547 - To match cuda behavior
Change-Id: I3577609fcc5443949f73644196e8310fc49d887f
This commit is contained in:
کامیت شده توسط
Sarbojit Sarkar
والد
361dec890c
کامیت
930807fd20
@@ -402,7 +402,9 @@ hipError_t hipStreamDestroy(hipStream_t stream) {
|
||||
if (stream == nullptr) {
|
||||
HIP_RETURN(hipErrorInvalidHandle);
|
||||
}
|
||||
|
||||
if (stream == hipStreamPerThread) {
|
||||
HIP_RETURN(hipErrorInvalidResourceHandle);
|
||||
}
|
||||
if (!hip::isValid(stream)) {
|
||||
HIP_RETURN(hipErrorContextIsDestroyed);
|
||||
}
|
||||
|
||||
مرجع در شماره جدید
Block a user