Ask Your Question

Shabuddin Shaik's profile - activity

2015-04-09 01:08:01 -0500 answered a question cl_out_of_host_memory

Hi,

I found the reason for this issue, but still i have some doubts,first i will explain how i got this issue solved, later i will point out my doubt.

1) I was getting this issue when clbuildprogram is being called by passing program object, this program object is created using clcreateprogramwithsource, and the source being passed to this is having four kernel functions.

2) In the file where those kernel functions are present some macros are there, those macros are as follows:

#define LSIZE 256
#define LSIZE_1 255
#define LSIZE_2 254
#define HF_LSIZE 128
#define LOG_LSIZE 8
#define LOG_NUM_BANKS 5
#define NUM_BANKS 32
#define GET_CONFLICT_OFFSET(lid) ((lid) >> LOG_NUM_BANKS)

3) Based on these macros, in each kernel function they are creating local variables as shown below.

__local int4 lm_sum[2][LSIZE + LOG_LSIZE];
__local float4 lm_sqsum[2][LSIZE + LOG_LSIZE];
__local int* sum_p;
__local float* sqsum_p;

4) that means total size of 0.5MB(540704B) is being allocated in local memory region, i have changed macros such a way that, total local memory being used by 4 kernel functions became 0.1MB(131104B), and with this change the issue CL_OUT_OF_HOST_MEMORY got cleared.

i understood that this issue is because of local memory, but my doubt is that, when i queried for local memory device is having it showed as it is having only 8kB, then why i got problem with 0.5MB local memory, and why the same is not happening with 0.1MB, how it is managing, can any one explain me this.

Thanks, Shabuddin.

2015-03-12 05:47:39 -0500 received badge  Editor (source)
2015-03-12 05:46:50 -0500 asked a question Ran out of registers during register allocation

Hi,

I am running opencv tests with opencl(using opencv2.4.9) on qualcomm 800 series 8074 board, while running tests using ocl, getting an error like "assertion failed: false && ran out of registers during register allocation. " i am unable to find why this error is coming , can any one guide me in solving this issue.

Thanks, Shabuddin.

2015-03-09 22:53:41 -0500 asked a question cl_out_of_host_memory

Hi,

I am running opencv test suite with opencl on qualcomm 800 series 8074 board (android ), for some test clBuildProgram is returning CL_OUT_OF_HOST_MEMORY error. unable to find out the exact reason, can any one help me in finding out the exact reason for this issue and so that i can be able to find out solution for it.

Thanks, Shabuddin.

2015-03-04 00:06:55 -0500 received badge  Enthusiast
2015-03-03 03:46:54 -0500 asked a question Opencv-cl problem with cl_kernel_work_group_size

Hi,

I am running the opencv-cl performance test suite, for some tests assertions is coming because of hard coded local threads. the condition is localthread[0]localthread[1]localthread[2] should be less than or equal to cl_kernel_work_group_size. As mentioned in opencl spec, the cl_kernel_work_group_size is the maximum work_group_size that can be used to execute kernel on a specific device. but here the local threads are hard coded so am getting multiplication of localthreads as 256, and am getting cl_kernel_work_group_size for some functions less than 256, (ie., 128, 64 etc.,). can any one tell me, that whether my understanding is correct or not, if possible can suggest me the solution to solve this issue.

Thanks, Shabuddin.

2015-02-16 22:38:43 -0500 asked a question Opencv with opencl is being used?

Hi,

Is opencv with opencl being used on any Graphic Processor? are they getting good results? if so, can you mention the GPU being used.

Thanks, Shabuddin.

2015-02-16 06:02:48 -0500 asked a question Opencl Version and Profile.

Hi,

I wanna run test suite of opencv with cl, regarding that i have a doubt related to version and profiles of opencl , which has to be supported by GPU.

i have read that opencv needs larger than opencl1.1 full profile ( http://docs.opencv.org/modules/ocl/do... in "some tidbits: ").

1) Is it mean version 1.1 full profile excluded ?

2) Will it support version 1.2 Embedded profile ?

Thanks, Shabuddin.

2015-02-16 00:07:30 -0500 asked a question which GPU supports good Opencv with CL ?

Hi,

I wanna buy a board with GPU, which can run OpenCV with CL. i have seen some boards, i found some boards with GPU which can support CL version 1.1 FULL Profile, and some boards which has GPU supporting 1.2 Embedded Profile, can any one suggest me a board which has good support of opencl, which can run opencv effectively. suggest me board or GPU . And one more thing, how i can i find max_work_group_size a gpu can support?

Thanks in advance, Shabuddin.

2014-11-05 00:48:32 -0500 commented answer OpenCL and GPU with Android OpenCV SDK

Hi Andrey - Is Opencv's OpenCL on Android still not available?

2014-10-31 01:06:55 -0500 commented answer How can I build OpenCL module for Android?

Am searching for procedure to run ocl of opencv android sdk, most of the posts in answers.opencv.org stating that there is no support for ocl on android. but madhat1 u r saying that we need to link native code with libopencl.so, if u have tried and got succeed, can you please share the procedure for that ocl opencv4 android.

Thanks, Shabuddin Shaik.

2014-10-31 01:06:03 -0500 answered a question How can I build OpenCL module for Android?

Am searching for procedure to run ocl of opencv android sdk, most of the posts in answers.opencv.org stating that there is no support for ocl on android. but madhat1 u r saying that we need to link native code with libopencl.so, if u have tried and got succeed, can you please share the procedure for that ocl opencv4 android.

Thanks, Shabuddin Shaik.

2014-10-30 07:27:49 -0500 asked a question ocl modules of opencv on android

can any one tell me that is it possible to run ocl modules of opencv on android,when the device is connected with the help of usb to linux host machine. if yes please tell me the procedure.

Thanks, Shabuddin Shaik.

2014-10-29 01:47:01 -0500 asked a question test suite for opencv ocl modules on android

hi,

Is there any test suite to test ocl modules of opencv on android platform. i have downloaded one test suite, which is implemented in java, i don't know java, but i understood that it using only cv modules, can any one tell me that can i use the same test suite with some modifications to test ocl modules on android platform or is there any test suite seperately available to test ocl modules of opencv.

2014-10-17 03:23:53 -0500 asked a question opencv test suite document

Hi,

can any one help me in finding opencv test suite documents.I am searching for list of test presents in that test suite. but unable to find the test suite document in opencv site.

Thanks, Shabuddin

2014-10-10 03:52:22 -0500 commented question Opencv Test suite on android

I need the procedure to run the Opencv test suite on android.

2014-10-08 06:38:19 -0500 received badge  Student (source)
2014-10-08 05:13:46 -0500 asked a question Opencv Test suite on android

How to run the test suite for opencv on android platform, while the device is connected to host machine through USB.

i have installed OpenCV manager on android, opencv4android sdk on linux host machine,i am able to run sample programs with the help of eclipse.

In OpenCV-master sdk we have folder modules/ts/misc which contains python scripts to run the test suite, but opencv4 android sdk doesn't have these scripts. can any one guide me how to run these test with the help of these sripts.