opencl
opencl device info, amount of local memory
My question is about the opencl call clGetDeviceInfo with CL_DEVICE_LOCAL_MEM_SIZE as the argument. Does it return the per work group amount of local memory, or is it the total amount of memory avail[详细]
2023-03-04 15:28 分类:问答SEGFAULT calling DLL functions
I\'m currently trying to edit a project, that already uses OpenCL.dll, to make it load the library dynamically. I want to be able to use it in no OpenCL systems, with only a error mesage and a feature[详细]
2023-03-04 14:59 分类:问答Using Cuda optimization approaches for OpenCL
The more I learn about OpenCL, the more it seems that the right optimiza开发者_StackOverflowtion of your kernel is the key to success. Furthermore I noticed, that the kernels for both languages seem v[详细]
2023-03-04 12:34 分类:问答3D Arrays in OpenCL
I am new to OpenCL programming and my input is a 3D array. I am calculating the index as: int gidX = get_global_id(0)?1:get_global_id(0);[详细]
2023-03-04 11:13 分类:问答How to create variable sized __local memory in pyopencl?
in my C OpenCL code I use clSetKernelArg to create \'variable size\' __local memory for use in my kernels, which is not available in OpenCL per se. See my example:[详细]
2023-03-03 23:31 分类:问答popcnt in OpenCL?
Newer NVIDIA GPUs support a __popc(x) instruction that counts the number of bits set in a 32 bit register.[详细]
2023-03-03 18:44 分类:问答OpenCL: Running only a single instance of a CPU-based kernel
I have two OpenCL kernels: the first is a parallel task and the second is linear (LZW). The first one, being parallel, runs on a GPU and a second one, linear, runs on a CPU. I have a multicore CPU and[详细]
2023-03-03 15:13 分类:问答OpenCL - iteratively updating GPU-resident buffer?
I need to have an OpenCL kernel iteratively update a buffer and return the results. To clarify: Send initial buffer to contents to the kernel[详细]
2023-03-03 00:35 分类:问答Concurrent access to OpenCL kernel parameter value
I\'m working of parallel application, and I would like to ask one question, because I\'m little confuse. When I have 100 instances of kernel and I would like to sell them the value, which wi开发者_Sta[详细]
2023-03-01 20:08 分类:问答OpenCL to search array and set a flag
I\'m brand new to using OpenCL, and this seems like it should be very simple, so bear with me. I\'m writing a simple kernel to scan an array and look for a particular value.If that value is found any[详细]
2023-03-01 10:58 分类:问答