EXSWHTEC-334 - Extend tests for warp shlf_up and shfl_down functions to support half-precision types #419

Change-Id: Ib10102dc36b7ff90c5cc4b486a297bb4f3eb8d68


[ROCm/hip-tests commit: 9f0265304b]
This commit is contained in:
Mirza Halilcevic
2024-02-06 20:39:04 +05:30
committed by Rakesh Roy
parent 860ee5fed7
commit 0f46c63d41
3 changed files with 4 additions and 2 deletions
@@ -1,5 +1,7 @@
# Common Tests - Test independent of all platforms
set(TEST_SRC
warp_shfl_up.cc
warp_shfl_down.cc
warp_shfl_xor.cc
warp_shfl.cc
warp_shfl_up.cc
@@ -100,7 +100,7 @@ template <typename T> class WarpShflDown : public WarpShflTest<WarpShflDown<T>,
* - Device supports warp shuffle
*/
TEMPLATE_TEST_CASE("Unit_Warp_Shfl_Down_Positive_Basic", "", int, unsigned int, long, unsigned long,
long long, unsigned long long, float, double) {
long long, unsigned long long, float, double, __half, __half2) {
int device;
hipDeviceProp_t device_properties;
HIP_CHECK(hipGetDevice(&device));
@@ -99,7 +99,7 @@ template <typename T> class WarpShflUp : public WarpShflTest<WarpShflUp<T>, T> {
* - Device supports warp shuffle
*/
TEMPLATE_TEST_CASE("Unit_Warp_Shfl_Up_Positive_Basic", "", int, unsigned int, long, unsigned long,
long long, unsigned long long, float, double) {
long long, unsigned long long, float, double, __half, __half2) {
int device;
hipDeviceProp_t device_properties;
HIP_CHECK(hipGetDevice(&device));