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

Change-Id: I55d230dbb409b93d17dcff2bd29b27100b586e17
Esse commit está contido em:
sumanthtg
2021-12-20 14:04:38 +05:30
commit de GitHub
commit 2734e94293
+2 -2
Ver Arquivo
@@ -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());