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

Change-Id: I55d230dbb409b93d17dcff2bd29b27100b586e17
这个提交包含在:
sumanthtg 编写, GitHub 于 2021-12-20 14:04:38 +05:30 提交
1 父节点 2e4d43deb1
当前提交 2201b35f5e
1 个文件已更改
+2 -2
+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());