Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workaround NVCC parse failure in
cast_op
There is a bug in some CUDA versions (observed in CUDA 12.1 and 11.7 w/ GCC 12.2), that makes `cast_op` fail to compile: `cast.h:45:120: error: expected template-name before ‘<’ token` Defining the nested type as an alias and using it allows this to work without any change in semantics. Fixes #4606
- Loading branch information