[FFmpeg-devel] Unable to use sqrt() and exp() in CUDA

Timo Rothenpieler timo at rothenpieler.org
Sun Jun 27 15:00:15 EEST 2021


On 27.06.2021 18:42, Dylan Fernando wrote:
> Yeah, I was using enable-cuda-llvm.
> 
> I haven't been including cuda.h in my cuda file. Could it be from the
> include in hwcontext_cuda.h possibly? I was using:

Are you including hwcontext_cuda.h in your Kernel Code?
That's a C side file. You shouldn't really need to include anything at 
all in your kernel code, except for potential own .cuh headers.

Did you look at the existing CUDA filters for reference?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4494 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210627/2ea3229b/attachment.bin>


More information about the ffmpeg-devel mailing list