Fix __shared__ types with non-empty constructor
std::complex<T> has a non-empty constructor (zero assignment) that is not compatible with CUDA __shared__ memory. This fixes current reliance on undefined behavior. (and removes an unnecessary run-time initialization).
Loading
Please sign in to comment