Paddle-Lite icon indicating copy to clipboard operation
Paddle-Lite copied to clipboard

opencl 推理,报错malloc image is out of max image size

Open FreshZZ opened this issue 3 years ago • 2 comments

模型输入大小: h=640,w=864 代码库 最新develop分支代码 设置如下: const std::string bin_path = "/data/local/tmp/paddle"; const std::string bin_name = "lite_opencl_kernel.bin"; config.set_opencl_binary_path_name(bin_path, bin_name);

const std::string tuned_path = "/data/local/tmp/paddle"; const std::string tuned_name = "lite_opencl_tuned.bin"; config.set_opencl_tune(CL_TUNE_NORMAL, tuned_path, tuned_name); config.set_opencl_precision(CL_PRECISION_AUTO);

报错: ...e/lite/backends/opencl/target_wrapper.cc:98 ImageValid] malloc image is out of max image size(w,h):8192,8192, need image size(w,h):9072,320 Aborted 问题:是opencl会限制输入大小吗?

FreshZZ avatar Nov 29 '21 08:11 FreshZZ

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网文档常见问题历史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 APIFAQ and Github Issue to get the answer.Have a nice day!

paddle-bot-old[bot] avatar Nov 29 '21 08:11 paddle-bot-old[bot]

请问这个问题解决了吗

limaopeng1 avatar Aug 03 '22 05:08 limaopeng1