SWDEV-527781 - Remove Stream Validation in HIP APIs

[ROCm/clr commit: 0457b634f8]
This commit is contained in:
Xie, Pengda
2025-05-13 13:45:27 -07:00
committed by GitHub
parent 71f19d7017
commit d0b5bee680
7 changed files with 21 additions and 68 deletions
-3
View File
@@ -390,9 +390,6 @@ hipError_t hipEventRecord_common(hipEvent_t event, hipStream_t stream, unsigned
return hipErrorInvalidHandle;
}
getStreamPerThread(stream);
if (!hip::isValid(stream)) {
return hipErrorContextIsDestroyed;
}
hip::Event* e = reinterpret_cast<hip::Event*>(event);
hip::Stream* s = reinterpret_cast<hip::Stream*>(stream);
hip::Stream* hip_stream = hip::getStream(stream);