Add __hip_pinned_shadow__ for texture

Add missing __hip_pinned_shadow__ for texture in tex2d_kernel test.

Change-Id: Iefc96084fec8f84a1d1bb979998ffb95b4011f0b


[ROCm/hip commit: ed56e605d4]
This commit is contained in:
Tao Sang
2020-02-20 20:01:28 -05:00
والد b98cb2b0e0
کامیت 6b9e891c1e
@@ -26,6 +26,10 @@ THE SOFTWARE.
*/
#include "hip/hip_runtime.h"
#if __HIP__
__hip_pinned_shadow__
#endif
extern texture<float, 2, hipReadModeElementType> tex;
extern "C" __global__ void tex2dKernel(float* outputData, int width, int height) {