Deleting some elements in an array in the kernel code.
After compacting an array(putting required elements from an input array into an output array) by doing a scan operation, there might be some empty spaces left in the output(compacted) array in a...
View ArticleBlender Cycles(Opencl on AMD GPUS)
Dear Opencl DeveloperWhy doesn't the AMD opencl compiler work with blender cycles?whenever i compile the blender cycles kernel, the system either crashes due to lack of memory, or takes too long to...
View ArticleDifferent results with HD 7970 and HD 7750
Hello, I have a kernel that I have written to perform some dynamic programming routine particularly targeting the GCN architecture. Recently, I tried to optimize the kernel by getting rid of If-Else...
View ArticleMemory allginment for GPU use with _aligned_malloc
I have been working with the latest SDK and see many examples like the following: matrixGPU_double = static_cast<double*>(_aligned_malloc(SIZE, 4096)); My question is what is the reason...
View ArticleOpenCL mmap vs malloc, different data transfer speed using...
Hi, Here is the situation: kernel side: 1.we alloc a big area of physical memory when linux start up using alloc_boot_mem 2.we write a simple char device driver implementing the mmap...
View ArticleError handling mmap: Memory leak and "GART error"
We are trying to process images from a framegrabber without copying them to an intermediate buffer. The data appears on a mmaped buffer. Every time we use the mmaped buffer on OpenCL we are getting an...
View Articledata transfer ratio when execute clenqueuewriteBuffer
When I execute clenqueuewriteBuffer in OpenCL, I find data transfer ratio is different according to the transferred data size. Are there any rules about how AMD OpenCL define data transfer ratio? For...
View ArticleWhy the same code running on linux and windows differs so much (2X)
Hey: I just have run my opencl kernel on both windows 7 and kbuntu 12.10 that built in an autotool project. the project is developed under linux and then ported to windows using MingW64+Msys. My...
View ArticleGPU-Z Crashed at OpenCL Detection
I have ASUS 7970, I and getting a problem "During Previous Startup GPU-Z Crashed at OpenCL Detection, Please Update your OPenCLnd Graphics Driver".This problem is coming when I am trying to Click on...
View ArticleclCreateFromGLBuffer returns CL_INVALID_GL_OBJECT on the second/third ocl-ogl...
Hello, I am struggling with this error for some days already and I just can't figure out what I'm missing, so if any of you has any suggestion, I would be very grateful. My application uses OpenCL for...
View ArticleCL_INVALID_ARG_INDEX
Hi forum, I am allocating a memory buffer and getting error value -49 with the following command : [code] errNum |= clSetKernelArg(clKernel,1, sizeof(cl_mem),trgBuffer);[/code] While allocating...
View ArticleOpenCL performance / temperature rising
Hello guys, I have some doubts about OpenCL usage and temperature rising. I have created an application to render some things using only directx and another application to evaluate some things using...
View ArticleCL_OUT_OF_RESOURCES - what are scenarios
Hi forum, I am creating an OpenCL texture in the usual manner: clCreateFromGLTexture2D() and i am getting the error mentioned in the subject. I am not sure here what might have went wrong: 1. I have...
View Articleprogram does not run on GPU via ssh but locally it runs on GPU
I have installed the latest catalyst driver 13.8 beta for ati radeon hd 6670 GPU via ssh and when i tried to run an openCL sample program it runs perfectly on my GPU. But after a system reboot, when i...
View ArticleclFlush() and Event Profiling Problem.
Hi, I am trying to parallelize DMA and computation with two in order queues, facing strange Event Profiling results when clFlush() is being used.On AMD GPU almost all events recorded with same/invalid...
View ArticleGetting wrong values returned from cl::BufferGL after a upgrade from HD6790...
Hello guys, I can write data to cl::BufferGL variables (on GPU) and use it to draw, but I got wrong values when reading back to host. I have ran a couple examples from AMD SDK, including GL_CL interop,...
View ArticleError while creating program from source
Hi forum, I am trying to create an program object from source and i am getting the following error :...
View ArticleDirect access to host-resident memory on Fusion / Trinity APU
I want to be able to use the direct memory access capability of the on-chip GPU inside the Fusion APU to access CPU resident memory directly without having to copy it over to the GPU memory partition...
View ArticleBay Area Multimedia Meetup
Dear OpenCL Developers,I am excited to announce the creation of the Bay Area Multimedia Meetup group.We plan to have talks by leading multimedia technologists once a month.This will be a great...
View ArticleCan I ask a "newbie" question please...
Hi I wanted to ask a newbie or "rookie" question - you knowledge/help would be much appreciated. I want to know where or how or from whom to ask if Radeon graphics cards (or which ones specifically)...
View Article