Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support nvc++ as the host compiler #977

Open
ptheywood opened this issue Nov 16, 2022 · 0 comments · May be fixed by #693
Open

Support nvc++ as the host compiler #977

ptheywood opened this issue Nov 16, 2022 · 0 comments · May be fixed by #693

Comments

@ptheywood
Copy link
Member

ptheywood commented Nov 16, 2022

Support using nvc++ as the CUDA host compiler / compiler for host c++ under linux, via CMake.

Will require:

  • Warning changes
  • Prevention of building swig with nvc++ (likely)
  • Patching rapidjson etc. See NVHPC Support #693

When using CMake 3.21 and nvhpc 21.7 with nvc++ as the host compiler, rapidjson cannot be compiled due to use of uint128. This needs further investigation, as the section of code was macro guarded behind some gcc specific looking macros.

Unlear if this version would work when using nvcc from the nvhpc install, but using g++ as the host compiler (the above issue re: curand).

Additionally, #661 makes use of findCUDAToolkit which may also improve the situiation (if findCUDAToolkit is nvhpc compatible/aware)


This has been split out from #563

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant