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 authored and Rakesh Roy committed 2024-02-27 23:14:45 +05:30
1 parent 860ee5fed7
commit 0f46c63d41
3 files changed
+4 -2

No files matched your search

@@ -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));