Type: Posts; User: MenkaMore
Thanks for the reply cartographer and kunze.
I can not write sumaa and sumbb outside the loop.
sumaa is summation of squares of intensity of each element of range block .
sumaa = r1^2 + r2^2+...
I've written a OpenCL code for a function for fractal encoding (fixed partitioning). I get same encoding results with C only code and OpenCL based Code (Intel Core i5-3210M 2.5GHz...
Thanks cartographer! But it is also not working in my code.
Hello Everyone ! I do have a integrated GPU of intel which is having 4 cores and when I execute device query it shows that it is having 16 compute units. But for Nvidia's GPU GeForce GTX 260 device...
Hello Everyone !
My code is as follows.
******* host code******
cl_mem Curr_domain = NULL;
cl_mem dMobj = NULL;
//created check, AvgBlk of type structure domainBlock
Used CL_MEM_USE_HOST_PTR in my program but don't know why earlier the CL_MEM_USE_HOST_PTR was taking long time but now it takes me around 5-10ms.
The performance figures I provided are for number of iterations. I've should have pasted the code in proper flow. The code under creation of buffers is executed once. The code for...
Thanks Kunze. Yes these performance figures are averaged values. I've tried the CL_MEM_USE_HOST_PTR option but it is not giving significant results time required is nearly same. What can be other...
I'm working on a program for reduce the time taken for fractal image compression using OpenCL. With OpenCL I get 3-4x time compared to non OpenCL program. To explain about my...
Hello Everyone !
Is there any hardware supporting openCL 2.0? If yes then please tell me company of the hardware,name of the product and if possible specification of that hardware. Thanks in Advance.
Actually I want to send following data to device.
for (i=0; i<2; ++i)
for (j=0; j<2; ++j)
for (k=i; k<hsize-i; k += 2)
Hello everyone !!
Can I send 2 dimensional data to device? If yes then how can I do that? Means how will be the declaration of the buffer memory? And also how can I fetch/ use these values in...
Hello everyone !! I'm using structure as follows.
Thank you very much Peccable !
Thanks Dithermaster! But I call a (non kernel)function in the kernel function? ie can we write non kernel function in .cl file ??
Hello everyone !
Can I call a (non kernel)function in the kernel function? Its giving so many errors. Also can we call non kernel function recursively in a kernel function or in .cl file?? If yes...