End
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
x |
|
x |
Function Usage
Calls the End function once to release Matmul computing resources to prevent computing resource conflicts among multiple Matmul objects when computation is switched among multiple Matmul objects.
Prototype
1 | __aicore__ inline void End() |
Parameters
None
Returns
None
Restrictions
None
Example
1 2 3 4 | mm1.IterateAll(gm_c1); mm1.End(); mm2.IterateAll(gm_c2); mm2.End(); |
Parent topic: Matmul Kernel APIs