Synodic-Software / Soul-Engine

Physically based renderer and simulation engine for real-time applications.
GNU General Public License v3.0
42 stars 24 forks source link

Abstract Kernel Function Pointers #131

Open Behemyth opened 6 years ago

Behemyth commented 6 years ago

Kernels are attached to a templated in a function called Launch that then delegates them to a CUDA or OpenCL launch. The pointer itself is a CUDA feature and will be different for OpenCL.