Fix hipMemset stream resolution
This commit is contained in:
1 parent
40846f6f8e
commit
88073a17c1
1 file changed
+1
@@ -1619,6 +1619,7 @@ hipError_t hipMemset(void* dst, int value, size_t sizeBytes) {
|
||||
hipError_t e = hipSuccess;
|
||||
|
||||
hipStream_t stream = hipStreamNull;
|
||||
stream = ihipSyncAndResolveStream(stream);
|
||||
if (stream) {
|
||||
e = ihipMemset(dst, value, sizeBytes, stream, ihipMemsetCopyDataTypeChar);
|
||||
stream->locked_wait();
|
||||
|
||||
Reference in new issue
Block a user