Commit 657d601e authored by Benjamin Kramer's avatar Benjamin Kramer Committed by TensorFlower Gardener
Browse files

[XLA:GPU] Fuse scalar constants

This doesn't change codegen directly, but makes dealing with scalar broadcasts
much easier and the graph easier to read. This required changing the dot *
alpha fusion logic quite a bit, but I think for the better.

The emitter change is a bit of a hack. The more I look at this code the more
broken it seems. Need to find a more sustainable way of emitting what is
essentially a memset.

PiperOrigin-RevId: 200111599
parent 0912bc8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment