DeviceMemory

Function Usage

Allocates memory from the device.

Prototype

1
DeviceMemory(size: int)

Input Parameters

Parameter

Type

Description

size

int

Requested allocation size in bytes

Response Parameters

DeviceMemory object