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

Change-Id: I55d230dbb409b93d17dcff2bd29b27100b586e17

[ROCm/hip-tests commit: 2201b35f5e]
Cette révision appartient à :
sumanthtg
2021-12-20 14:04:38 +05:30
révisé par GitHub
Parent 4564fd3633
révision df6ece4512
+2 -2
Voir le fichier
@@ -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());