Welcome to our Support Center

Memory Control Resume

In this section you’ll find a list of all memory control fonctionalities.

  ICONS DESCRIPTION
Create Tensor Allocates size bytes of linear memory on the device and returns a tensor to the allocated memory.
Create Tensor & Host To Device Allocates size bytes of linear memory on the device and copies data between host and device. Returns a tensor to the allocated memory.
Free Memory Releases the memory space indicated by the tensor, which must have been returned by the “Create Tensor” or “Create Tensor & Host To Device” function call.
Set Tensor Initializes the tensor with the given value.
Get Tensor Information Information of the tensor.
Get Memory Status Gets free, total and used device memory.
Copy Tensor Copy the source tensor in tensor destination.
Set Device Set device to be used for GPU executions.
Reset Device Explicitly destroys and cleans up all resources associated with the current device in the current process.
Host To Device Copies data between host and device.
Device To Device Copies data between device and device.
Device To Host Copies data between device and host.
Device To Host & Free Copies data between device and host and free the tensor on the device.
Table of Contents

Table of Contents

Index