SWDEV-503089 - Fix and enable disabled HIP tests from math group (#1319)

* SWDEV-503089 - Fix and enable disabled HIP tests from math group

* SWDEV-503089 - Move single precision reduced run to a common function
Αυτή η υποβολή περιλαμβάνεται σε:
amilanov-amd authored and GitHub committed 2025-11-26 10:34:05 +01:00
1 γονέας ee48f6221d
υποβολή da9bb4efae
28 files changed
+313 -575

No files matched your search

@@ -35,7 +35,7 @@ namespace cg = cooperative_groups;
const auto tid = cg::this_grid().thread_rank(); \
const auto stride = cg::this_grid().size(); \
\
for (auto i = tid; i < num_xs; i += stride) { \
for (size_t i = tid; i < num_xs; i += stride) { \
if constexpr (std::is_same_v<float, T>) { \
ys[i] = func_name##f(x1s[i], x2s[i]); \
} else if constexpr (std::is_same_v<double, T>) { \