Commit f557bd18 authored by Allison Vacanti's avatar Allison Vacanti

Fix vectorization flags used by CUDA.

The -Xcompiler flag wants a comma sep list of flags, we were
passing one with whitespace delimiters.
parent 72b379d9
......@@ -190,7 +190,8 @@ if(TARGET vtkm::cuda AND flags AND NOT CMAKE_CUDA_HOST_COMPILER)
# Also propagate down these optimizations when building host side code
# with cuda. To be safe we only do this when we know the C++ and CUDA
# host compiler are from the same vendor
string(REGEX REPLACE ";" "," cuda_flags "${flags}")
INTERFACE $<$<COMPILE_LANGUAGE:CUDA>:-Xcompiler="${flags}">
INTERFACE $<$<COMPILE_LANGUAGE:CUDA>:-Xcompiler=${cuda_flags}>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment