Removed bool variable 'testResult' from global scope and confined it to the function. [ROCm/hip commit: e2eeee29da]
e2eeee29da