Skip to content

Commit

Permalink
document that nvcc cannot parse Vc header
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Mar 12, 2021
1 parent c92b26c commit 7f69b1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/alpaka/nbody_vc/nbody.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ constexpr auto ALLOW_RSQRT = true; // rsqrt can be way faster, but less accurate

#if defined(ALPAKA_ACC_CPU_B_SEQ_T_SEQ_ENABLED) || defined(ALPAKA_ACC_CPU_B_OMP2_T_SEQ_ENABLED)
# if defined(ALPAKA_ACC_GPU_CUDA_ENABLED)
# error Cannot enable CUDA together with other backends, sorry :/
# error Cannot enable CUDA together with other backends, because nvcc cannot parse the Vc header, sorry :/
# endif
// nvcc fails to compile Vc headers even if nothing is used from there, so we need to conditionally include it
# include <Vc/Vc>
Expand Down

0 comments on commit 7f69b1c

Please sign in to comment.