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.
14
questions
1
vote
1
answer
98
views
Path tracing - colors/shadows sharper than they should be
Problem description
When comparing Cornell Box image generated by my path tracer I noticed that colors are much more sharp/saturated (don't know specific term) than they should be. Comparison (on the ...
1
vote
0
answers
76
views
parallelizing a software rasterizer algorithm using opencl
I've written a small software rasterizer using OpenCL and would like to optimize and parallelize it more, currently I'm scanning the whole screen and see if the triangle overlaps with the pixels..
I ...
0
votes
0
answers
145
views
How to achieve higher FPS for my GPU pathtracer?
So I've written a GPU based pathtracer using OpenCL-GL interoperability. The system uses the Mega-Kernel Approach instead of a wavefront one as I was aiming it as an educational software for other ...
0
votes
0
answers
165
views
Projecting one Quadratic Bezier Curve Onto Another
I'm working on improving an open source rasterization library called Gudni that I started a few years ago. It's source repository and the branch I'm currently working on are here:
https://github.com/...
1
vote
0
answers
59
views
Why cache working set per multiprocessor for texture memory in Nvidia has a variable size?
I saw it here https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#features-and-technical-specifications__technical-specifications-per-compute-capability , I don't know if it also happens ...
2
votes
1
answer
883
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
1
answer
1k
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
1
answer
5k
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
1
answer
674
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 ...
5
votes
1
answer
216
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
1
answer
5k
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
1
answer
529
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 ...
7
votes
2
answers
18k
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:
...
19
votes
1
answer
6k
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 ...