GPUGraphLayout icon indicating copy to clipboard operation
GPUGraphLayout copied to clipboard

Stalls on Ampere

Open govertb opened this issue 4 years ago • 2 comments

Running on a GeForce RTX 3090 (Ampere architecture) the code stalls in the SortKernel. Possibly because certain threads no longer co-reside on the same multiprocessor during shared memory reductions in the SummarizationKernel and/or SortKernel.

govertb avatar Dec 07 '21 11:12 govertb

I think I am encountering this problem, too, on a A6000. If I comment out the call to SortKernel then the code finishes all the iterations without stalling. This bug is a shame, because the performance seems very good.

hubbardp avatar Aug 03 '24 22:08 hubbardp

From the paper on this project, I see we used CUDA 7.5 at the time. I checked the corresponding docs ('CUDA Compiler Driver NVCC' ) and in CUDA 7.5 nvcc defaults to compiling with

--gpu-architecture=compute_20 --gpu-code=sm_20,compute_20

In recent versions of CUDA nvcc defaults to compiling with

--gpu-architecture=compute_52 --gpu-code=sm_52,compute_52

Explicitly targeting a 'virtual architecture' (e.g. explicitly passing the CUDA 7.5 defaults) would fix some things. I'm curious if it would resolve the stalling, unfortunately don't have access to an Ampere GPU any more. But even if it resolves the stalling, breaking changes between CUDA 7.5 and recent versions need to be addressed as well.

Edit: I see support for Compute Capability 2.0 was dropped starting with CUDA 9.0.

govertb avatar Oct 26 '24 13:10 govertb