-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Global work group size is not evenly divisible by local work group size #9380
Comments
您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网文档、常见问题、历史Issue来寻求解答。祝您生活愉快~ Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API,FAQ and Github Issue to get the answer.Have a nice day! |
I0826 09:43:00.281939 11272 matmul_image_compute.cc:112] persistableY: 1, transposeY: 0 |
global_work_size 的第一个数 要被 local_work_size的第一个数 能整除才可以 提醒下OpenCL的WorkSize问题 |
temp fix on #9381 可以临时解决问题。 |
好的,多谢反馈,我们尽快修复 |
@sprouteer On the lastest develop branch, still not fixed.
To Get the Model Inference Model (Manual Gen by https://github.com/PaddlePaddle/PaddleClas/blob/release/2.5/tools/export_model.py)
BaiduYun Link 链接: https://pan.baidu.com/s/1ypvWJTXszMYs-zzeDT08Lw?pwd=drtg 提取码: drtg |
#9475 Fixes |
1)Paddle Lite 版本:develop(v2.11)
2)Host 环境:Ubuntu20.04 x64
3)运行设备环境:/
4)预测后端信息: Intel 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40Ghz
预测信息
1)预测 API:C++
2)预测选项信息:OpenCL
3)预测库来源:源码编译 ./lite/tools/build_linux.sh --arch=x86 --with_opencl=ON --with_log=ON --with_extra=ON full_publish
复现信息:ResNet50(官方模型生成) 输入推断。
问题描述:
I0826 09:43:00.282701 11272 cl_context.cc:38] --- to get program image/matmul_opt_kernel.cl ---
I0826 09:43:00.282702 11272 cl_runtime.cc:156] precision_: CL_PRECISION_FP32
I0826 09:43:00.282704 11272 cl_runtime.cc:157] OpenCL build_option: -DUSE_IMAGE_Y -DADRENO_HIGH -cl-fast-relaxed-math -cl-mad-enable -DCL_DTYPE_float -DCL_DTYPE_FLOAT_FORCE
I0826 09:43:00.282713 11272 cl_runtime.cc:341] OpenCL kernel file name: image/matmul_opt_kernel.cl
I0826 09:43:00.282716 11272 cl_runtime.cc:342] Program source size: 7566
I0826 09:43:00.282716 11272 cl_runtime.cc:323] --- begin build program from source -> image/matmul_opt_kernel.cl -DUSE_IMAGE_Y -DADRENO_HIGH -cl-fast-relaxed-math -cl-mad-enable -DCL_DTYPE_float -DCL_DTYPE_FLOAT_FORCE ---
I0826 09:43:00.297749 11272 cl_context.cc:42] --- end get program ---
I0826 09:43:00.297763 11272 cl_context.cc:43] --- to create kernel: matmul ---
I0826 09:43:00.297873 11272 cl_context.cc:49] --- end create kernel ---
I0826 09:43:00.297883 11272 cl_context.cc:59] --- kernel count: 97 ---
I0826 09:43:00.297901 11272 matmul_image_compute.cc:461] local_work_size[3D]: 8 4 16
I0826 09:43:00.297904 11272 matmul_image_compute.cc:463] global_work_size[3D]: 1 4 3
OCL 3740875: Global work group size is not evenly divisible by local work group size
F0826 09:43:00.298005 11272 matmul_image_compute.cc:542] OpenCL error with code CL_INVALID_WORK_GROUP_SIZE happened in file /home/wjl/github/Paddle-Lite/lite/kernels/opencl/matmul_image_compute.cc at line 542. Exiting.
*** Check failure stack trace: ***
OpenCL
Matmul_V2 这个算子是不是写错了, local_work_size global_work_size 出现除不了的情况
The text was updated successfully, but these errors were encountered: