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

Change-Id: I405789b430ffbb8fccda1cebdb5d18e83a85c926
This commit is contained in:
kjayapra-amd
2020-06-11 17:23:41 -04:00
zatwierdzone przez Karthik Jayaprakash
rodzic 00301b1665
commit 0dd6123998
5 zmienionych plików z 6 dodań i 7 usunięć
+1 -4
Wyświetl plik
@@ -27,10 +27,7 @@ THE SOFTWARE.
#include "hip/hip_runtime.h"
#if __HIP__
__hip_pinned_shadow__
#endif
extern texture<float, 2, hipReadModeElementType> tex;
texture<float, 2, hipReadModeElementType> tex;
extern "C" __global__ void tex2dKernel(float* outputData, int width, int height) {
int x = hipBlockIdx_x * hipBlockDim_x + hipThreadIdx_x;