OpenCL GPGPU Brep Raytracing

From BRL-CAD
Revision as of 17:29, 6 April 2019 by Vasco.costa (talk | contribs) (Created page with "While there is existing ANSI C/C++ code for [Brep|https://en.wikipedia.org/wiki/Boundary_representation] in BRL-CAD it is not GPU parallel. Porting it to the GPU with OpenCL s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

While there is existing ANSI C/C++ code for [Brep|https://en.wikipedia.org/wiki/Boundary_representation] in BRL-CAD it is not GPU parallel. Porting it to the GPU with OpenCL should be rather complex because much of this code is written in object oriented C++.


So the first task you should make to start an OpenCL port of this is to make a simplified version of the code which uses strict ANSI C. Alternative you can also look into incorporating SYCL for the Brep code. SYCL is a GPU parallel language based on C++ which should be possible to interface with OpenCL.