summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/ValueMapper.cpp
diff options
context:
space:
mode:
authorArtem Belevich <tra@google.com>2017-01-13 20:56:17 +0000
committerArtem Belevich <tra@google.com>2017-01-13 20:56:17 +0000
commit64dc9be7b48e3e3ec1f7dec270bf433d2084915a (patch)
treeca4f810515a29fb080b1341aaee69917aadc06b0 /llvm/lib/Transforms/Utils/ValueMapper.cpp
parent836a3b416d222f0703d2e964a8e08f3892dd0278 (diff)
downloadbcm5719-llvm-64dc9be7b48e3e3ec1f7dec270bf433d2084915a.tar.gz
bcm5719-llvm-64dc9be7b48e3e3ec1f7dec270bf433d2084915a.zip
[NVPTX] Added support for half-precision floating point.
Only scalar half-precision operations are supported at the moment. - Adds general support for 'half' type in NVPTX. - fp16 math operations are supported on sm_53+ GPUs only (can be disabled with --nvptx-no-f16-math). - Type conversions to/from fp16 are supported on all GPU variants. - On GPU variants that do not have full fp16 support (or if it's disabled), fp16 operations are promoted to fp32 and results are converted back to fp16 for storage. Differential Revision: https://reviews.llvm.org/D28540 llvm-svn: 291956
Diffstat (limited to 'llvm/lib/Transforms/Utils/ValueMapper.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud