CUDA pathtracer