Using ccache with CUDA and nvcc

Will Boyd <[email protected]>
Newsgroups gmane.comp.compilers.ccache
Message-ID <CAO0Q7-V8o7aKC6nZECb-qpud0XGV48ATD6TV46KiHdQ+gpxRKw@mail.gmail.com>
Hello,

I am developing a C++/CUDA/Python code using SWIG. I've been able to make
use of ccache within my distutils build system, but unfortunately have not
found a way to do so for CUDA using the nvcc compiler. Compiling my source
using "ccache nvcc ..." works just fine, but it doesn't appear to cache the
output.

Any help on how to use ccache for CUDA would be much appreciated!

Thanks,

Will

-- 
Will Boyd
Nuclear Science & Engineering
Massachusetts Institute of Technology
Email: [email protected]
Cell: 423.413.8469
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.