SWDEV-309676 - Fix for build failure due to new compiler flag -Wbitwise-instead-of-logical (#2443)

Change-Id: I55d230dbb409b93d17dcff2bd29b27100b586e17

[ROCm/hip commit: 2734e94293]
Этот коммит содержится в:
sumanthtg
2021-12-20 14:04:38 +05:30
коммит произвёл GitHub
родитель 6a81c11669
Коммит 0f1a85cd1c
+2 -2
Просмотреть файл
@@ -285,8 +285,8 @@ static bool regressAllocInLoopMthread(int gpu) {
* Thread func to regress alloc and check data consistency
*/
static void threadFunc(int gpu) {
g_thTestPassed = regressAllocInLoopMthread(gpu);
g_thTestPassed = g_thTestPassed & validateMemoryOnGpuMThread(gpu);
g_thTestPassed = regressAllocInLoopMthread(gpu)
&& validateMemoryOnGpuMThread(gpu);
UNSCOPED_INFO("thread execution status on gpu" << gpu << ":" <<
g_thTestPassed.load());