Skip to content

Commit

Permalink
Update benchmark/rocblas/utils.hpp
Browse files Browse the repository at this point in the history
Co-authored-by: pgorlani <[email protected]>
  • Loading branch information
OuadiElfarouki and pgorlani authored Feb 16, 2024
1 parent d30d252 commit 919bc19
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions benchmark/rocblas/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -383,13 +383,11 @@ struct RocblasType {
using type = T;
};

#ifdef BLAS_ENABLE_HALF
// When T is sycl::half, use rocBLAS's rocblas_half as type.
template <typename T>
struct RocblasType<T, std::enable_if_t<std::is_same_v<T, cl::sycl::half>>> {
using type = rocblas_half;
};
#endif
} // namespace utils
} // namespace blas_benchmark

Expand Down

0 comments on commit 919bc19

Please sign in to comment.