Fix NVCC builds for CUDA 10+.

This commit is contained in:
Antonio Sánchez
2024-10-29 18:38:14 +00:00
committed by Rasmus Munk Larsen
parent dae09773fc
commit 695e49d1bd
4 changed files with 5 additions and 10 deletions

View File

@@ -69,7 +69,7 @@ static constexpr auto lastp1 = last + fix<1>;
#else
// Using a FixedExpr<1> expression is important here to make sure the compiler
// can fully optimize the computation starting indices with zero overhead.
static constexpr lastp1_t lastp1(last + fix<1>());
static constexpr lastp1_t lastp1;
#endif
/** \var end