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

[ROCm/clr commit: 5afe43b1aa]
Dieser Commit ist enthalten in:
vsytch verfasst und GitHub committed 2020-02-15 09:52:25 +05:30
1 Ursprung 2b1a99ff12
Commit fd7dfa19d1
4 Dateien geändert
+24

Keine Dateien entsprechen Ihrer Suche

@@ -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>