OSL can now be compiled to PTX: https://github.com/imageworks/OpenShadingLanguage/commit/6f611fc0092608dbfb2d1583f0e4a2015b4f8e03 Test suite looks like it’s OptiX, but odds are it could be useful inside Cycles too. -Stefan