SWDEV-560065 - Revert changes to align error code with Cuda when stream capture is tried on Legacy stream (#1337)
* SWDEV-560065 - Revert "SWDEV-555484 - Invalidate capturing stream only for null/legacy stream. (#1032)" This reverts commit99613f1009. * SWDEV-560065 - Revert "SWDEV-542700 - Return an error if stream capture is attempted on the null stream while a stream capture is active. (#450)" This reverts commit0647cf1d28.
Bu işleme şunda yer alıyor:
@@ -256,8 +256,6 @@ const char* ihipGetErrorName(hipError_t hip_error);
|
||||
reinterpret_cast<hip::Stream*>(stream)->GetCaptureStatus() == \
|
||||
hipStreamCaptureStatusInvalidated) { \
|
||||
return hipErrorStreamCaptureInvalidated; \
|
||||
} else if (stream == nullptr || stream == hipStreamLegacy) { \
|
||||
CHECK_STREAM_CAPTURING() \
|
||||
}
|
||||
|
||||
#define PER_THREAD_DEFAULT_STREAM(stream) \
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle