15 #ifdef ETL_EGBLAS_MODE 17 #include "etl/impl/cublas/cuda.hpp" 25 #ifdef EGBLAS_HAS_STRANSPOSE_FRONT 26 static constexpr
bool has_stranspose_front =
true;
28 static constexpr
bool has_stranspose_front =
false;
41 [[maybe_unused]]
size_t n,
42 [[maybe_unused]]
size_t k,
43 [[maybe_unused]]
float* A,
44 [[maybe_unused]]
float* B) {
45 #ifdef EGBLAS_HAS_STRANSPOSE_FRONT 47 egblas_stranspose_front(m, n, k, A, B);
49 cpp_unreachable(
"Invalid call to egblas::transpose_front");
53 #ifdef EGBLAS_HAS_DTRANSPOSE_FRONT 54 static constexpr
bool has_dtranspose_front =
true;
56 static constexpr
bool has_dtranspose_front =
false;
69 [[maybe_unused]]
size_t n,
70 [[maybe_unused]]
size_t k,
71 [[maybe_unused]]
double* A,
72 [[maybe_unused]]
double* B) {
73 #ifdef EGBLAS_HAS_DTRANSPOSE_FRONT 75 egblas_dtranspose_front(m, n, k, A, B);
77 cpp_unreachable(
"Invalid call to egblas::transpose_front");
auto transpose_front(const E &value)
Returns the transpose of the given expression.
Definition: expression_builder.hpp:568
void inc_counter([[maybe_unused]] const char *name)
Increase the given counter.
Definition: counters.hpp:25