package lib
Linear Supertypes
Content Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- lib
- Scan
- LowPrecision
- LinearAlgebra
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- trait HostML extends AnyRef
- trait LinearAlgebra extends AnyRef
-
sealed abstract
class
BoxedC[T] extends AnyRef
- Definition Classes
- LinearAlgebra
-
case class
CMatrix[T](c: dsl.SRAM2[T]) extends BoxedC[T] with Product with Serializable
- Definition Classes
- LinearAlgebra
-
case class
CScalar[T](c: T) extends BoxedC[T] with Product with Serializable
- Definition Classes
- LinearAlgebra
-
case class
CVector[T](c: dsl.SRAM1[T]) extends BoxedC[T] with Product with Serializable
- Definition Classes
- LinearAlgebra
- trait LowPrecision extends AnyRef
- trait Scan extends AnyRef
Value Members
-
def
ConvertTo8Bit(Y: dsl.DRAM1[dsl.Byte], SF: dsl.Reg[dsl.Float], X: dsl.DRAM1[dsl.Float], size: dsl.Int): dsl.Unit
- Definition Classes
- LowPrecision
-
def
ConvertTo8Bit_Buggy(Y: dsl.DRAM1[dsl.Byte], SF: dsl.Reg[dsl.Float], X: dsl.DRAM1[dsl.Float], size: dsl.Int): dsl.Unit
- Definition Classes
- LowPrecision
-
def
addlp[T1, T2, OT](parent: dsl.Label, Y: dsl.SRAM2[OT], YSF: dsl.Reg[dsl.Float], X1: dsl.SRAM2[T1], X1SF: dsl.Reg[dsl.Float], X2: dsl.SRAM1[T2], X2SF: dsl.Reg[dsl.Float], transX2: Boolean, precision: Int, factor: Int)(implicit arg0: dsl.Num[T1], arg1: dsl.Num[T2], arg2: dsl.Num[OT], ctx: SrcCtx, state: State): dsl.Unit
- Definition Classes
- LowPrecision
-
def
averagepool2d[T](Y: dsl.SRAM4[T], X: dsl.SRAM4[T], kernel: (dsl.Int, dsl.Int), pad: (dsl.Int, dsl.Int, dsl.Int, dsl.Int), stride: (dsl.Int, dsl.Int))(implicit arg0: Type[T], arg1: dsl.Num[T], state: State): dsl.Unit
- Definition Classes
- LinearAlgebra
-
def
batchNorm2d[T](Y: dsl.SRAM4[T], X: dsl.SRAM4[T], scale: T, B: T, epsilon: dsl.Float)(implicit arg0: dsl.Num[T], state: State): dsl.Unit
- Definition Classes
- LinearAlgebra
-
def
batchNorm2d[T](Y: dsl.SRAM4[T], X: dsl.SRAM4[T], scale: dsl.SRAM1[T], B: dsl.SRAM1[T], epsilon: dsl.Float)(implicit arg0: dsl.Num[T], state: State): dsl.Unit
- Definition Classes
- LinearAlgebra
-
def
conv2d[T](Y: dsl.SRAM4[T], X: dsl.SRAM4[T], K: dsl.SRAM4[T], pad: (dsl.Int, dsl.Int), stride: (dsl.Int, dsl.Int))(implicit arg0: dsl.Num[T], state: State): dsl.Unit
- Definition Classes
- LinearAlgebra
-
def
dequant[T](parent: dsl.Label, Y: dsl.SRAM2[dsl.Float], SF: dsl.Reg[dsl.Float], X: dsl.SRAM2[T])(implicit arg0: dsl.Num[T], ctx: SrcCtx, state: State): dsl.Unit
- Definition Classes
- LowPrecision
-
def
filter[T](Y: dsl.SRAM1[T], P: (T) ⇒ dsl.Boolean, X: dsl.SRAM1[T])(implicit arg0: dsl.Num[T], ctx: SrcCtx, state: State): dsl.Unit
- Definition Classes
- Scan
-
def
filter_fifo[T](Y: dsl.SRAM1[T], P: (T) ⇒ dsl.Boolean, X: dsl.SRAM1[T], YS: dsl.Reg[dsl.Int])(implicit arg0: dsl.Num[T], ctx: SrcCtx, state: State): dsl.Unit
- Definition Classes
- Scan
-
def
gemm[T](Y: dsl.SRAM2[T], A: dsl.SRAM2[T], B: dsl.SRAM2[T], C: dsl.SRAM2[T], transA: Boolean, transB: Boolean, transY: Boolean, sumY: Boolean, alpha: T, beta: T, mp: Int, kp: Int, np: Int)(implicit arg0: dsl.Num[T], state: State): dsl.Unit
- Definition Classes
- LinearAlgebra
-
def
gemm[T](Y: dsl.SRAM2[T], A: dsl.SRAM2[T], B: dsl.SRAM2[T], C: dsl.SRAM1[T], transA: Boolean, transB: Boolean, transY: Boolean, sumY: Boolean, alpha: T, beta: T, mp: Int, kp: Int, np: Int)(implicit arg0: dsl.Num[T], state: State): dsl.Unit
- Definition Classes
- LinearAlgebra
-
def
gemm[T](Y: dsl.SRAM2[T], A: dsl.SRAM2[T], B: dsl.SRAM2[T], C: T, transA: Boolean, transB: Boolean, transY: Boolean, sumY: Boolean, alpha: T, beta: T, mp: Int, kp: Int, np: Int)(implicit arg0: dsl.Num[T], state: State): dsl.Unit
- Definition Classes
- LinearAlgebra
-
def
gemm_fpga_fix[T](Y: dsl.SRAM2[T], A: dsl.SRAM2[T], B: dsl.SRAM2[T], C: T, transA: Boolean, transB: Boolean, transY: Boolean, sumY: Boolean, alpha: T, beta: T, mp: Int = 1, kp: Int = 1, np: Int = 1)(implicit arg0: dsl.Num[T], state: State): dsl.Unit
- Definition Classes
- LinearAlgebra
-
def
matmult[T](Y: dsl.SRAM2[T], A: dsl.SRAM2[T], B: dsl.SRAM2[T], transA: Boolean, transB: Boolean, transY: Boolean, mp: Int = 1, kp: Int = 1, np: Int = 1)(implicit arg0: dsl.Num[T], state: State): dsl.Unit
- Definition Classes
- LinearAlgebra
-
def
maxpool2d[T](Y: dsl.SRAM4[T], X: dsl.SRAM4[T], kernel: (dsl.Int, dsl.Int), pad: (dsl.Int, dsl.Int, dsl.Int, dsl.Int), stride: (dsl.Int, dsl.Int))(implicit arg0: dsl.Num[T], state: State): dsl.Unit
- Definition Classes
- LinearAlgebra
-
def
mmlp[IT, OT](parent: dsl.Label, Y: dsl.SRAM2[OT], YSF: dsl.Reg[dsl.Float], A: dsl.SRAM2[IT], ASF: dsl.Reg[dsl.Float], B: dsl.SRAM2[IT], BSF: dsl.Reg[dsl.Float], transA: Boolean, transB: Boolean, transY: Boolean)(implicit arg0: dsl.Num[IT], arg1: dsl.Num[OT], ctx: SrcCtx, state: State): dsl.Unit
- Definition Classes
- LowPrecision
-
def
quantize[T](parent: dsl.Label, Y: dsl.SRAM1[T], SF: dsl.Reg[dsl.Float], X: dsl.SRAM1[dsl.Float], factor: Int, precision: Int)(implicit arg0: dsl.Num[T], ctx: SrcCtx, state: State): dsl.Unit
- Definition Classes
- LowPrecision
-
def
quantize[T](parent: dsl.Label, Y: dsl.SRAM2[T], SF: dsl.Reg[dsl.Float], X: dsl.SRAM2[dsl.Float], factor: Int, precision: Int)(implicit arg0: dsl.Num[T], ctx: SrcCtx, state: State): dsl.Unit
- Definition Classes
- LowPrecision
-
def
testmem(Y: dsl.DRAM1[dsl.Float], X: dsl.DRAM1[dsl.Float], size: dsl.Int): dsl.Unit
- Definition Classes
- LowPrecision
-
def
testreg(Z: dsl.Reg[dsl.Float], Y: dsl.Reg[dsl.Float], X: dsl.Reg[dsl.Float]): dsl.Unit
- Definition Classes
- LowPrecision
- object BLAS
- object ML extends HostML
- object Sort