CUDA C implementation of pbrt