
nvcc is very picky regarding compiler versions, severely limiting the compiler we can use, this commit adds a nvrtc based compiler that'll allow us to build the cubins even if the host compiler is unsupported. for details see D2913. Differential Revision: http://developer.blender.org/D2913
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.