Hello, has anybody tested OpenCV with the Embedded Profile of OpenCL yet?
Or Does anybody know, why it should not be possible to use OpenCV with OpenCL on a Embedded System?
Regards Roger
1 | initial version |
Hello, has anybody tested OpenCV with the Embedded Profile of OpenCL yet?
Or Does anybody know, why it should not be possible to use OpenCV with OpenCL on a Embedded System?
Regards Roger
2 | No.2 Revision |
Hello, has anybody tested OpenCV with the Embedded Profile of OpenCL yet?
Or Does anybody know, why it should not be possible to use OpenCV with OpenCL on a Embedded System?
Regards Roger
3 | No.3 Revision |
Hello, has anybody tested OpenCV with the Embedded Profile of OpenCL yet?
Or Does does anybody know, why it should not be possible to use OpenCV with OpenCL on a Embedded System?
Regards Roger
4 | No.4 Revision |
Hello, has anybody tested OpenCV with the Embedded Profile of OpenCL yet?
Or does anybody know, why it should not be possible to use OpenCV with OpenCL on a Embedded System?
I did a short test with OpenCV 2.4.7.1. I use an embedded device with Android 4.2.2 with OpenCL support. Firstly OpenCV Manager and OpenCV binary pack were installed. Then an app was built with added OpenCL modules in the .mk file. After this step I tried the following in my main:
try
{
cv::ocl::Context::getContext()->getDeviceInfo().deviceName;
LOGI("Device opened\n");
}
catch(...)
{
LOGI("Error in open opencl\n");
}
And got with adb logcat the following output:
E/cv::error()( 6378): OpenCV Error: Unknown error code -6 (OpenCL function is not available: [clGetPlatformIDs]) in void* opencl_check_fn(int), file /home/reports/ci/slave_desktop/50-SDK/opencv/modules/ocl/src/cl_runtime/cl_runtime.cpp, line 83 E/cv::error()( 6378): OpenCV Error: Unknown error code -221 (OpenCL not available) in static cv::ocl::Context* cv::ocl::Context::getContext(), file /home/reports/ci/slave_desktop/50-SDK/opencv/modules/ocl/src/cl_context.cpp, line 544
Does anybody know why OpenCV should not support OpenCL EP (Embedded Profile) or why my small example should not work?
Regards Roger
5 | No.5 Revision |
Hello, has anybody tested OpenCV with the Embedded Profile of OpenCL yet?
Or does anybody know, why it should not be possible to use OpenCV with OpenCL on a Embedded System?
I did a short test with OpenCV 2.4.7.1. I use an embedded device with Android 4.2.2 with OpenCL support. Firstly OpenCV Manager and OpenCV binary pack were installed. Then an app was built with added OpenCL modules in the .mk file. After this step I tried the following in my main:
try
{
cv::ocl::Context::getContext()->getDeviceInfo().deviceName;
LOGI("Device opened\n");
}
catch(...)
{
LOGI("Error in open opencl\n");
}
And got with adb logcat the following output:
E/cv::error()( 6378): OpenCV Error: Unknown error code -6 (OpenCL function is not available: [clGetPlatformIDs]) in void* opencl_check_fn(int), file /home/reports/ci/slave_desktop/50-SDK/opencv/modules/ocl/src/cl_runtime/cl_runtime.cpp, line 83 E/cv::error()( 6378): OpenCV Error: Unknown error code -221 (OpenCL not available) in static cv::ocl::Context* cv::ocl::Context::getContext(), file /home/reports/ci/slave_desktop/50-SDK/opencv/modules/ocl/src/cl_context.cpp, line 544
Of course OpenCL libs are available on the device!
Does anybody know why OpenCV should not support OpenCL EP (Embedded Profile) or why my small example should not work?
Regards Roger
6 | No.6 Revision |
Hello, has anybody tested OpenCV with the Embedded Profile of OpenCL yet?
Or does anybody know, why it should not be possible to use OpenCV with OpenCL on a Embedded System?
I did a short test with OpenCV 2.4.7.1. I use an embedded device with Android 4.2.2 with OpenCL support. Firstly OpenCV Manager and OpenCV binary pack were installed. Then an app was built with added OpenCL modules in the .mk file. After this step I tried the following in my main:
try
{
cv::ocl::Context::getContext()->getDeviceInfo().deviceName;
LOGI("Device opened\n");
}
catch(...)
{
LOGI("Error in open opencl\n");
}
And got with adb logcat the following output:
E/cv::error()( 6378): OpenCV Error: Unknown error code -6 (OpenCL function is not available: [clGetPlatformIDs]) in void* opencl_check_fn(int), file /home/reports/ci/slave_desktop/50-SDK/opencv/modules/ocl/src/cl_runtime/cl_runtime.cpp, line 83
E/cv::error()( 6378): OpenCV Error: Unknown error code -221 (OpenCL not available) in static cv::ocl::Context* cv::ocl::Context::getContext(), file /home/reports/ci/slave_desktop/50-SDK/opencv/modules/ocl/src/cl_context.cpp, line Of course OpenCL libs are available on the device!
Does anybody know why OpenCV should not support OpenCL EP (Embedded Profile) or why my small example should not work?
Regards Roger
7 | No.7 Revision |
Hello, has anybody tested OpenCV with the Embedded Profile of OpenCL yet?
Or does anybody know, why it should not be possible to use OpenCV with OpenCL on a Embedded System?
I did a short test with OpenCV 2.4.7.1. I use an embedded device with Android 4.2.2 with OpenCL support. Firstly OpenCV Manager and OpenCV binary pack were installed. Then an app was built with added OpenCL modules in the .mk file. After this step I tried the following in my main:
try
And got with adb logcat the following output:
E/cv::error()( 6378): OpenCV Error: Unknown error code -6 (OpenCL function is not available: [clGetPlatformIDs]) in void* opencl_check_fn(int), file /home/reports/ci/slave_desktop/50-SDK/opencv/modules/ocl/src/cl_runtime/cl_runtime.cpp, line 83
E/cv::error()( 6378): OpenCV Error: Unknown error code -221 (OpenCL not available) in static cv::ocl::Context* cv::ocl::Context::getContext(), file /home/reports/ci/slave_desktop/50-SDK/opencv/modules/ocl/src/cl_context.cpp, line 544
Of course OpenCL libs are available on the device!
Does anybody know why OpenCV should not support OpenCL EP (Embedded Profile) or why my small example should not work?
Regards Roger