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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user