triton.language.device_print

triton.language.device_print(prefix, *args)

Print the values at runtime from the device.

Parameters:
  • prefix – a prefix to print before the values. This is required to be a string literal.

  • args – the values to print. They can be any tensor or scalar.