I am trying to build this project and run it on an Nvidia RTX 4000 GPU GitHub - codeplaysoftware/sycl-crowd-simulation: A crowd simulation algorithm implemented using C++ and SYCL.
- Please note that the code supports only double, so will not work out of the box for Intel dGPUs that does not support double…
All you have to do is edit external/Heatmap.cpp and change the double to float…
(this is how it should look like (lines 32-33)
float scaledH = sycl::fmod(h / 60.0f, 6.0f);
float x = c * (1 - sycl::fabs(sycl::fmod(scaledH, 2.0f) - 1));
- when targeting nVidia RTX 4000, I’m getting segmentation fault…