Working on CUDA and OptiX versions unification