SWDEV-465205 - Fix Unit_hipModuleGetTexRef_Positive_Basic

Change-Id: I221f21b322ec6053edb4b4f229219865fb9e9974


[ROCm/hip-tests commit: d3f42460e8]
Этот коммит содержится в:
Marko Arandjelovic
2024-06-11 16:27:20 +02:00
коммит произвёл Rakesh Roy
родитель cfe170e4bd
Коммит 5621df00ef
5 изменённых файлов: 2 добавлений и 6 удалений
-1
Просмотреть файл
@@ -236,7 +236,6 @@
"Unit_hipDrvGraphAddMemsetNode_hipMalloc_1D",
"Unit_hipDrvGraphAddMemsetNode_hipMallocManaged",
"Unit_hipModuleLaunchKernel_Negative_Parameters",
"Unit_hipModuleGetTexRef_Positive_Basic",
"Unit_hipModuleLaunchCooperativeKernel_Negative_Parameters",
"Unit_hipExtModuleLaunchKernel_Negative_Parameters",
"Unit_hipLaunchKernel_Negative_Parameters",
-1
Просмотреть файл
@@ -617,7 +617,6 @@
"Unit_tex2DLayeredLod_Positive_ReadModeNormalizedFloat - short",
"Unit_tex2DLayeredLod_Positive_ReadModeNormalizedFloat - unsigned short",
"Unit_hipModuleLaunchKernel_Negative_Parameters",
"Unit_hipModuleGetTexRef_Positive_Basic",
"Unit_hipExtModuleLaunchKernel_Negative_Parameters",
"Unit_hipLaunchKernel_Negative_Parameters",
"Unit_Kernel_Launch_bounds_Negative_OutOfBounds",
-1
Просмотреть файл
@@ -83,7 +83,6 @@
"Unit_hipModuleLoadData_Negative_Parameters",
"Unit_hipModuleLoadDataEx_Positive_Basic",
"Unit_hipModuleLoadDataEx_Negative_Parameters",
"Unit_hipModuleGetTexRef_Positive_Basic",
"Performance_hipMemsetD16",
"Performance_hipMemsetD16Async",
"Performance_hipMemsetD32",
-1
Просмотреть файл
@@ -38,7 +38,6 @@
"Unit_hipModuleLoadData_Negative_Parameters",
"Unit_hipModuleLoadDataEx_Positive_Basic",
"Unit_hipModuleLoadDataEx_Negative_Parameters",
"Unit_hipModuleGetTexRef_Positive_Basic",
"Performance_hipMemsetD16",
"Performance_hipMemsetD16Async",
"Performance_hipMemsetD32",
+2 -2
Просмотреть файл
@@ -21,8 +21,8 @@ THE SOFTWARE.
#include <hip/hip_runtime_api.h>
#if CUDA_VERSION < CUDA_12000
#if defined(__HIP_PLATFORM_AMD__) || CUDA_VERSION < CUDA_12000
texture<float, 2> tex;
#endif // CUDA_VERSION < CUDA_12000
#endif // CUDA_VERSION < CUDA_12000