P4 to Git Change 1555197 by cpaquot@cpaquot-ocl-lc-lnx on 2018/05/15 16:26:41

SWDEV-145570 - [HIP] Fixed a typo, hipStreamGetFlags test passes now

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#10 edit
This commit is contained in:
foreman
2018-05-15 16:36:25 -04:00
orang tua da00b9270a
melakukan bb008fbf94
+1 -1
Melihat File
@@ -84,7 +84,7 @@ hipError_t hipStreamGetFlags(hipStream_t stream, unsigned int *flags) {
auto it = streamSet.find(hostQueue);
if(flags != nullptr) {
*flags = (it != streamSet.end()) ? hipStreamNonBlocking : hipStreamDefault;
*flags = (it == streamSet.end()) ? hipStreamNonBlocking : hipStreamDefault;
} else {
return hipErrorInvalidValue;
}