def setArg[T](reg: Reg[T], value: T): Unit
Transfer a scalar value from the host to the accelerator through the register reg.
reg should be allocated as the HostIO or ArgIn methods.
|
Transfer a scalar value from the accelerator to the host through the register reg.
reg should be allocated using the HostIO or ArgIn methods.
|
Transfers the given Array of data from the host’s memory to dram’s region of accelerator DRAM.
|
Transfers dram’s region of accelerator DRAM to the host’s memory and returns the result as an Array.
|
Transfers the given Matrix of data from the host’s memory to dram’s region of accelerator DRAM.
|
Transfers dram’s region of accelerator DRAM to the host’s memory and returns the result as a Matrix.
|
Transfers the given Tensor3 of data from the host’s memory to dram’s region of accelerator DRAM.
|
Transfers dram’s region of accelerator DRAM to the host’s memory and returns the result as a Tensor3.
|
Transfers the given Tensor4 of data from the host’s memory to dram’s region of accelerator DRAM.
|
Transfers dram’s region of accelerator DRAM to the host’s memory and returns the result as a Tensor4.
|
Transfers the given Tensor5 of data from the host’s memory to dram’s region of accelerator DRAM.
|
Transfers dram’s region of accelerator DRAM to the host’s memory and returns the result as a Tensor5.
|