How to Build moderngpu

I have

I could build it but not run it. Because CUDA_ARCHITECTURES is set higher. Let’s change it to 50

git clone https://github.com/moderngpu/moderngpu.git
cd moderngpu
mkdir build && cd build
~/install/cmake-3.22.3-linux-x86_64/bin/cmake ..
make
./bin/test_segreduce

On P100.

★ 1 min read · Rajesh Pandian M · gpu , moderngpu