I am trying to compile dense_factor.cu (rename to .cpp).
I am getting a compilation error:
Error C2485 '__device_builtin__': unrecognized extended attribute spraltestfull C:\Program Files\MATLAB\R2021a\sys\cuda\win64\cuda\include\device_types.h
As the extension implies, dense_factor.cu is a CUDA kernel and can only be compiled using NVIDIA's GPU compiler nvcc. It is not required if you are building for CPU.
I am trying to compile dense_factor.cu (rename to .cpp). I am getting a compilation error: Error C2485 '__device_builtin__': unrecognized extended attribute spraltestfull C:\Program Files\MATLAB\R2021a\sys\cuda\win64\cuda\include\device_types.h