Fix originally wrong logic. Change-Id: Ia4d3d9ee3d5712ce2e8914afcc2846b88306c483 [ROCm/hip-tests commit: bc47bc35df]
bc47bc35df