Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [opencl]

OpenCL (Open Computing Language) is a framework for writing programs that execute across heterogeneous platforms consisting of CPUs, GPUs, DSPs, FPGAs and other processors or hardware accelerators.

0
votes
0answers
17 views

OpenCL - Kernel outputs image correctly but values don't show up on Host side

So once again it's related to my previous path tracer project. The path tracer routines are inside the kernel and for simplicity I'm just outputting a predefined color value ignoring all the lengthy ...
0
votes
1answer
68 views

OpenCL ray tracer: which is better, geometry code on device side or on host side?

I am writing a ray tracer using openCL, and following this tutorial http://raytracey.blogspot.com/2016/11/opencl-path-tracing-tutorial-2-path.html However, I find that the author has two copies of the ...
1
vote
1answer
102 views

Writing OpenCL Shaders

I want to write (fragment) shaders in OpenCL rather than GLSL. Is there a standard mechanism for this (from OpenGL, and ideally also from DirectX)? Are there any drawbacks to doing this? I also want ...
2
votes
1answer
522 views

CUDA/OpenCL vs OpenGL compute shader for Path tracer

So I want to implement a path tracer and I am confused between GPGPU computing or using OpenGL's compute shaders. I've already implemented a raytracer using GL's compute shaders. What are the main ...
1
vote
1answer
321 views

What framework shoud I use to implement the RAISR upscaling algorithm on the GPU?

I recently ran across the paper RAISR: Rapid and Accurate Image Super Resolution and thought it seemed like an interesting technique for scaling up images. However, I haven't seen any implementation ...
6
votes
1answer
176 views

What parts of unbiased path tracing pipeline can benefit from OpenCL?

After looking at a lot of existing implementations, I am currently implementing a path tracer in OpenCL. However there seems to be divergence to what parts of the pipeline can actually benefit from ...
9
votes
1answer
2k views

Compute Shader vs CUDA/OpenCL

So I just recently learned about the Compute Shader and it looks from what I have picked up the same idea as parallel programming you would do with CUDA or OpenCL, but in the shader pipeline. If I ...
11
votes
0answers
267 views

What is my GPU waiting on?

I am writing an OpenCL program for use with my AMD Radeon HD 7800 series GPU. According to AMD's OpenCL programming guide, this generation of GPU has two hardware queues that can operate ...
5
votes
2answers
9k views

OpenCL doesn't detect GPU

I installed AMD APP SDK and here my problem. The OpenCL samples do not detect the GPU. HelloWorld give me this: ...
18
votes
1answer
3k views

Why is recursion forbidden in OpenCL?

I'd like to use OpenCL to accelerate rendering of raytraced images, but I notice that the Wikipedia page claims that recursion is forbidden in Open CL. Is this true? As I make extensive use of ...