Add missing __hip_pinned_shadow__ attribute to the hipModuleTexture2dDrv test.

Change-Id: I2c213a4108611c1af691388f268cac429b81a313


[ROCm/hip commit: b910a7ff26]
Cette révision appartient à :
Vladislav Sytchenko a créé et Vladislav Sytchenko a révisé 2020-03-03 11:49:00 -05:00
1 Parent 05c26e5aa7
révision d0db9f5cdf
2 fichiers modifiés
+5 -2

Aucun fichier ne correspond à votre recherche

+4 -1
Voir le fichier
@@ -21,7 +21,7 @@ THE SOFTWARE.
*/ */
/* HIT_START /* HIT_START
* BUILD: %t %s ../../test_common.cpp EXCLUDE_HIP_PLATFORM nvcc vdi * BUILD: %t %s ../../test_common.cpp EXCLUDE_HIP_PLATFORM nvcc
* TEST: %t * TEST: %t
* HIT_END * HIT_END
*/ */
@@ -33,6 +33,9 @@ THE SOFTWARE.
#define fileName "tex2d_kernel.code" #define fileName "tex2d_kernel.code"
#if __HIP__
__hip_pinned_shadow__
#endif
texture<float, 2, hipReadModeElementType> tex; texture<float, 2, hipReadModeElementType> tex;
bool testResult = false; bool testResult = false;
+1 -1
Voir le fichier
@@ -21,7 +21,7 @@ THE SOFTWARE.
*/ */
/* HIT_START /* HIT_START
* BUILD_CMD: tex2d_kernel.code %hc --genco %S/tex2d_kernel.cpp -o tex2d_kernel.code EXCLUDE_HIP_PLATFORM vdi * BUILD_CMD: tex2d_kernel.code %hc --genco %S/tex2d_kernel.cpp -o directed_tests/runtimeApi/module/tex2d_kernel.code
* HIT_END * HIT_END
*/ */