ricosjp / monolish

monolish: MONOlithic LInear equation Solvers for Highly-parallel architecture
Apache License 2.0
195 stars 12 forks source link

suport NVIDIA GPU cc=86 #82

Closed t-hishinuma closed 2 years ago

t-hishinuma commented 2 years ago

Compute capabilities of Geforce RTX 30XX is 8.6 : https://developer.nvidia.com/cuda-gpus

but, clang OpenMP is not support CC=86 : https://github.com/llvm/llvm-project/blob/main/openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt#L96

We have confirmed that monolish works on RTX3060 with CC = 80.

If CC = 86, compile monolish with CC = 80. The name of the generated shared library is CC = 86.