[mpich-discuss] CUDA support with clang instead of nvcc
Raffenetti, Ken
raffenet at anl.gov
Fri Apr 15 15:02:46 CDT 2022
The Yaksa configure is currently hardcoded to use `nvcc` for .cu files. We'll have to patch it to support alternatives, right?
Ken
On 4/15/22, 2:57 PM, "Zhou, Hui via discuss" <discuss at mpich.org> wrote:
Yes, just set CC=clang and CXX=clang++.
--
Hui Zhou
________________________________________
From: Sajid Ali via discuss <discuss at mpich.org>
Sent: Friday, April 15, 2022 11:49 AM
To: discuss at mpich.org <discuss at mpich.org>
Cc: Sajid Ali <sajidsyed2021 at u.northwestern.edu>
Subject: [mpich-discuss] CUDA support with clang instead of nvcc
Hi MPICH-developers,
Is it possible to compile MPICH with CUDA awareness, but with clang as the CUDA compiler? (i.e. use clang capable of targeting the nvptx backend to compiler cuda files instead of nvcc).
Thank You,
Sajid Ali (he/him) | Research Associate
Scientific Computing Division
Fermi National Accelerator Laboratory
s-sajid-ali.github.io <http://s-sajid-ali.github.io>
More information about the discuss
mailing list