cogx.compiler.gpu_operator.expression
Create an expression for a "_readTensor" call.
Create an expression for a "_readTensor" call.
The type of the field being read.
The type of tensor element being read.
The index of the input tensor field, starting from 0. For a given GPU kernel, unique inputs are designated by unique field indices.
Optional indices for nonlocal addressing of the desired tensor. If None, this uses implicit (_layer, _row, _column) addressing. Note that if the field is 0D, though, it reads the single tensor in the field.
The user-specified tensor element index permits local addressing.
Declare an internal error described by message
.
Declare an internal error described by message
.
Factory for creating ReadTensorElementExpressions.