This is required for Cycles to report a meaningful error message when it fails to load a PTX module created with a newer CUDA toolkit version than the driver supports. Ref T91879
The CUDA Extension Wrangler Library (CUEW) is a cross-platform open-source C/C++ extension loading library. CUEW provides efficient run-time mechanisms for determining which CUDA functions and extensions extensions are supported on the target platform. CUDA core and extension functionality is exposed in a single header file. CUEW has been tested on a variety of operating systems, including Windows, Linux, Mac OS X. LICENSE CUEW library is released under the Apache 2.0 license.