diff options
author | Antonio Sanchez <cantonios@google.com> | 2020-12-03 15:00:18 -0800 |
---|---|---|
committer | Rasmus Munk Larsen <rmlarsen@google.com> | 2020-12-04 17:18:32 +0000 |
commit | 9ee9ac81de8e94cc4fb49ee7dd37e255d9ccbd76 (patch) | |
tree | 2835a9eddb36daf974faa632535125399d7e06aa /unsupported | |
parent | a9a2f2bebfb122dc4689c4e0060f3e72efe1f344 (diff) |
Fix shfl* macros for CUDA/HIP
The `shfl*` functions are `__device__` only, and adjusted `#ifdef`s so
they are defined whenever the corresponding CUDA/HIP ones are.
Also changed the HIP/CUDA<9.0 versions to cast to int instead of
doing the conversion `half`<->`float`.
Fixes #2083
Diffstat (limited to 'unsupported')
0 files changed, 0 insertions, 0 deletions