Add __hip_pinned_shadow__ for hip-clang and fix texture reference tests (#1200)

This commit is contained in:
Yaxun (Sam) Liu
2019-07-03 04:51:59 -04:00
committad av Maneesh Gupta
förälder d57946275b
incheckning 85c3b903df
3 ändrade filer med 7 tillägg och 0 borttagningar
+3
Visa fil
@@ -9,6 +9,9 @@
#include <hip/hip_runtime.h>
#include "test_common.h"
#if __HIP__
__hip_pinned_shadow__
#endif
texture<float, 2, hipReadModeElementType> tex;
__global__ void tex2DKernel(float* outputData,