SetSize 函数功能设置device内存地址大小。 函数原型void SetSize(const size_t mem_size) 参数说明 参数名 输入/输出 描述 mem_size 输入 device内存大小。 返回值无。 异常处理无。 约束说明无。 父主题: Memblock类