General: Add OpenMP backend by stotko · Pull Request #32 · stotko/stdgpu (original) (raw)
In #31 a backend system has been implemented. As thrust actually supports three different backends, i.e. CUDA, OpenMP, and TBB, we can actually also support and add any of them. Implement a backend for OpenMP to improve portability and usability across different platforms and devices.
This backend is currently considered a fallback solution for use cases where no CUDA-capable GPU is available and, hence, the CPU can be used as the target device. The CUDA backend is still the recommended (default) solution.