Questions tagged [OpenCL] (23)

0
answer

How to change the number of threads?

Good day! Just starting to learn OpenCL, so do not throw Slippers for all the stupid questions. The point is that I need to process images, for example, a size of 1024 x 768, you will need to take the following values of the number of threads: 2, 4, 6, 8, 10, 12, 16. How and where do I code to set the number of threads?
garrett.Hil asked April 1st 20 at 15:38
0
answer

How to fix error "clCreateCommandQueue is deprecated" in Visual Studio 2017?

There is a program in OpenCL 2.0. When compiling appears an error: The most popular solution is to declare at the beginning of a preprocessor macro :#define CL_USE_DEPRECATED_OPENCL_1_2_APIS #include <CL/cl.h> To me it didn't help. Later, I tried to call another one, relevant for OpenCL 2.0 feature clCreateCommandQue...
destin.Sawayn asked March 24th 20 at 11:05
0
answer

How to fix the problem in matrix multiplication in OpenCL?

Do the multiplication of two matrices in OpenCL using the vector data type. Relied on this example: https://cnugteren.github.io/tutorial/pages/page6.html. In my case, the size of the local group, DX = 8, size type vector WIDTH = 4. Multiply 2 square matrix of 16 x 16. #define DX 8 #define WIDTH 4 kernel void mul(global co...
joaquin.Volkman asked March 21st 20 at 12:47
0
answer

The problem with photoshop or what?

the problem with photoshop. so, didn't work "oil paint". looking for how to fix it. changed the video card in photoshop. the problem is not resolved. updated drivers. added in the register file 2. "butter" and not working, knocks camera raw. the rest on screen. help.
Zion_Hills97 asked March 16th 20 at 12:15
2
answers

Literature, information about DirectX 11 and OpenCL

Bought a AMD Radeon 5750, I want to feel the cards not only as user but also as a programmer. Respectively interested in information/literature on Dx11, OpenCL is something to read, what to see, what to pasupuleti. Both initial and professional level — on the one hand, of course, I'm a web developer, on the other — always i...
Lempi89 asked October 9th 19 at 23:09
4
answers

Why rarely use GLSL for GPGPU?

I want to ask the programmers a long time Musashi me (a programmer with me did not work) question. A friend once posted a topic about comparing OpenCL, CUDA, GLSL, OpenMP. In the tests conducted there the computational speed on the Radeon using GLSL was the highest. The potential of ATI graphics cards unsolved because of ne...
Burnice.Kuhlman asked October 7th 19 at 23:30
1
answer

OpenCL and complex numbers — how to make friends?

Interested in operations like multiplication/division takes a comprehensive exhibitors and such small pleasures. Bike izobretal very reluctant, and want something out of the box.
Zane98 asked October 7th 19 at 23:02
4
answers

If load OpenCL GPU? Does it somehow calculate the graphs?

Hello, dear habracha! "All my life" I thought that OpenCL is for migrating computations on the GPU and CPU, respectively, when calculating the load the video card and take up resources normally used to calculate the graphics. Yesterday for the second time to hear a second opinion: the graphics card does not load, the chart ...
Brenno asked October 3rd 19 at 08:38
3
answers

Iterative uniform sampling in multidimensional space?

There is a function from Nd parameters f(x[1], x[2], x[3],..., x[Nd]). The boundary values for each parameter. I want to iteratively calculate the values of this function so that the farther, the greater was the density of the points of the bust, at what density grew uniformly for all arguments in the whole space. In one di...
jayne_Davis asked October 3rd 19 at 06:23
0
answer

What to make OpenCLдля Kernel in C#?

Tell me, please, what to make to the kernel in OpenCL for C#, all the necessary calculation methods, including the classes in which they are located, or only call these methods?
mozell.Rosenbaum59 asked September 23rd 19 at 10:26