Address texture related test issues with -Werror (#405)

[ROCm/hip-tests commit: 7ee1b668fb]
This commit is contained in:
Satyanvesh Dittakavi
2023-08-21 20:46:46 +05:30
committed by GitHub
parent 039a0b615a
commit 8ffa028888
22 changed files with 50 additions and 19 deletions
@@ -19,7 +19,10 @@ THE SOFTWARE.
#include <hip_test_common.hh>
#include <hip_array_common.hh>
#include <hip_texture_helper.hh>
#pragma clang diagnostic ignored "-Wunused-variable"
#pragma clang diagnostic ignored "-Wunused-parameter"
template <typename T>
__global__ void
surf1DKernelR(hipSurfaceObject_t surfaceObject,
@@ -19,7 +19,10 @@ THE SOFTWARE.
#include <hip_test_common.hh>
#include <hip_array_common.hh>
#include <hip_texture_helper.hh>
#pragma clang diagnostic ignored "-Wunused-variable"
#pragma clang diagnostic ignored "-Wunused-parameter"
#define LOG_DATA 0
template <typename T>
@@ -19,7 +19,10 @@ THE SOFTWARE.
#include <hip_test_common.hh>
#include <hip_array_common.hh>
#include <hip_texture_helper.hh>
#pragma clang diagnostic ignored "-Wunused-variable"
#pragma clang diagnostic ignored "-Wunused-parameter"
template <typename T>
__global__ void
surf3DKernelR(hipSurfaceObject_t surfaceObject,