Commit 15f3b920 authored by Nathan Luehr's avatar Nathan Luehr
Browse files

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).
parent 57ec898a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment