summaryrefslogtreecommitdiffstats
path: root/mlir/lib/IR/Builders.cpp
diff options
context:
space:
mode:
authorChristian Sigg <csigg@google.com>2019-12-12 23:06:06 -0800
committerA. Unique TensorFlower <gardener@tensorflow.org>2019-12-13 15:28:58 -0800
commit8846557672d6a490b500b1c24e90a8effcb38901 (patch)
tree191ce9b811f90baeaeea582db15c415132674c8e /mlir/lib/IR/Builders.cpp
parente7aa47ff111c53127587d8aea71b088db3a671aa (diff)
downloadbcm5719-llvm-8846557672d6a490b500b1c24e90a8effcb38901.tar.gz
bcm5719-llvm-8846557672d6a490b500b1c24e90a8effcb38901.zip
Fix maskAndClamp in gpu.all_reduce.
The clamp value determines the returned predicate. Previously, the clamp value was fixed to 31 and the predicate was therefore always true. This is incorrect for partial warp reductions, but went unnoticed because the returned values happened to be zero (but it could be anything). PiperOrigin-RevId: 285343160
Diffstat (limited to 'mlir/lib/IR/Builders.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud