When I build VTK (VTKm and AcceleratorsVTKm enabled) with following options set in CMake on Windows using Visual Studio 2017 Community the build crashes with an error directive:
When VTK-m is built with CUDA enabled all compilation units that include DeviceAdapterTagCuda must use the cuda compiler
I figured that using the
nvcc compiler installed with Nvidia Cuda as C and CXX compiler should resolve this issue, but the error is still thrown while building.
I also enabled QtSupport and changed the
VTKm_ENABLE_RENDERING variable to
ON in the CMakeLists.txt under
ThirdParty/vtkm/vtkvtkm, but other than that I didn’t change any configuration.
Cuda Version (output of
nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2020 NVIDIA Corporation Built on Thu_Jun_11_22:26:48_Pacific_Daylight_Time_2020 Cuda compilation tools, release 11.0, V11.0.194 Build cuda_11.0_bu.relgpu_drvr445TC445_37.28540450_0
git commit on Master Branch (f5a8d5b7f1c7b7fab090a0e5cec5a24c19dbd1be 22. July)
VTKm submodule Version:
git commit on Master Branch (567b1fedd20452fbe474b1ae4ef0ce8d21a73939 21. July)
Thankful for any pointers toward a solution for this problem.