Problem during compilation

vulkomilev: <p>I have the following error during building of the project</p>
<pre><code class="lang-auto">[69/567] Building CUDA object caffe2/CMakeFiles/torch_cuda.dir/__/aten/src/ATen/native/sparse/cuda/SparseSemiStructuredLinear.cu.o
FAILED: caffe2/CMakeFiles/torch_cuda.dir/__/aten/src/ATen/native/sparse/cuda/SparseSemiStructuredLinear.cu.o 
/usr/local/cuda-11.2/bin/nvcc -forward-unknown-to-host-compiler -DAT_PER_OPERATOR_HEADERS -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DIDEEP_USE_MKL -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DTORCH_CUDA_BUILD_MAIN_LIB -DUSE_C10D_GLOO -DUSE_C10D_MPI -DUSE_C10D_NCCL -DUSE_CUDA -DUSE_DISTRIBUTED -DUSE_EXPERIMENTAL_CUDNN_V8_API -DUSE_EXTERNAL_MZCRC -DUSE_NCCL -DUSE_RPC -DUSE_TENSORPIPE -D_FILE_OFFSET_BITS=64 -Dtorch_cuda_EXPORTS -I/home/&lt;username&gt;/open_source/pytorch/build/aten/src -I/home/&lt;username&gt;/open_source/pytorch/aten/src -I/home/&lt;username&gt;/open_source/pytorch/build -I/home/&lt;username&gt;/open_source/pytorch -I/home/&lt;username&gt;/open_source/pytorch/cmake/../third_party/benchmark/include -I/home/&lt;username&gt;/open_source/pytorch/third_party/onnx -I/home/&lt;username&gt;/open_source/pytorch/build/third_party/onnx -I/home/&lt;username&gt;/open_source/pytorch/third_party/foxi -I/home/&lt;username&gt;/open_source/pytorch/build/third_party/foxi -I/home/&lt;username&gt;/open_source/pytorch/aten/src/THC -I/home/&lt;username&gt;/open_source/pytorch/aten/src/ATen/cuda -I/home/&lt;username&gt;/open_source/pytorch/aten/src/ATen/../../../third_party/cutlass/include -I/home/&lt;username&gt;/open_source/pytorch/build/caffe2/aten/src -I/home/&lt;username&gt;/open_source/pytorch/aten/src/ATen/.. -I/home/&lt;username&gt;/open_source/pytorch/build/nccl/include -I/home/&lt;username&gt;/open_source/pytorch/c10/cuda/../.. -I/home/&lt;username&gt;/open_source/pytorch/c10/.. -I/home/&lt;username&gt;/open_source/pytorch/third_party/tensorpipe -I/home/&lt;username&gt;/open_source/pytorch/build/third_party/tensorpipe -I/home/&lt;username&gt;/open_source/pytorch/third_party/tensorpipe/third_party/libnop/include -I/home/&lt;username&gt;/open_source/pytorch/torch/csrc/api -I/home/&lt;username&gt;/open_source/pytorch/torch/csrc/api/include -isystem /home/&lt;username&gt;/open_source/pytorch/build/third_party/gloo -isystem /home/&lt;username&gt;/open_source/pytorch/cmake/../third_party/gloo -isystem /home/&lt;username&gt;/open_source/pytorch/cmake/../third_party/tensorpipe/third_party/libuv/include -isystem /home/&lt;username&gt;/open_source/pytorch/cmake/../third_party/googletest/googlemock/include -isystem /home/&lt;username&gt;/open_source/pytorch/cmake/../third_party/googletest/googletest/include -isystem /home/&lt;username&gt;/open_source/pytorch/third_party/protobuf/src -isystem /home/&lt;username&gt;/anaconda3/envs/pytorch/include -isystem /home/&lt;username&gt;/open_source/pytorch/third_party/gemmlowp -isystem /home/&lt;username&gt;/open_source/pytorch/third_party/neon2sse -isystem /home/&lt;username&gt;/open_source/pytorch/third_party/XNNPACK/include -isystem /home/&lt;username&gt;/open_source/pytorch/third_party/ittapi/include -isystem /home/&lt;username&gt;/open_source/pytorch/cmake/../third_party/eigen -isystem /usr/local/cuda-11.2/include -isystem /home/&lt;username&gt;/open_source/pytorch/third_party/ideep/mkl-dnn/include/oneapi/dnnl -isystem /home/&lt;username&gt;/open_source/pytorch/third_party/ideep/include -isystem /home/&lt;username&gt;/open_source/pytorch/cmake/../third_party/cudnn_frontend/include -D_GLIBCXX_USE_CXX11_ABI=1 -Xfatbin -compress-all -DONNX_NAMESPACE=onnx_torch -gencode arch=compute_86,code=sm_86 -gencode arch=compute_86,code=compute_86 -Xcudafe --diag_suppress=cc_clobber_ignored,--diag_suppress=field_without_dll_interface,--diag_suppress=base_class_has_different_dll_interface,--diag_suppress=dll_interface_conflict_none_assumed,--diag_suppress=dll_interface_conflict_dllexport_assumed,--diag_suppress=bad_friend_decl --expt-relaxed-constexpr --expt-extended-lambda  -Wno-deprecated-gpu-targets --expt-extended-lambda -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -O3 -DNDEBUG -std=c++17 -Xcompiler=-fPIC -DMKL_HAS_SBGEMM -DTORCH_USE_LIBUV -DCAFFE2_USE_GLOO -Xcompiler=-Wall,-Wextra,-Wdeprecated,-Wno-unused-parameter,-Wno-unused-function,-Wno-missing-field-initializers,-Wno-unknown-pragmas,-Wno-type-limits,-Wno-array-bounds,-Wno-unknown-pragmas,-Wno-strict-overflow,-Wno-strict-aliasing,-Wno-maybe-uninitialized -Wno-deprecated-copy -MD -MT caffe2/CMakeFiles/torch_cuda.dir/__/aten/src/ATen/native/sparse/cuda/SparseSemiStructuredLinear.cu.o -MF caffe2/CMakeFiles/torch_cuda.dir/__/aten/src/ATen/native/sparse/cuda/SparseSemiStructuredLinear.cu.o.d -x cu -c /home/&lt;username&gt;/open_source/pytorch/aten/src/ATen/native/sparse/cuda/SparseSemiStructuredLinear.cu -o caffe2/CMakeFiles/torch_cuda.dir/__/aten/src/ATen/native/sparse/cuda/SparseSemiStructuredLinear.cu.o
/home/&lt;username&gt;/open_source/pytorch/aten/src/ATen/../../../third_party/cutlass/include/cutlass/subbyte_reference.h:650:19: error: expected ‘;’ at end of member declaration
  650 |   StorageVecPointer ptr_;
      |                   ^~~~
      |                       ;
/home/&lt;username&gt;/open_source/pytorch/aten/src/ATen/../../../third_party/cutlass/include/cutlass/subbyte_reference.h:650:23: error: expected unqualified-id before ‘)’ token
  650 |   StorageVecPointer ptr_;
      |                       ^
/home/&lt;username&gt;/open_source/pytorch/aten/src/ATen/../../../third_party/cutlass/include/cutlass/subbyte_reference.h:1025:19: error: expected ‘;’ at end of member declaration
 1025 |   StorageVecPointer ptr_;
      |                   ^~~~
      |                       ;
/home/&lt;username&gt;/open_source/pytorch/aten/src/ATen/../../../third_party/cutlass/include/cutlass/subbyte_reference.h:1025:23: error: expected unqualified-id before ‘)’ token
 1025 |   StorageVecPointer ptr_;
      |                       ^
ninja: build stopped: subcommand failed.

</code></pre>
<p>gcc/g++ 10.5</p>