cutlass
cutlass copied to clipboard
[BUG] undefined in device code error
An error occurred when I printed a tensor of type half using the program below.
#include <cute/tensor.hpp>
using namespace cute;
void test_subbyte_ref() {
auto x = make_tensor<int4b_t>(Int<1024>{});
// Shift tensor
x.data() = &x(10);
}
error: identifier "cute::subbyte_reference<const ::cutlass::integer_subbyte<(int)4, (bool)1> > ::operator & const" is undefined in device code