CUDA sample "Particles" is crashing at startup

Hi,

just tried to run various CUDA samples from folder 5_Simulations. All but “Particles” are executing correctly. “Particles” compiles without any error, but at start it breaks immediately after an empty graphics window pops up.
Terminal output is

CUDA Particles Simulation Starting…

NOTE: The CUDA Samples are not meant for performance measurements. Results may vary when GPU Boost is enabled.

grid: 64 x 64 x 64 = 262144 cells
particles: 16384
GPU Device 0: “Pascal” with compute capability 6.1

CUDA error 700 [C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\include\cub\device\dispatch/dispatch_radix_sort.cuh, 1016]: an illegal memory access was encountered
CUDA error 700 [C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\include\cub\device\dispatch/dispatch_radix_sort.cuh, 1211]: an illegal memory access was encountered
CUDA error 700 [C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\include\cub\device\dispatch/dispatch_radix_sort.cuh, 1311]: an illegal memory access was encountered
CUDA error at C:/ProgramData/NVIDIA Corporation/CUDA Samples/v11.0/5_Simulations/particles/particleSystem_cuda.cu:90 code=700(cudaErrorIllegalAddress) “cudaGraphicsMapResources(1, cuda_vbo_resource, 0)”

I have no idea how to solve this issue. Btw, I had exactly the same negative outcome on my notebook with CUDA 11.2.2 installed. Hope someone has some helpful hints.

My environment is Windows 10 Pro, 64bit, GTX 1080, cuda_11.0.2_451.48_win10, Visual Studio 2019
(Also tried 465.89 without any success)

Walter

Exactly same error here, have you ever found a solution?

Though I can’t definitely for sure . But we ever resolved a similar issue on another app . We will have the fix for next major CUDA release. It is failing on the new cmath file changes in MSVC VS2019 . If you can try VS2017 or previous VS2019 . The apps can pass.