Constructor for LocalMemAllocator
Product Support
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
√ |
|
√ |
|
x |
Function
Constructor for LocalMemAllocator.
Prototype
1 2 | template <Hardware hard> __aicore__ inline LocalMemAllocator<hard>::LocalMemAllocator() |
Parameters
Parameter |
Description |
||
|---|---|---|---|
hard |
Physical location of data. The value is of the Hardware enumerated type. The valid locations are UB, L1, L0A, L0B, L0C, BIAS, and FIXBUF.
|
Returns
None
Restrictions
Only one LocalMemAllocator object can exist in the operator lifecycle at the same physical location.
Parent topic: LocalMemAllocator