opencl
printing cl_uint
I\'m taking my first steps in OpenCL programming. I like it very much. But I now have a small problem, I want to get solved. I\'m trying to get the clock speeds of my CPU and GPU, using clGetDeviceInf[详细]
2023-04-13 08:17 分类:问答OpenCL distribution
I\'m currently developing an OpenCL-application for a very heterogeneous set of computers (using JavaCL to be specific). In order to maximize performance I want to use a GPU if it\'s available otherwi[详细]
2023-04-12 22:03 分类:问答OpenCL - Impact of barrier on performance
In OpenCL, all the threads need to compute few common values. Which of the following tw开发者_StackOverflow社区o cases is faster?[详细]
2023-04-12 15:32 分类:问答In OpenCL, what does mem_fence() do, as opposed to barrier()?
Unlike barrier() (which I think I understand), mem_fence() does not affect all items in the work group.The OpenCL spec says (section 6.11.10), for mem_fence():[详细]
2023-04-11 17:58 分类:问答opencl c file fails to compile
Question: What is missing from this function/kernel declaration that is keeping it from compiling? Info:[详细]
2023-04-11 16:08 分类:问答Why can't I copy data in a struct to an openCL cl_mem buffer correctly?
OK, so I have isolated this down to a very specific problem. I was under the impression you could pass OpenCL any type of data in an array buffer; ints, chars, your own custom structs, as long as it[详细]
2023-04-11 09:26 分类:问答OpenCL undefined reference but lib files in the right place
I have encountered a strange problem while setting up my PC (Win 7 Ultimate 64 CPU AMD/ GPU AMD) for our current Projekt which requires OpenCL.[详细]
2023-04-10 13:48 分类:问答OpenCL built-in function 'select'
It\'s not clear for me what is a purpose of built-in OpenCL function select. Can somebody, please, clarify?[详细]
2023-04-10 12:53 分类:问答How To Structure Large OpenCL Kernels?
I have worked with OpenCL on a couple of projects, but have always written the kernel 开发者_运维百科as one (sometimes rather large) function.Now I am working on a more complex project and would like[详细]
2023-04-10 04:07 分类:问答Using a global_work_offset in clEnqueueNDRangeKernel
I have a global work size of 1000 but i want only to execute the kernel from 200 to 1000. size_t global_work_size = 1000;[详细]
2023-04-09 17:48 分类:问答