jan-van-bergen / GPU-Raytracer

GPU Raytracer from scratch in C++/CUDA
MIT License
837 stars 47 forks source link

Allocators #32

Closed jan-van-bergen closed 2 years ago

jan-van-bergen commented 2 years ago

Abstraction for different memory allocation strategies. This allows e.g. the TLAS Array<BVHNode> to use CUDA pinned memory to avoid an additional copy when uploading to the GPU.

Implemented Allocators: