NVIDIA / AMGX

Distributed multigrid linear solver library on GPU
468 stars 136 forks source link

Fixes MSVC build: Find OpenMP before adding /Zl to compiler flags, and link amgx_tests_launcher with amgx_tests_library. #279

Closed NBickford-NV closed 8 months ago

NBickford-NV commented 8 months ago

Hi AmgX team! This merge request fixes two build issues I had when compiling for Windows using Visual Studio 2022, this command line, and a clean CMake cache:

mkdir build && cd build
cmake -DCUDA_ARCH="80" ..
cmake --build . -j

Thanks!