Skip to content

Commit

Permalink
Update benchmark/cublas/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 a09aba5 commit d30d252
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions benchmark/cublas/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -285,13 +285,11 @@ struct CudaType {
using type = T;
};

#ifdef BLAS_ENABLE_HALF
// When T is sycl::half, use cuda's __cuda as type.
template <typename T>
struct CudaType<T, std::enable_if_t<std::is_same_v<T, cl::sycl::half>>> {
using type = __half;
};
#endif

} // namespace utils
} // namespace blas_benchmark
Expand Down

0 comments on commit d30d252

Please sign in to comment.