Function tvm::tirx::ptr_byte_offset_op

Function tvm::tirx::ptr_byte_offset_op#

Function Documentation#

const Op &tvm::tirx::ptr_byte_offset_op()#

Cast a handle to a typed pointer after adding a byte offset.

Arguments, in order:

  • args[0]: data, Base pointer.

  • args[1]: byte_offset, Offset in bytes. The result type specifies the pointed-to element type.