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

Change-Id: I55d230dbb409b93d17dcff2bd29b27100b586e17

[ROCm/hip commit: 2734e94293]
This commit is contained in:
sumanthtg
2021-12-20 14:04:38 +05:30
committed by GitHub
parent 6a81c11669
commit 0f1a85cd1c
@@ -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());