Function tvm::tirx::tensor_data_ptr_op

Function tvm::tirx::tensor_data_ptr_op#

Function Documentation#

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

Project the physical pointer associated with a TensorVar definition.

Argument: tensor, the TensorVar whose physical pointer is projected. The result pointer type is derived from the TensorType dtype and storage scope of the sole TensorVar argument. This operation is consumed by TIRx lowering and code generation.