9 Sep
2017
9 Sep
'17
2:33 p.m.
On Sep 9, 2017, at 3:46 AM, Oliver Kowalke via Boost
wrote: Hello, a grep over the boost.config showed some code related to nvcc - but I could not figure out how to use nvcc together with b2. What is the toolset target for nvcc ('b2 toolset=nvcc' doesn't work)? Oliver
What’s your goal in doing so? You only need to use nvcc when compiling code that uses CUDA language extensions (e.g. kernels that will run on the GPU). I’ve used Boost a lot with CUDA-based projects, and I just built Boost with gcc and linked it to my nvcc-compiled code. In some more exotic cases, CUDA linking can be a bit tricky to get working, but for simple cases, it’s pretty simple. Jason