You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ptoas does not generate any set_ffts_base_addr for this mlir code.
Separate functions vs pto.section
If we have a single func.func with pto.section.vector and pto.section.cube can we use the buffers with TPUSH/TPOP. Or do the mixed kernels only support separate functions with attributes {pto.kernel_kind = #pto.kernel_kind<vector/cube>}?
error: 'pto.reserve_buffer' op expects at most one reserve_buffer in the function
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
set_ffts_base_addr
When should
set_ffts_base_addrbe generated? For example it's used in the examples in pto-isa with theTPUSH/TPOPfuncionality (https://gitcode.com/cann/pto-isa/blob/master/tests/npu/a2a3/src/st/testcase/tpushpop_cv/tpushpop_cv_kernel.cpp). While inptoas does not generate any
set_ffts_base_addrfor this mlir code.Separate functions vs
pto.sectionIf we have a single
func.funcwithpto.section.vectorandpto.section.cubecan we use the buffers withTPUSH/TPOP. Or do the mixed kernels only support separate functions withattributes {pto.kernel_kind = #pto.kernel_kind<vector/cube>}?Beta Was this translation helpful? Give feedback.
All reactions