Open smanders opened 3 years ago
nvcc processes .cu source files (at a high level) as follows:
deviceFunction<<<grid, block>>>(args...)
).The flags passed to the host compiler in step 3 must be specified via the nvcc option -XCompiler
. We need to ensure that the flags from CMAKE_CXX_FLAGS* are propagated to the -XCompiler
option.
see discussion https://isrhub.usurf.usu.edu/VantagePlugins/PluginLibraries/pull/17