MNN icon indicating copy to clipboard operation
MNN copied to clipboard

特定 win gpu 型号,opencl 报错 -5 然后崩溃

Open NikoLXQ opened this issue 3 months ago • 3 comments

在特定gpu下(Intel(R) Arc(TM) 140V GPU),使用opencl 后端,会出现大量 -5 报错。 与模型无关,使用MNN 的demo multipose 的模型跑 benchmark 也会报错。在其他intel gpu 型号下一起正常。 日志如下:

Image

NikoLXQ avatar Sep 05 '25 08:09 NikoLXQ

最新的 3.2.3 依然如此

NikoLXQ avatar Sep 10 '25 09:09 NikoLXQ

修改 source/backend/opencl/CMakeLists.txt ,把 add_definitions(-DMNN_SUPPORT_INTEL_SUBGROUP) 去掉试试

jxt1234 avatar Sep 11 '25 09:09 jxt1234

修改 source/backend/opencl/CMakeLists.txt ,把 add_definitions(-DMNN_SUPPORT_INTEL_SUBGROUP) 去掉试试

这个是必现的,你们可以找对应的机子试试。 @jxt1234

NikoLXQ avatar Oct 21 '25 02:10 NikoLXQ

Marking as stale. No activity in 60 days.

github-actions[bot] avatar Dec 20 '25 09:12 github-actions[bot]