keep getting ERROR_CODE: -52 when running with opencl
continued from #307
I tried to run with my own models,
the program did not crash but keep to output
ERROR_CODE: -52
I guess it's opencl error code (https://streamhpc.com/blog/2013-04-28/opencl-error-codes/).
any idea?
You can use backendtest.out to test which op is wrong, or send me the model and I'll test it for you
@hacker-joe i have the same problem, and i have used backendtest.out to test, get the error: resnet_v1_101/block_1/bottleneck_v2_1/Conv/Conv2D is error code: shortcut = slim.conv2d(pre_activation, num_outputs=num_outputs, kernel_size=1, stride=stride, activation_fn=None, normalizer_fn=None) residual = slim.conv2d(pre_activation, depth, kernel_size=1) residual = slim.conv2d(residual, num_outputs=depth, kernel_size=3, stride=stride) residual = slim.conv2d(residual, num_outputs, kernel_size=1, normalizer_fn=None, activation_fn=None)
There's nothing complicated, just some basic convolutions.
@hacker-joe @xudh1991 我遇到了相同的问题 运行环境: ubuntu 18.04 的 docker 镜像,镜像地址:docker pull nvidia/opencl:runtime-ubuntu18.04 GPU 为 Nvidia 2080Ti
运行问题: 执行模型推理时出现:
ERROR CODE : -52
ERROR CODE : -52
ERROR CODE : -52
使用 backendtest.out 测试模型后得到如下错误信息: Test forward type: 0 Tolerance Rate: 0.050000 Open Model ../temp_forwardDemo/model/centerface.mnn Input: 32,32,3,10 precision=0 in main, 164 stopOp.c_str()=s in main, 169 0: 816243904872448.000000 != 396038632374272.000000 478 is error
请问,有什么解决方案吗?或 存在什么问题吗?