Fix hipMemset stream resolution

[ROCm/clr commit: 88073a17c1]
Ta zmiana jest zawarta w:
%! (template.HTML=Rahul Garg)złożyło 2018-04-11 19:01:53 +05:30
1 rodzic a3bc29976b
złożenie aff8d83cdf
Plik 1 zmieniony
+1
+1
Wyświetl plik
@@ -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();