HIP-HCC + Clang fix failing texture tests(SWDEV-223622)

Change-Id: I1c0a7059c6bba1ea2e39dc6634b32d006c07d1f5
This commit is contained in:
agodavar
2020-02-19 17:31:12 +05:30
committed by Anusha Godavarthy Surya
parent e2fce43499
commit 9c61a08d25
4 changed files with 25 additions and 1 deletions
+11
View File
@@ -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>