[FFmpeg-devel] [PATCH 1/2] build: add support for building CUDA files with clang

Timo Rothenpieler timo at rothenpieler.org
Sun Aug 4 20:23:56 EEST 2019


On 30.07.2019 09:51, Rodger Combs wrote:
> This avoids using the CUDA SDK at all; instead, we provide a minimal
> reimplementation of the basic functionality that lavfi actually uses.
> It generates very similar code to what NVCC produces.
> 
> The header contains no implementation code derived from the SDK.
> The function and type declarations are derived from the SDK only to the
> extent required to build a compatible implementation. This is generally
> accepted to qualify as fair use.
> 
> Because this option does not require the proprietary SDK, it does not require
> the "--enable-nonfree" flag in configure.

Changed configure logic to autodetect cuda-llvm and applied.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4538 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190804/2609e5fb/attachment.bin>


More information about the ffmpeg-devel mailing list