-
Notifications
You must be signed in to change notification settings - Fork 108
Closed
Description
The following code could not compile
#include "matx.h"
int main([[maybe_unused]] int argc, [[maybe_unused]] char **argv) {
MATX_ENTER_HANDLER();
auto a = matx::make_tensor<float>({10, 10});
auto b = matx::make_tensor<float>({10, 10});
auto c = matx::make_tensor<float>({10, 10});
auto exec = matx::cudaExecutor();
(c = matx::cutensor::einsum("ik,kl->il", a, b)).run(exec);
matx::print(c);
CUDA_CHECK_LAST_ERROR();
MATX_EXIT_HANDLER();
}The error message was:
MatX/include/matx/transforms/einsum.h(457): error: class "matx::detail::matxCache_t" may not have a template argument list
static matxCache_t<EinsumParams_t<InT...>, EinsumParamsKeyHash<InT...>, EinsumParamsKeyEq<InT...>> einsum_cache;Metadata
Metadata
Assignees
Labels
No labels