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
Ta zmiana jest zawarta w:
%! (template.HTML=
foreman)złożyło 2018-05-15 16:36:25 -04:00
1 rodzic
da00b9270a
złożenie
bb008fbf94
Plik 1 zmieniony
+1
-1
@@ -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
Zablokuj użytkownika