Add missing __hip_pinned_shadow__ attributes to the texture global vars. (#1866)

This commit is contained in:
vsytch
2020-02-14 23:22:25 -05:00
committed by GitHub
parent e7120dd876
commit 56b8b0d80e
4 changed files with 24 additions and 0 deletions
@@ -45,6 +45,9 @@ static float getNormalizedValue(const float value,
}
}
#if __HIP__
__hip_pinned_shadow__
#endif
texture<float, hipTextureType1D, hipReadModeElementType> textureNormalizedVal_1D;
__global__ void normalizedValTextureTest(unsigned int numElements, float* pDst)