typedef struct { aclrtMallocAttribute* attrs; // 属性,本参数是数组,可存放多个属性 size_t numAttrs; // 属性个数 } aclrtMallocConfig;