We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 212e970 commit 710934dCopy full SHA for 710934d
src/blas/backends/cublas/cublas_helper.hpp
@@ -260,7 +260,7 @@ inline cublasSideMode_t get_cublas_side_mode(oneapi::math::side lr) {
260
261
template <typename T>
262
inline cudaDataType_t get_cublas_datatype() {
263
- static_assert(false);
+ static_assert(sizeof(T) && false, "Type T has no corresponding cuBLAS type");
264
}
265
266
template <>
src/blas/backends/rocblas/rocblas_helper.hpp
@@ -218,7 +218,7 @@ inline rocblas_side get_rocblas_side_mode(oneapi::math::side lr) {
218
219
220
inline rocblas_datatype get_rocblas_datatype() {
221
+ static_assert(sizeof(T) && false, "Type T has no corresponding rocBLAS type");
222
223
224
0 commit comments