SWDEV-294596 - Fix module test failure on NV

Remove unecessary codes

Change-Id: I4248b2cebd3de156f9d5d427e0697da22fb964ea


[ROCm/hip commit: a0b301089c]
Esse commit está contido em:
Tao Sang
2021-07-25 21:21:12 -04:00
commit 1dcac5ba79
@@ -589,7 +589,6 @@ bool testhipModuleGetGlobalNeg50() {
HIPCHECK(hipModuleLoad(&Module, CODEOBJ_GLOBAL));
if ((ret = hipModuleGetGlobal(nullptr,
&deviceGlobalSize, Module, DEVGLOB_VAR)) != hipSuccess) {
TestPassed = true; // To be removed
printf("Test Passed: Error Code Returned: '%s'(%d)\n",
hipGetErrorString(ret), ret);
} else {
@@ -619,7 +618,6 @@ bool testhipModuleGetGlobalNeg51() {
HIPCHECK(hipModuleLoad(&Module, CODEOBJ_GLOBAL));
if ((ret = hipModuleGetGlobal(&deviceGlobal, nullptr,
Module, DEVGLOB_VAR)) != hipSuccess) {
TestPassed = true; // To be removed
printf("Test Passed: Error Code Returned: '%s'(%d)\n",
hipGetErrorString(ret), ret);
} else {