SWDEV-236178 - Remove __hip_pinned_shadow reference from dtests and add hipModuleUnload for all corresponding hipModuleLoad calls.

Change-Id: I405789b430ffbb8fccda1cebdb5d18e83a85c926


[ROCm/hip commit: 0dd6123998]
This commit is contained in:
kjayapra-amd
2020-06-11 17:23:41 -04:00
zatwierdzone przez Karthik Jayaprakash
rodzic 44930cfb52
commit f2c6f3bf63
5 zmienionych plików z 6 dodań i 7 usunięć
+2 -3
Wyświetl plik
@@ -21,6 +21,7 @@ THE SOFTWARE.
*/
/* HIT_START
* BUILD_CMD: tex2d_kernel.code %hc --genco %S/tex2d_kernel.cpp -o tex2d_kernel.code
* BUILD: %t %s ../../test_common.cpp EXCLUDE_HIP_PLATFORM nvcc rocclr
* TEST: %t
* HIT_END
@@ -33,9 +34,6 @@ THE SOFTWARE.
#define fileName "tex2d_kernel.code"
#if __HIP__
__hip_pinned_shadow__
#endif
texture<float, 2, hipReadModeElementType> tex;
bool testResult = false;
@@ -133,6 +131,7 @@ bool runTest(int argc, char** argv) {
}
hipFree(dData);
hipFreeArray(array);
HIP_CHECK(hipModuleUnload(Module));
return true;
}