DeviceMemory

函数功能

从Device侧申请内存。

函数原型

1
DeviceMemory(size: int)

输入参数说明

参数名

类型

说明

size

int

申请内存的大小,单位Byte。

返回参数说明

DeviceMemory对象。