Trait

cogx.compiler.gpu_operator.function

FieldReadFunctions

Related Doc: package function

Permalink

trait FieldReadFunctions extends SemanticError

Functions that read or access tensor fields.

Linear Supertypes
SemanticError, CompilerError, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FieldReadFunctions
  2. SemanticError
  3. CompilerError
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def _readTensor(f: parser.syntaxtree.Field, layer: expression.GPUExpression, row: expression.GPUExpression, column: expression.GPUExpression): expression.GPUExpression

    Permalink

    Read the tensor in a 3D field using explicit addressing.

    Read the tensor in a 3D field using explicit addressing.

    f

    The tensor field to be read.

    layer

    The layer address of the tensor.

    row

    The row address of the tensor.

    column

    The column address of the tensor.

    returns

    The value of the tensor as an expression.

  5. def _readTensor(f: parser.syntaxtree.Field, row: expression.GPUExpression, column: expression.GPUExpression): expression.GPUExpression

    Permalink

    Read the tensor in a 2D field using explicit addressing.

    Read the tensor in a 2D field using explicit addressing.

    f

    The tensor field to be read.

    row

    The row address of the tensor.

    column

    The column address of the tensor.

    returns

    The value of the tensor as an expression.

  6. def _readTensor(f: parser.syntaxtree.Field, column: expression.GPUExpression): expression.GPUExpression

    Permalink

    Read the tensor in a 1D field using explicit addressing.

    Read the tensor in a 1D field using explicit addressing.

    f

    The tensor field to be read.

    column

    The column address of the tensor.

    returns

    The value of the tensor as an expression.

  7. def _readTensor(f: parser.syntaxtree.Field): expression.GPUExpression

    Permalink

    Read the "current" tensor (addressed by _layer, _row, _column).

    Read the "current" tensor (addressed by _layer, _row, _column).

    f

    The tensor field to be read.

    returns

    The value of the tensor as an expression.

  8. def _readTensorElement(f: parser.syntaxtree.Field, layer: expression.GPUExpression, row: expression.GPUExpression, column: expression.GPUExpression, element: expression.GPUExpression): expression.GPUExpression

    Permalink

    Read the tensor in a 3D field using explicit addressing.

    Read the tensor in a 3D field using explicit addressing.

    f

    The tensor field to be read.

    layer

    The layer address of the tensor.

    row

    The row address of the tensor.

    column

    The column address of the tensor.

    element

    The element (index) of the tensor to be read.

    returns

    The value of the tensor as an expression.

  9. def _readTensorElement(f: parser.syntaxtree.Field, row: expression.GPUExpression, column: expression.GPUExpression, element: expression.GPUExpression): expression.GPUExpression

    Permalink

    Read the tensor in a 2D field using explicit addressing.

    Read the tensor in a 2D field using explicit addressing.

    f

    The tensor field to be read.

    row

    The row address of the tensor.

    column

    The column address of the tensor.

    element

    The element (index) of the tensor to be read.

    returns

    The value of the tensor as an expression.

  10. def _readTensorElement(f: parser.syntaxtree.Field, column: expression.GPUExpression, element: expression.GPUExpression): expression.GPUExpression

    Permalink

    Read the tensor in a 1D field using explicit addressing.

    Read the tensor in a 1D field using explicit addressing.

    f

    The tensor field to be read.

    column

    The column address of the tensor.

    element

    The element (index) of the tensor to be read.

    returns

    The value of the tensor as an expression.

  11. def _readTensorElement(f: parser.syntaxtree.Field, element: expression.GPUExpression): expression.GPUExpression

    Permalink

    Read the "current" tensor (addressed by _layer, _row, _column).

    Read the "current" tensor (addressed by _layer, _row, _column).

    f

    The tensor field to be read.

    element

    The element (index) of the tensor to be read.

    returns

    The value of the tensor as an expression.

  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. def internalError(message: String): Unit

    Permalink

    Declare an internal error described by message.

    Declare an internal error described by message.

    Definition Classes
    CompilerError
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SemanticError

Inherited from CompilerError

Inherited from AnyRef

Inherited from Any

Ungrouped