Fix issues related to -Werror in hip tests (#396)

* Fix issues related to -Werror
* Correct the skipped tests

[ROCm/hip-tests commit: 605d5eee5d]
This commit is contained in:
Satyanvesh Dittakavi authored and GitHub committed 2023-08-19 21:38:59 +05:30
1 förälder 0f844d75a4
incheckning 039a0b615a
22 files changed
+93 -77

No files matched your search

@@ -23,6 +23,9 @@ THE SOFTWARE.
#include <hip_test_defgroups.hh>
#include <hip/math_functions.h>
#pragma clang diagnostic ignored "-Wunused-variable"
#pragma clang diagnostic ignored "-Wuninitialized"
// Simple tests for variable type qualifiers:
__device__ int deviceVar;
@@ -62,7 +65,6 @@ __global__ void vectorADD(T __restrict__* A_d, T* B_d, T* C_d, size_t N) {
int a = __shfl_up(x, 1);
#endif
float x = 1.0;
float z = sin(x);
#ifdef NOT_YET
float fastZ = __sin(x);
#endif