Sergei Lebedev daa81e6fb5 Added support for printing scalar values in Pallas TPU kernels
The implementation uses the new tpu.log operation in the Mosaic TPU dialect.

Note that

* the logging only happens if --xla_tpu_enable_log_recorder is set;
* only scalars can be printed;
* placeholders only accept i32 arguments at the moment.

PiperOrigin-RevId: 636585852
2024-05-23 10:02:00 -07:00
..
2023-08-01 16:43:13 -07:00
2024-03-27 10:28:57 -07:00