Function tvm::backend::opencl::texture2d_load_op

Function tvm::backend::opencl::texture2d_load_op#

Function Documentation#

const Op &tvm::backend::opencl::texture2d_load_op()#

Load from texture 2d memory.

Arguments, in order:

  • args[0]: texture, The texture.

  • args[1]: x, The input value.

  • args[2]: y, The second input value.

  • args[3]: z, The third input value.

  • args[4]: channel_size, The number of channels.

  • args[5]: element_index, The element index within a texture channel.