TensorBaseCopy
Function Usage
Defines the memory copy function, which copies data between the host and device based on the memory location specified in MemoryData.
Prototype
1 | static APP_ERROR TensorBase::TensorBaseCopy(TensorBase &dst, const TensorBase &src); |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
dst |
Output |
Destination memory after the copy. |
src |
Input |
Source memory to be copied. |
Response Parameters
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |
Parent topic: TensorBase