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
vanhempi e7120dd876
commit 56b8b0d80e
4 muutettua tiedostoa jossa 24 lisäystä ja 0 poistoa
@@ -31,8 +31,19 @@ THE SOFTWARE.
const char *sampleName = "simpleTexture3D";
// Texture reference for 3D texture
#if __HIP__
__hip_pinned_shadow__
#endif
texture<float, hipTextureType3D, hipReadModeElementType> texf;
#if __HIP__
__hip_pinned_shadow__
#endif
texture<int, hipTextureType3D, hipReadModeElementType> texi;
#if __HIP__
__hip_pinned_shadow__
#endif
texture<char, hipTextureType3D, hipReadModeElementType> texc;
template <typename T>