|
产品 |
是否支持 |
|---|---|
|
|
√ |
|
|
√ |
|
|
x |
|
|
√ |
|
|
√ |
|
|
x |
|
|
x |
LocalMemAllocator构造函数。
1
|
__aicore__ inline LocalMemAllocator<hard>() |
|
参数名 |
描述 |
||
|---|---|---|---|
|
hard |
用于表示数据的物理位置,Hardware枚举类型,定义如下,合法位置为:UB、L1、L0A、L0B、L0C、BIAS、FIXBUF。物理位置的具体说明可参考存储单元。
|
无
同一个物理位置的LocalMemAllocator对象,在算子生命周期内只能存在1个。