Skip to content

Wrapper shell script for NVIDIA nvcc to better conform to host compiler command line arguments

Notifications You must be signed in to change notification settings

dejunlin/nvcc_wrapper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 

Repository files navigation

Kokkos NVCC Wrapper

This wraps an nvcc, allowing it to be treated as a real C++ compiler with all the usual flags. Simple run cmake as usual to configure the compiler. The only two flags that need to be set are:

-DCMAKE_CXX_COMPILER=
-DCMAKE_CUDA_COMPILER=

so that the wrapper knows which underlying nvcc and which underlying g++ to use. This is configured as both a CXX and CUDA project with CMake, which means a valid CUDA installation must be available.

About

Wrapper shell script for NVIDIA nvcc to better conform to host compiler command line arguments

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 96.2%
  • CMake 3.8%