Object

cogx.compiler.gpu_operator

GPUOperator

Related Doc: package gpu_operator

Permalink

object GPUOperator extends UserGPULibrary

Creates a Field produced by a user-defined GPU operator.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GPUOperator
  2. UserGPULibrary
  3. VectorLiteralFunctions
  4. VariableDeclarations
  5. TypeConversionFunctions
  6. RelationalFunctions
  7. MathFunctions
  8. IntegerFunctions
  9. GeometricFunctions
  10. FieldWriteFunctions
  11. FieldVariableFunctions
  12. FieldReadFunctions
  13. ConstantExpressionFunctions
  14. FloatConstantsTrait
  15. CommonFunctions
  16. SemanticError
  17. CompilerError
  18. BlockFunctions
  19. AtomicFunctions
  20. AnyRef
  21. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. case class ConstFloat0D(value: Float) extends expression.GPUExpression with Product with Serializable

    Permalink

    A Float constant as a GPUExpression.

    A Float constant as a GPUExpression.

    Definition Classes
    ConstantExpressionFunctions
  2. case class ConstInt0D(value: Int) extends expression.GPUExpression with Product with Serializable

    Permalink

    An Int constant as a GPUExpression.

    An Int constant as a GPUExpression.

    Definition Classes
    ConstantExpressionFunctions
  3. type GPUArrayVariable = declaration.GPUArrayVariable

    Permalink

    An array variable in a GPU kernel

    An array variable in a GPU kernel

    Definition Classes
    UserGPULibrary
  4. type GPUExpression = expression.GPUExpression

    Permalink

    An expression in a GPU kernel

    An expression in a GPU kernel

    Definition Classes
    UserGPULibrary
  5. type GPUVariable = declaration.GPUVariable

    Permalink

    A scalar/vector variable in a GPU kernel

    A scalar/vector variable in a GPU kernel

    Definition Classes
    UserGPULibrary

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 _abs(expr: expression.GPUExpression): UnaryIntExpression

    Permalink
    Definition Classes
    IntegerFunctions
  5. def _abs_diff(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryIntExpression

    Permalink
    Definition Classes
    IntegerFunctions
  6. def _acos(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  7. def _acosh(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  8. def _acospi(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  9. def _add_sat(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryIntExpression

    Permalink
    Definition Classes
    IntegerFunctions
  10. def _as_float(e: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    TypeConversionFunctions
  11. def _as_float2(e: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    TypeConversionFunctions
  12. def _as_float3(e: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    TypeConversionFunctions
  13. def _as_float4(e: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    TypeConversionFunctions
  14. def _as_int(e: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    TypeConversionFunctions
  15. def _as_int2(e: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    TypeConversionFunctions
  16. def _as_int3(e: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    TypeConversionFunctions
  17. def _as_int4(e: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    TypeConversionFunctions
  18. def _as_uint(e: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    TypeConversionFunctions
  19. def _as_uint2(e: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    TypeConversionFunctions
  20. def _as_uint3(e: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    TypeConversionFunctions
  21. def _as_uint4(e: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    TypeConversionFunctions
  22. def _asin(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  23. def _asinh(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  24. def _asinpi(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  25. def _atan(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  26. def _atan2(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  27. def _atanh(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  28. def _atomic_add(pointer: PointerExpression, value: expression.GPUExpression): BinaryAtomicExpression

    Permalink
    Definition Classes
    AtomicFunctions
  29. def _atomic_and(pointer: PointerExpression, value: expression.GPUExpression): BinaryAtomicExpression

    Permalink
    Definition Classes
    AtomicFunctions
  30. def _atomic_cmpxchg(pointer: PointerExpression, value1: expression.GPUExpression, value2: expression.GPUExpression): TernaryAtomicExpression

    Permalink
    Definition Classes
    AtomicFunctions
  31. def _atomic_dec(pointer: PointerExpression): UnaryAtomicExpression

    Permalink
    Definition Classes
    AtomicFunctions
  32. def _atomic_inc(pointer: PointerExpression): UnaryAtomicExpression

    Permalink
    Definition Classes
    AtomicFunctions
  33. def _atomic_max(pointer: PointerExpression, value: expression.GPUExpression): BinaryAtomicExpression

    Permalink
    Definition Classes
    AtomicFunctions
  34. def _atomic_min(pointer: PointerExpression, value: expression.GPUExpression): BinaryAtomicExpression

    Permalink
    Definition Classes
    AtomicFunctions
  35. def _atomic_or(pointer: PointerExpression, value: expression.GPUExpression): BinaryAtomicExpression

    Permalink
    Definition Classes
    AtomicFunctions
  36. def _atomic_sub(pointer: PointerExpression, value: expression.GPUExpression): BinaryAtomicExpression

    Permalink
    Definition Classes
    AtomicFunctions
  37. def _atomic_xchg(pointer: PointerExpression, value: expression.GPUExpression): BinaryAtomicExpression

    Permalink
    Definition Classes
    AtomicFunctions
  38. def _atomic_xor(pointer: PointerExpression, value: expression.GPUExpression): BinaryAtomicExpression

    Permalink
    Definition Classes
    AtomicFunctions
  39. def _block(code: ⇒ Unit): Unit

    Permalink

    Begin an anonymous block.

    Begin an anonymous block.

    Definition Classes
    BlockFunctions
  40. def _cbrt(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  41. def _ceil(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  42. def _char2Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  43. def _char2Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  44. def _char3Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  45. def _char3Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  46. def _char4Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  47. def _char4Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  48. def _charArray(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  49. def _charVar(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  50. def _clamp(expr1: expression.GPUExpression, expr2: expression.GPUExpression, expr3: expression.GPUExpression): SemanticError with expression.GPUExpression

    Permalink
    Definition Classes
    IntegerFunctions
  51. def _clz(expr: expression.GPUExpression): UnaryIntExpression

    Permalink
    Definition Classes
    IntegerFunctions
  52. val _column: NulleryIntExpression

    Permalink
    Definition Classes
    ConstantExpressionFunctions
  53. val _columns: NulleryIntExpression

    Permalink
    Definition Classes
    ConstantExpressionFunctions
  54. def _convert_float(e: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    TypeConversionFunctions
  55. def _convert_float2(e: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    TypeConversionFunctions
  56. def _convert_float3(e: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    TypeConversionFunctions
  57. def _convert_float4(e: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    TypeConversionFunctions
  58. def _convert_int(e: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    TypeConversionFunctions
  59. def _convert_int2(e: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    TypeConversionFunctions
  60. def _convert_int3(e: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    TypeConversionFunctions
  61. def _convert_int4(e: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    TypeConversionFunctions
  62. def _convert_uint(e: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    TypeConversionFunctions
  63. def _convert_uint2(e: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    TypeConversionFunctions
  64. def _convert_uint3(e: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    TypeConversionFunctions
  65. def _convert_uint4(e: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    TypeConversionFunctions
  66. def _copysign(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  67. def _cos(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  68. def _cosh(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  69. def _cospi(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  70. def _debug: DebugStatement

    Permalink

    Debug the GPUOperator.

    Debug the GPUOperator.

    Definition Classes
    UserGPULibrary
  71. def _degrees(expr1: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    CommonFunctions
  72. def _distance(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryFloatExpression

    Permalink
    Definition Classes
    GeometricFunctions
  73. def _dot(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryFloatExpression

    Permalink
    Definition Classes
    GeometricFunctions
  74. def _double2Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  75. def _double2Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  76. def _double3Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  77. def _double3Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  78. def _double4Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  79. def _double4Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  80. def _doubleArray(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  81. def _doubleVar(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  82. def _else(code: ⇒ Unit): Unit

    Permalink

    Begin an "else" block.

    Begin an "else" block.

    Definition Classes
    BlockFunctions
  83. def _elseif(condition: expression.GPUExpression)(code: ⇒ Unit): Unit

    Permalink

    Begin an "elseif" block.

    Begin an "elseif" block.

    Definition Classes
    BlockFunctions
  84. def _erf(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  85. def _erfc(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  86. def _exp(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  87. def _exp10(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  88. def _exp2(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  89. def _expm1(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  90. def _fabs(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  91. def _fast_distance(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryFloatExpression

    Permalink
    Definition Classes
    GeometricFunctions
  92. def _fast_length(expr1: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    GeometricFunctions
  93. def _fast_normalize(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    GeometricFunctions
  94. def _fdim(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  95. def _float2(e1: expression.GPUExpression, e2: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    VectorLiteralFunctions
  96. def _float2(e1: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    VectorLiteralFunctions
  97. def _float2Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  98. def _float2Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  99. def _float3(e1: expression.GPUExpression, e2: expression.GPUExpression, e3: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    VectorLiteralFunctions
  100. def _float3(e1: expression.GPUExpression, e2: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    VectorLiteralFunctions
  101. def _float3(e1: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    VectorLiteralFunctions
  102. def _float3Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  103. def _float3Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  104. def _float4(e1: expression.GPUExpression, e2: expression.GPUExpression, e3: expression.GPUExpression, e4: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    VectorLiteralFunctions
  105. def _float4(e1: expression.GPUExpression, e2: expression.GPUExpression, e3: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    VectorLiteralFunctions
  106. def _float4(e1: expression.GPUExpression, e2: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    VectorLiteralFunctions
  107. def _float4(e1: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    VectorLiteralFunctions
  108. def _float4Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  109. def _float4Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  110. def _floatArray(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  111. def _floatVar(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  112. def _floor(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  113. def _fma(expr1: expression.GPUExpression, expr2: expression.GPUExpression, expr3: expression.GPUExpression): TernaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  114. def _fmax(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  115. def _fmin(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  116. def _fmod(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  117. def _for(pre: Assignment, condition: expression.GPUExpression, post: Assignment)(code: ⇒ Unit): Unit

    Permalink

    Begin a "for" block.

    Begin a "for" block.

    Definition Classes
    BlockFunctions
  118. def _forEachTensorElement(shape: cogmath.geometry.Shape)(code: ⇒ Unit): Unit

    Permalink

    Begin a "forEachTensorElement" block.

    Begin a "forEachTensorElement" block.

    Definition Classes
    BlockFunctions
  119. def _globalThreads(fieldShape: cogmath.geometry.Shape, tensorShape: cogmath.geometry.Shape): GlobalThreadsStatement

    Permalink

    Override global thread allocation.

    Override global thread allocation. Typically used to create a thread per tensor element in a field, though the field may be illusory, not corresponding to any input or output field. This gives you raw control over thread allocation.

    Each thread can see its identity in the global thread space from the constants:

    _layer
    _row
    _column
    _tensorElement

    Basically this creates a thread for each element in a tensor field.

    fieldShape

    The shape of the global threads allocated. This may be 1D, 2D or 3D, and each thread can see its identity with the _layer, _row, and _column constants.

    tensorShape

    The shape of the tensors in the (possibly illusory) field. One thread is created for each tensor in that field.

    returns

    Statement for the global thread allocation override.

    Definition Classes
    UserGPULibrary
  120. def _globalThreads(fieldShape: cogmath.geometry.Shape): GlobalThreadsStatement

    Permalink

    Override global thread allocation.

    Override global thread allocation. Typically used to create a thread per tensor in a field, though the field may be illusory, not corresponding to any input or output field. This gives you raw control over thread allocation.

    Each thread can see its identity in the global thread space from the constants:

    _layer
    _row
    _column
    fieldShape

    The shape of the global threads allocated. This may be 1D, 2D or 3D, and each thread can see its identity with the _layer, _row, and _column constants.

    returns

    Statement for the global thread allocation override.

    Definition Classes
    UserGPULibrary
  121. val _groupColumn: NulleryIntExpression

    Permalink
    Definition Classes
    ConstantExpressionFunctions
  122. val _groupLayer: NulleryIntExpression

    Permalink
    Definition Classes
    ConstantExpressionFunctions
  123. val _groupRow: NulleryIntExpression

    Permalink
    Definition Classes
    ConstantExpressionFunctions
  124. def _hadd(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryIntExpression

    Permalink
    Definition Classes
    IntegerFunctions
  125. def _half2Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  126. def _half2Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  127. def _half3Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  128. def _half3Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  129. def _half4Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  130. def _half4Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  131. def _halfArray(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  132. def _halfVar(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  133. def _hypot(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  134. def _if(condition: expression.GPUExpression)(code: ⇒ Unit): Unit

    Permalink

    Begin an "if" block.

    Begin an "if" block.

    Definition Classes
    BlockFunctions
  135. def _int2(e1: expression.GPUExpression, e2: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    VectorLiteralFunctions
  136. def _int2(e1: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    VectorLiteralFunctions
  137. def _int2Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  138. def _int2Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  139. def _int3(e1: expression.GPUExpression, e2: expression.GPUExpression, e3: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    VectorLiteralFunctions
  140. def _int3(e1: expression.GPUExpression, e2: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    VectorLiteralFunctions
  141. def _int3(e1: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    VectorLiteralFunctions
  142. def _int3Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  143. def _int3Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  144. def _int4(e1: expression.GPUExpression, e2: expression.GPUExpression, e3: expression.GPUExpression, e4: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    VectorLiteralFunctions
  145. def _int4(e1: expression.GPUExpression, e2: expression.GPUExpression, e3: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    VectorLiteralFunctions
  146. def _int4(e1: expression.GPUExpression, e2: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    VectorLiteralFunctions
  147. def _int4(e1: expression.GPUExpression): expression.GPUExpression

    Permalink
    Definition Classes
    VectorLiteralFunctions
  148. def _int4Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  149. def _int4Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  150. def _intArray(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  151. def _intVar(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  152. def _isequal(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryRelationalExpression

    Permalink
    Definition Classes
    RelationalFunctions
  153. def _isgreater(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryRelationalExpression

    Permalink
    Definition Classes
    RelationalFunctions
  154. def _isgreaterequal(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryRelationalExpression

    Permalink
    Definition Classes
    RelationalFunctions
  155. def _isinf(expr: expression.GPUExpression): UnaryRelationalExpression

    Permalink
    Definition Classes
    RelationalFunctions
  156. def _isinfinite(expr: expression.GPUExpression): UnaryRelationalExpression

    Permalink
    Definition Classes
    RelationalFunctions
  157. def _isless(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryRelationalExpression

    Permalink
    Definition Classes
    RelationalFunctions
  158. def _islessequal(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryRelationalExpression

    Permalink
    Definition Classes
    RelationalFunctions
  159. def _islessgreater(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryRelationalExpression

    Permalink
    Definition Classes
    RelationalFunctions
  160. def _isnan(expr: expression.GPUExpression): UnaryRelationalExpression

    Permalink
    Definition Classes
    RelationalFunctions
  161. def _isnormal(expr: expression.GPUExpression): UnaryRelationalExpression

    Permalink
    Definition Classes
    RelationalFunctions
  162. def _isnotequal(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryRelationalExpression

    Permalink
    Definition Classes
    RelationalFunctions
  163. def _isordered(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryRelationalExpression

    Permalink
    Definition Classes
    RelationalFunctions
  164. def _isunordered(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryRelationalExpression

    Permalink
    Definition Classes
    RelationalFunctions
  165. val _layer: NulleryIntExpression

    Permalink
    Definition Classes
    ConstantExpressionFunctions
  166. val _layers: NulleryIntExpression

    Permalink
    Definition Classes
    ConstantExpressionFunctions
  167. def _length(expr1: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    GeometricFunctions
  168. def _lgamma(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  169. def _local(variable: GPUArrayVariable): GPUArrayVariable

    Permalink

    Declare an array variable to be local.

    Declare an array variable to be local.

    Definition Classes
    UserGPULibrary
  170. def _local(variable: GPUVariable): GPUVariable

    Permalink

    Declare a variable to be local.

    Declare a variable to be local.

    Definition Classes
    UserGPULibrary
  171. val _localColumn: NulleryIntExpression

    Permalink
    Definition Classes
    ConstantExpressionFunctions
  172. val _localColumns: NulleryIntExpression

    Permalink
    Definition Classes
    ConstantExpressionFunctions
  173. val _localLayer: NulleryIntExpression

    Permalink
    Definition Classes
    ConstantExpressionFunctions
  174. val _localLayers: NulleryIntExpression

    Permalink
    Definition Classes
    ConstantExpressionFunctions
  175. val _localRow: NulleryIntExpression

    Permalink
    Definition Classes
    ConstantExpressionFunctions
  176. val _localRows: NulleryIntExpression

    Permalink
    Definition Classes
    ConstantExpressionFunctions
  177. def _localThreads(shape: cogmath.geometry.Shape): LocalThreadsStatement

    Permalink

    Override local thread allocation (work group size).

    Override local thread allocation (work group size).

    shape

    The shape of the work group threads.

    returns

    Statement for the local thread allocation override

    Definition Classes
    UserGPULibrary
  178. def _log(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  179. def _log10(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  180. def _log1p(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  181. def _log2(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  182. def _logb(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  183. def _long2Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  184. def _long2Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  185. def _long3Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  186. def _long3Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  187. def _long4Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  188. def _long4Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  189. def _longArray(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  190. def _longVar(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  191. def _mad(expr1: expression.GPUExpression, expr2: expression.GPUExpression, expr3: expression.GPUExpression): TernaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  192. def _mad24(expr1: expression.GPUExpression, expr2: expression.GPUExpression, expr3: expression.GPUExpression): TernaryIntExpression

    Permalink
    Definition Classes
    IntegerFunctions
  193. def _mad_hi(expr1: expression.GPUExpression, expr2: expression.GPUExpression, expr3: expression.GPUExpression): TernaryIntExpression

    Permalink
    Definition Classes
    IntegerFunctions
  194. def _mad_sat(expr1: expression.GPUExpression, expr2: expression.GPUExpression, expr3: expression.GPUExpression): TernaryIntExpression

    Permalink
    Definition Classes
    IntegerFunctions
  195. def _max(expr1: expression.GPUExpression, expr2: expression.GPUExpression): SemanticError with expression.GPUExpression

    Permalink
    Definition Classes
    IntegerFunctions
  196. def _maxmag(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  197. def _min(expr1: expression.GPUExpression, expr2: expression.GPUExpression): SemanticError with expression.GPUExpression

    Permalink
    Definition Classes
    IntegerFunctions
  198. def _minmag(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  199. def _mix(expr1: expression.GPUExpression, expr2: expression.GPUExpression, expr3: expression.GPUExpression): TernaryFloatExpression

    Permalink
    Definition Classes
    CommonFunctions
  200. def _mul24(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryIntExpression

    Permalink
    Definition Classes
    IntegerFunctions
  201. def _mul_hi(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryIntExpression

    Permalink
    Definition Classes
    IntegerFunctions
  202. def _native_divide(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  203. def _nextafter(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  204. def _normalize(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    GeometricFunctions
  205. val _out0: types._out0.type

    Permalink
    Definition Classes
    UserGPULibrary
  206. val _out1: types._out1.type

    Permalink
    Definition Classes
    UserGPULibrary
  207. val _out2: types._out2.type

    Permalink
    Definition Classes
    UserGPULibrary
  208. val _out3: types._out3.type

    Permalink
    Definition Classes
    UserGPULibrary
  209. val _out4: types._out4.type

    Permalink
    Definition Classes
    UserGPULibrary
  210. val _out5: types._out5.type

    Permalink
    Definition Classes
    UserGPULibrary
  211. val _out6: types._out6.type

    Permalink
    Definition Classes
    UserGPULibrary
  212. val _out7: types._out7.type

    Permalink
    Definition Classes
    UserGPULibrary
  213. val _out8: types._out8.type

    Permalink
    Definition Classes
    UserGPULibrary
  214. val _out9: types._out9.type

    Permalink
    Definition Classes
    UserGPULibrary
  215. def _pointerTo(arrayElement: ArrayLValue): ArrayElementPointerExpression

    Permalink

    Create a pointer to an array element.

    Create a pointer to an array element.

    Definition Classes
    UserGPULibrary
  216. def _pointerTo(variable: GPUVariable): VariablePointerExpression

    Permalink

    Create a pointer to a variable.

    Create a pointer to a variable.

    Definition Classes
    UserGPULibrary
  217. def _pow(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  218. def _pown(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryFloatIntExpression

    Permalink
    Definition Classes
    MathFunctions
  219. def _powr(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  220. def _radians(expr1: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    CommonFunctions
  221. 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.

    Definition Classes
    FieldReadFunctions
  222. 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.

    Definition Classes
    FieldReadFunctions
  223. 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.

    Definition Classes
    FieldReadFunctions
  224. 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.

    Definition Classes
    FieldReadFunctions
  225. 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.

    Definition Classes
    FieldReadFunctions
  226. 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.

    Definition Classes
    FieldReadFunctions
  227. 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.

    Definition Classes
    FieldReadFunctions
  228. 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.

    Definition Classes
    FieldReadFunctions
  229. def _remainder(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  230. def _rhadd(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryIntExpression

    Permalink
    Definition Classes
    IntegerFunctions
  231. def _rint(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  232. def _rotate(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryIntExpression

    Permalink
    Definition Classes
    IntegerFunctions
  233. def _round(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  234. val _row: NulleryIntExpression

    Permalink
    Definition Classes
    ConstantExpressionFunctions
  235. val _rows: NulleryIntExpression

    Permalink
    Definition Classes
    ConstantExpressionFunctions
  236. def _rsqrt(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  237. def _short2Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  238. def _short2Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  239. def _short3Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  240. def _short3Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  241. def _short4Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  242. def _short4Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  243. def _shortArray(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  244. def _shortVar(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  245. def _sign(expr1: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    CommonFunctions
  246. def _sin(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  247. def _sinh(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  248. def _sinpi(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  249. def _sqrt(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  250. def _sub_sat(expr1: expression.GPUExpression, expr2: expression.GPUExpression): BinaryIntExpression

    Permalink
    Definition Classes
    IntegerFunctions
  251. def _syncThreadsGlobal: SyncThreadsGlobalStatement

    Permalink

    Synchronize threads with a barrier with respect to global memory.

    Synchronize threads with a barrier with respect to global memory.

    Definition Classes
    UserGPULibrary
  252. def _syncThreadsLocal: SyncThreadsLocalStatement

    Permalink

    Synchronize threads with a barrier with respect to local memory.

    Synchronize threads with a barrier with respect to local memory.

    Definition Classes
    UserGPULibrary
  253. def _tan(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  254. def _tanh(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  255. def _tanpi(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  256. def _tensorArray(f: parser.syntaxtree.Field, layers: expression.GPUExpression, rows: expression.GPUExpression, columns: expression.GPUExpression): declaration.GPUArrayVariable

    Permalink

    Create a 3D array of tensors, where the tensor type is defined the type of tensors in a field.

    Create a 3D array of tensors, where the tensor type is defined the type of tensors in a field.

    f

    The tensor field to be analyzed.

    layers

    Layers in tensor array.

    rows

    Rows in tensor array.

    columns

    Columns in tensor array.

    returns

    The declaration for the array.

    Definition Classes
    FieldVariableFunctions
  257. def _tensorArray(f: parser.syntaxtree.Field, rows: expression.GPUExpression, columns: expression.GPUExpression): declaration.GPUArrayVariable

    Permalink

    Create a 2D array of tensors, where the tensor type is defined the type of tensors in a field.

    Create a 2D array of tensors, where the tensor type is defined the type of tensors in a field.

    f

    The tensor field to be analyzed.

    rows

    Rows in tensor array.

    columns

    Columns in tensor array.

    returns

    The declaration for the array.

    Definition Classes
    FieldVariableFunctions
  258. def _tensorArray(f: parser.syntaxtree.Field, columns: expression.GPUExpression): declaration.GPUArrayVariable

    Permalink

    Create a 1D array of tensors, where the tensor type is defined the type of tensors in a field.

    Create a 1D array of tensors, where the tensor type is defined the type of tensors in a field.

    f

    The tensor field to be analyzed.

    columns

    Length of tensor array.

    returns

    The declaration for the array.

    Definition Classes
    FieldVariableFunctions
  259. val _tensorElement: NulleryIntExpression

    Permalink
    Definition Classes
    ConstantExpressionFunctions
  260. def _tensorElementArray(f: parser.syntaxtree.Field, layers: expression.GPUExpression, rows: expression.GPUExpression, columns: expression.GPUExpression): declaration.GPUArrayVariable

    Permalink

    Create a 3D array of tensor elements, where the element type is defined by the type of tensors in a field.

    Create a 3D array of tensor elements, where the element type is defined by the type of tensors in a field.

    f

    The tensor field to be analyzed.

    layers

    Layers in tensor array.

    rows

    Rows in tensor array.

    columns

    Columns in tensor array.

    returns

    The declaration for the array.

    Definition Classes
    FieldVariableFunctions
  261. def _tensorElementArray(f: parser.syntaxtree.Field, rows: expression.GPUExpression, columns: expression.GPUExpression): declaration.GPUArrayVariable

    Permalink

    Create a 2D array of tensor elements, where the element type is defined by the type of tensors in a field.

    Create a 2D array of tensor elements, where the element type is defined by the type of tensors in a field.

    f

    The tensor field to be analyzed.

    rows

    Rows in tensor array.

    columns

    Columns in tensor array.

    returns

    The declaration for the array.

    Definition Classes
    FieldVariableFunctions
  262. def _tensorElementArray(f: parser.syntaxtree.Field, columns: expression.GPUExpression): declaration.GPUArrayVariable

    Permalink

    Create a 1D array of tensor elements, where the element type is defined by the type of tensors in a field.

    Create a 1D array of tensor elements, where the element type is defined by the type of tensors in a field.

    f

    The tensor field to be analyzed.

    columns

    Length of tensor array.

    returns

    The declaration for the array.

    Definition Classes
    FieldVariableFunctions
  263. def _tensorElementVar(f: parser.syntaxtree.Field): declaration.GPUVariable

    Permalink

    Create an element variable of type defined by the tensors in a field.

    Create an element variable of type defined by the tensors in a field.

    f

    The tensor field to be analyzed.

    returns

    The value of the tensor as an expression.

    Definition Classes
    FieldVariableFunctions
  264. val _tensorElements: NulleryIntExpression

    Permalink
    Definition Classes
    ConstantExpressionFunctions
  265. def _tensorVar(f: parser.syntaxtree.Field): declaration.GPUVariable

    Permalink

    Create a variable of type defined by the tensors in a field.

    Create a variable of type defined by the tensors in a field.

    f

    The tensor field to be analyzed.

    returns

    The value of the tensor as an expression.

    Definition Classes
    FieldVariableFunctions
  266. def _tgamma(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  267. def _trunc(expr: expression.GPUExpression): UnaryFloatExpression

    Permalink
    Definition Classes
    MathFunctions
  268. def _uchar2Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  269. def _uchar2Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  270. def _uchar3Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  271. def _uchar3Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  272. def _uchar4Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  273. def _uchar4Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  274. def _ucharArray(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  275. def _ucharVar(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  276. def _uint2Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  277. def _uint2Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  278. def _uint3Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  279. def _uint3Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  280. def _uint4Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  281. def _uint4Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  282. def _uintArray(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  283. def _uintVar(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  284. def _ulong2Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  285. def _ulong2Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  286. def _ulong3Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  287. def _ulong3Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  288. def _ulong4Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  289. def _ulong4Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  290. def _ulongArray(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  291. def _ulongVar(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  292. def _ushort2Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  293. def _ushort2Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  294. def _ushort3Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  295. def _ushort3Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  296. def _ushort4Array(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  297. def _ushort4Var(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  298. def _ushortArray(size: expression.GPUExpression*): declaration.GPUArrayVariable

    Permalink
    Definition Classes
    VariableDeclarations
  299. def _ushortVar(): declaration.GPUVariable

    Permalink
    Definition Classes
    VariableDeclarations
  300. def _volatile(variable: GPUArrayVariable): GPUArrayVariable

    Permalink

    Declare an array variable to be volatile.

    Declare an array variable to be volatile.

    Definition Classes
    UserGPULibrary
  301. def _volatile(variable: GPUVariable): GPUVariable

    Permalink

    Declare a variable to be volatile.

    Declare a variable to be volatile.

    Definition Classes
    UserGPULibrary
  302. def _while(condition: expression.GPUExpression)(code: ⇒ Unit): Unit

    Permalink

    Begin a "while" block.

    Begin a "while" block.

    Definition Classes
    BlockFunctions
  303. 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.

    Definition Classes
    FieldWriteFunctions
  304. 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.

    Definition Classes
    FieldWriteFunctions
  305. 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.

    Definition Classes
    FieldWriteFunctions
  306. 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

    Definition Classes
    FieldWriteFunctions
  307. 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.

    Definition Classes
    FieldWriteFunctions
  308. 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.

    Definition Classes
    FieldWriteFunctions
  309. 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.

    Definition Classes
    FieldWriteFunctions
  310. 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.

    Definition Classes
    FieldWriteFunctions
  311. def apply(t0: platform.types.FieldType, t1: platform.types.FieldType, t2: platform.types.FieldType, t3: platform.types.FieldType, t4: platform.types.FieldType, t5: platform.types.FieldType, t6: platform.types.FieldType, t7: platform.types.FieldType, t8: platform.types.FieldType, t9: platform.types.FieldType)(kernel: ⇒ Unit): (parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field)

    Permalink

    Create an unnamed GPU Operator that produces ten fields.

  312. def apply(t0: platform.types.FieldType, t1: platform.types.FieldType, t2: platform.types.FieldType, t3: platform.types.FieldType, t4: platform.types.FieldType, t5: platform.types.FieldType, t6: platform.types.FieldType, t7: platform.types.FieldType, t8: platform.types.FieldType, t9: platform.types.FieldType, name: String)(kernel: ⇒ Unit): (parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field)

    Permalink

    Create a named GPU Operator that produces ten fields.

  313. def apply(t0: platform.types.FieldType, t1: platform.types.FieldType, t2: platform.types.FieldType, t3: platform.types.FieldType, t4: platform.types.FieldType, t5: platform.types.FieldType, t6: platform.types.FieldType, t7: platform.types.FieldType, t8: platform.types.FieldType)(kernel: ⇒ Unit): (parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field)

    Permalink

    Create an unnamed GPU Operator that produces nine fields.

  314. def apply(t0: platform.types.FieldType, t1: platform.types.FieldType, t2: platform.types.FieldType, t3: platform.types.FieldType, t4: platform.types.FieldType, t5: platform.types.FieldType, t6: platform.types.FieldType, t7: platform.types.FieldType, t8: platform.types.FieldType, name: String)(kernel: ⇒ Unit): (parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field)

    Permalink

    Create a named GPU Operator that produces nine fields.

  315. def apply(t0: platform.types.FieldType, t1: platform.types.FieldType, t2: platform.types.FieldType, t3: platform.types.FieldType, t4: platform.types.FieldType, t5: platform.types.FieldType, t6: platform.types.FieldType, t7: platform.types.FieldType)(kernel: ⇒ Unit): (parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field)

    Permalink

    Create an unnamed GPU Operator that produces eight fields.

  316. def apply(t0: platform.types.FieldType, t1: platform.types.FieldType, t2: platform.types.FieldType, t3: platform.types.FieldType, t4: platform.types.FieldType, t5: platform.types.FieldType, t6: platform.types.FieldType, t7: platform.types.FieldType, name: String)(kernel: ⇒ Unit): (parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field)

    Permalink

    Create a named GPU Operator that produces eight fields.

  317. def apply(t0: platform.types.FieldType, t1: platform.types.FieldType, t2: platform.types.FieldType, t3: platform.types.FieldType, t4: platform.types.FieldType, t5: platform.types.FieldType, t6: platform.types.FieldType)(kernel: ⇒ Unit): (parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field)

    Permalink

    Create an unnamed GPU Operator that produces seven fields.

  318. def apply(t0: platform.types.FieldType, t1: platform.types.FieldType, t2: platform.types.FieldType, t3: platform.types.FieldType, t4: platform.types.FieldType, t5: platform.types.FieldType, t6: platform.types.FieldType, name: String)(kernel: ⇒ Unit): (parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field)

    Permalink

    Create a named GPU Operator that produces seven fields.

  319. def apply(t0: platform.types.FieldType, t1: platform.types.FieldType, t2: platform.types.FieldType, t3: platform.types.FieldType, t4: platform.types.FieldType, t5: platform.types.FieldType)(kernel: ⇒ Unit): (parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field)

    Permalink

    Create an unnamed GPU Operator that produces six fields.

  320. def apply(t0: platform.types.FieldType, t1: platform.types.FieldType, t2: platform.types.FieldType, t3: platform.types.FieldType, t4: platform.types.FieldType, t5: platform.types.FieldType, name: String)(kernel: ⇒ Unit): (parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field)

    Permalink

    Create a named GPU Operator that produces six fields.

  321. def apply(t0: platform.types.FieldType, t1: platform.types.FieldType, t2: platform.types.FieldType, t3: platform.types.FieldType, t4: platform.types.FieldType)(kernel: ⇒ Unit): (parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field)

    Permalink

    Create an unnamed GPU Operator that produces five fields.

  322. def apply(t0: platform.types.FieldType, t1: platform.types.FieldType, t2: platform.types.FieldType, t3: platform.types.FieldType, t4: platform.types.FieldType, name: String)(kernel: ⇒ Unit): (parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field)

    Permalink

    Create a named GPU Operator that produces five fields.

  323. def apply(t0: platform.types.FieldType, t1: platform.types.FieldType, t2: platform.types.FieldType, t3: platform.types.FieldType)(kernel: ⇒ Unit): (parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field)

    Permalink

    Create an unnamed GPU Operator that produces four fields.

  324. def apply(t0: platform.types.FieldType, t1: platform.types.FieldType, t2: platform.types.FieldType, t3: platform.types.FieldType, name: String)(kernel: ⇒ Unit): (parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field)

    Permalink

    Create a named GPU Operator that produces four fields.

  325. def apply(t0: platform.types.FieldType, t1: platform.types.FieldType, t2: platform.types.FieldType)(kernel: ⇒ Unit): (parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field)

    Permalink

    Create an unnamed GPU Operator that produces three fields.

  326. def apply(t0: platform.types.FieldType, t1: platform.types.FieldType, t2: platform.types.FieldType, name: String)(kernel: ⇒ Unit): (parser.syntaxtree.Field, parser.syntaxtree.Field, parser.syntaxtree.Field)

    Permalink

    Create a named GPU Operator that produces three fields.

  327. def apply(t0: platform.types.FieldType, t1: platform.types.FieldType)(kernel: ⇒ Unit): (parser.syntaxtree.Field, parser.syntaxtree.Field)

    Permalink

    Create an unnamed GPU Operator that produces two fields.

  328. def apply(t0: platform.types.FieldType, t1: platform.types.FieldType, name: String)(kernel: ⇒ Unit): (parser.syntaxtree.Field, parser.syntaxtree.Field)

    Permalink

    Create a named GPU Operator that produces two fields.

  329. def apply(resultType: platform.types.FieldType)(kernel: ⇒ Unit): parser.syntaxtree.Field

    Permalink

    Produce a field from a user-defined unnamed GPU operator.

    Produce a field from a user-defined unnamed GPU operator. Example:

    def myfunction(f1: Field, f2: Field): Field =
      GPUOperator(f1.fieldType) {
         // semantic checks here
         kernel code here, accessing f1 and f2
      }

    Scala does not support multiple method signatures with default values, hence the multitude of apply() signatures to support a default "" name.

    resultType

    The type of field produced by the operator.

    returns

    A field produced by the user-defined operator.

  330. def apply(resultType: platform.types.FieldType, name: String)(kernel: ⇒ Unit): parser.syntaxtree.Field

    Permalink

    Produce a field from a user-defined named GPU operator.

    Produce a field from a user-defined named GPU operator. Example:

    def myfunction(f1: Field, f2: Field): Field =
      GPUOperator(f1.fieldType, "myfunction") {
         // semantic checks here
         kernel code here, accessing f1 and f2
      }
    resultType

    The type of field produced by the operator.

    name

    An optional name, used by the profiler and other Cog-internal debugging tools.

    returns

    A field produced by the user-defined operator.

  331. final def asInstanceOf[T0]: T0

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  336. implicit def floatToConstExpression(value: Float): GPUExpression

    Permalink

    Implicitly convert a float to an expression.

    Implicitly convert a float to an expression.

    Definition Classes
    UserGPULibrary
  337. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  339. implicit def intToConstExpression(value: Int): GPUExpression

    Permalink

    Implicitly convert an int to an expression.

    Implicitly convert an int to an expression.

    Definition Classes
    UserGPULibrary
  340. def internalError(message: String): Unit

    Permalink

    Declare an internal error described by message.

    Declare an internal error described by message.

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  346. def toOpenCLString(f: Float): String

    Permalink

    Converts Float constants to their OpenCL equivalents, including the special cases.

    Converts Float constants to their OpenCL equivalents, including the special cases.

    Definition Classes
    FloatConstantsTrait
  347. def toString(): String

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

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

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

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

Deprecated Value Members

  1. def _globalThreads(fieldType: platform.types.FieldType): GlobalThreadsStatement

    Permalink

    Override global thread allocation.

    Override global thread allocation.

    fieldType

    The field type on which to model thread allocation; the thread allocator will treat this as though the output tensor field were of this type, which typically means you'll get a thread per tensor (or tensor element in some cases)

    returns

    Statement for the global thread allocation override.

    Definition Classes
    UserGPULibrary
    Annotations
    @deprecated
    Deprecated

    (Since version Cog 4.1) use _globalThreads(Shape) or _globalThreads(Shape, Shape) instead

Inherited from UserGPULibrary

Inherited from VectorLiteralFunctions

Inherited from VariableDeclarations

Inherited from TypeConversionFunctions

Inherited from RelationalFunctions

Inherited from MathFunctions

Inherited from IntegerFunctions

Inherited from GeometricFunctions

Inherited from FieldWriteFunctions

Inherited from FieldVariableFunctions

Inherited from FieldReadFunctions

Inherited from FloatConstantsTrait

Inherited from CommonFunctions

Inherited from SemanticError

Inherited from CompilerError

Inherited from BlockFunctions

Inherited from AtomicFunctions

Inherited from AnyRef

Inherited from Any

Ungrouped