Skip to content
Snippets Groups Projects
Commit 01994c93 authored by Ridley Combs's avatar Ridley Combs Committed by Timo Rothenpieler
Browse files

build: add support for building CUDA files with clang


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.

Signed-off-by: default avatarTimo Rothenpieler <timo@rothenpieler.org>
parent ad97be9f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment