Closed psyhtest closed 8 years ago
First, I notice OpenCL platform: ARM: OpenCL 1.1 does not work correctly. This hints the platform wasn't able to compile one or more of the kernels. The same goes for this message: Number of kernels in program: 0
Is there a way you can run the following test to figure out which kernels make your OpenCL implementation struggle? It needs to be compiled with "make runtest" first.
./build/test/test_all.testbin --gtest_filter=*OpenCLKernelCompileTest* 0
or
./build/test/test_all.testbin --gtest_filter=*OpenCLKernelCompileTest* 1
depending which device to use (if multiple are present).
We basically need to find out where the compile fails to provide a platform fix for your OpenCL. Sadly, the code often compiles on most platforms but then fails on some specific versions.
@psyhtest Let me know if the issue persists with the latest version.
@naibaf7
This issue must have been related to https://github.com/naibaf7/caffe/issues/25. With that fix, I no longer see Number of kernels in program: 0
. I still get std::exception
from the 00-classification.ipynb
example but I'll investigate where that happens separately. Many thanks.
Hi @naibaf7,
I've encountered the following issue when running the
00-classification.ipynb
example on theopencl
branch of BVLC/caffe:I suspect this may be coming from
src/caffe/greentea/greentea_math_functions.cpp
:I can't see
CL_KERNEL_SELECT
defined anywhere so I assumes it just vanishes leaving the "fillbuffer" kernel name. However,greentea/cl_kernels/fillbuffer.cl
defines:So should
greentea_memset(...)
above use "fillbuffer_float" rather than "fillbuffer" as the kernel name?Many thanks!