mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-23 00:17:25 +08:00
ecc5032176
* [XPU] Add return value checks for all XPU kernel launches - Add -fxpu-launch-return compiler flag in CMakeLists.txt to enable kernel launch return values - Add KERNEL_ASSERT_SUCCESS(ctx, ret_xre) checks after every XPU kernel launch across 45 wrapper files (55 launch sites total) - Covers both main wrapper/ and mtp_wrapper/ directories - Properly handles multiple kernel launches in the same function scope by reusing the ret_xre variable * [XPU] code style fix