SWDEV-542700 - Return an error if stream capture is attempted on the null stream while a stream capture is active. (#450)
Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com> Co-authored-by: systems-assistant[bot] <systems-assistant[bot]@users.noreply.github.com> Co-authored-by: Godavarthy Surya, Anusha <agodavar@amd.com>
This commit is contained in:
committed by
GitHub
parent
a141df3518
commit
0647cf1d28
@@ -256,6 +256,8 @@ const char* ihipGetErrorName(hipError_t hip_error);
|
||||
reinterpret_cast<hip::Stream*>(stream)->GetCaptureStatus() == \
|
||||
hipStreamCaptureStatusInvalidated) { \
|
||||
return hipErrorStreamCaptureInvalidated; \
|
||||
} else { \
|
||||
CHECK_STREAM_CAPTURING() \
|
||||
}
|
||||
|
||||
#define PER_THREAD_DEFAULT_STREAM(stream) \
|
||||
|
||||
Reference in New Issue
Block a user