Trait

cogx.compiler.gpu_operator.function

FieldWriteFunctions

Related Doc: package function

Permalink

trait FieldWriteFunctions extends AnyRef

Functions that write tensor fields.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FieldWriteFunctions
  2. AnyRef
  3. 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 _writeTensor(index: OutFieldIndex, value: expression.GPUExpression, layer: expression.GPUExpression, row: expression.GPUExpression, column: expression.GPUExpression): Unit

    Permalink

    Write a tensor to an indexed location in a 3D output field.

    Write a tensor to an indexed location in a 3D output field.

    index

    The index of the output field to be written (e.g. _out0)

    value

    The tensor to be written

    layer

    The layer index of the location to be written with the tensor.

    row

    The row index of the location to be written with the tensor.

    column

    The column index of the location to be written with the tensor.

  5. def _writeTensor(index: OutFieldIndex, value: expression.GPUExpression, row: expression.GPUExpression, column: expression.GPUExpression): Unit

    Permalink

    Write a tensor to an indexed location in a 2D output field.

    Write a tensor to an indexed location in a 2D output field.

    index

    The index of the output field to be written (e.g. _out0)

    value

    The tensor to be written

    row

    The row index of the location to be written with the tensor.

    column

    The column index of the location to be written with the tensor.

  6. def _writeTensor(index: OutFieldIndex, value: expression.GPUExpression, column: expression.GPUExpression): Unit

    Permalink

    Write a tensor to an indexed location in a 1D output field.

    Write a tensor to an indexed location in a 1D output field.

    index

    The index of the output field to be written (e.g. _out0)

    value

    The tensor to be written

    column

    The column index of the location to be written with the tensor.

  7. def _writeTensor(index: OutFieldIndex, value: expression.GPUExpression): Unit

    Permalink

    Write a tensor to an output field using the default location for the current thread (_layer, _row, _column).

    Write a tensor to an output field using the default location for the current thread (_layer, _row, _column). Note that if this is a 0D field, though, the tensor will be written to the single location in that field regardless of the (_layer, _row, _column) thread variables.

    index

    The index of the output field to be written (e.g. _out0)

    value

    The tensor to be written

  8. def _writeTensorElement(index: OutFieldIndex, value: expression.GPUExpression, layer: expression.GPUExpression, row: expression.GPUExpression, column: expression.GPUExpression, tensorElementIndex: expression.GPUExpression): Unit

    Permalink

    Write a tensor element to an indexed location in a 3D output field.

    Write a tensor element to an indexed location in a 3D output field.

    index

    The index of the output field to be written (e.g. _out0)

    value

    The tensor element to be written

    layer

    The layer index of the location to be written with the tensor element.

    row

    The row index of the location to be written with the tensor element.

    column

    The column index of the location to be written with the tensor element.

    tensorElementIndex

    The index of the element to be written; this will most commonly be _tensorElement, but it is not restricted to that.

  9. def _writeTensorElement(index: OutFieldIndex, value: expression.GPUExpression, row: expression.GPUExpression, column: expression.GPUExpression, tensorElementIndex: expression.GPUExpression): Unit

    Permalink

    Write a tensor element to an indexed location in a 2D output field.

    Write a tensor element to an indexed location in a 2D output field.

    index

    The index of the output field to be written (e.g. _out0)

    value

    The tensor element to be written

    row

    The row index of the location to be written with the tensor element.

    column

    The column index of the location to be written with the tensor element.

    tensorElementIndex

    The index of the element to be written; this will most commonly be _tensorElement, but it is not restricted to that.

  10. def _writeTensorElement(index: OutFieldIndex, value: expression.GPUExpression, column: expression.GPUExpression, tensorElementIndex: expression.GPUExpression): Unit

    Permalink

    Write a tensor element to an indexed location in a 1D output field.

    Write a tensor element to an indexed location in a 1D output field.

    index

    The index of the output field to be written (e.g. _out0)

    value

    The tensor element to be written

    column

    The column index of the location to be written with the tensor element.

    tensorElementIndex

    The index of the element to be written; this will most commonly be _tensorElement, but it is not restricted to that.

  11. def _writeTensorElement(index: OutFieldIndex, value: expression.GPUExpression, tensorElementIndex: expression.GPUExpression): Unit

    Permalink

    Write a tensor element to an output field using the default location for the current thread (_layer, _row, _column).

    Write a tensor element to an output field using the default location for the current thread (_layer, _row, _column). Note that if this is a 0D field, though, the tensor will be written to the single location in that field regardless of the (_layer, _row, _column) thread variables.

    index

    The index of the output field to be written (e.g. _out0)

    value

    The tensor element to be written

    tensorElementIndex

    The index of the element to be written; this will most commonly be _tensorElement, but it is not restricted to that.

  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. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped