diff options
author | Nathan Luehr <nluehr@nvidia.com> | 2018-02-14 16:27:23 -0800 |
---|---|---|
committer | Nathan Luehr <nluehr@nvidia.com> | 2018-02-14 18:40:39 -0800 |
commit | 15f3b920ad7eb7fcca3afee14d16049db2046d4b (patch) | |
tree | 4b6a4968089291c36a5d592e340f2a0bacbfc3c4 /third_party/nccl/nccl_configure.bzl | |
parent | 57ec898a046638b0dfc445c0871c29c212c5d056 (diff) |
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).
Diffstat (limited to 'third_party/nccl/nccl_configure.bzl')
0 files changed, 0 insertions, 0 deletions