Start C-V mix kernel example in Python, based on: https://github.com/zhangstevenunity/PTOAS/pull/213. IR doc and unit tests: - https://github.com/zhangstevenunity/PTOAS/blob/main/docs/designs/ptoas-tpush-tpop-design.md - https://github.com/zhangstevenunity/PTOAS/tree/main/test/samples/TPushTPop - https://github.com/zhangstevenunity/PTOAS/blob/main/test/basic/tpush_tpop_dir_both.pto - https://github.com/zhangstevenunity/PTOAS/blob/main/test/basic/tpush_tpop_frontend_lowering_a3.pto - More samples: https://github.com/zhangstevenunity/PTOAS/pull/382 Related C++ doc: - https://github.com/PTO-ISA/pto-isa/blob/main/docs/HL_ptoisa_newfeature20260306_TPUSH_TPOP.md - the raw [`ffts_cross_core_sync`](https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/850alpha001/API/cceintrinsicapi/cceapi_0112.html) intrinsic on A2 Unit tests: - https://gitcode.com/cann/pto-isa/blob/master/tests/npu/a2a3/src/st/testcase/tpushpop_cv/ - https://gitcode.com/cann/pto-isa/tree/master/tests/npu/a2a3/src/st/testcase/tpushpop_vc - FA also uses PUSH/POP API now https://gitcode.com/cann/pto-isa/blob/master/kernels/manual/common/flash_atten/fa_performance_kernel.cpp - the torch interface https://gitcode.com/cann/pto-isa/pull/612
Start C-V mix kernel example in Python, based on: hw-native-sys/PTOAS#213.
IR doc and unit tests:
Related C++ doc:
ffts_cross_core_syncintrinsic on A2Unit tests: