[mpich-discuss] CUDA support with clang instead of nvcc
Zhou, Hui
zhouh at anl.gov
Fri Apr 15 14:57:02 CDT 2022
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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20220415/789a1a45/attachment.html>
More information about the discuss
mailing list