[FFmpeg-devel] Unable to use sqrt() and exp() in CUDA
Dylan Fernando
dylanf123 at gmail.com
Sun Jun 27 19:42:02 EEST 2021
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:
PKG_CONFIG_PATH="/home/dylan/Files/nv-codec-headers" ./configure
--enable-opencl --enable-vulkan --enable-libglslang --disable-stripping
--enable-nonfree --enable-cuda-llvm
--extra-cflags=-I/opt/local/cuda/include --nvccflags="--cuda-gpu-arch=sm_52
-O2"
When I use nvcc, I don't seem to get the cuda.h error.
Thanks,
Dylan
More information about the ffmpeg-devel
mailing list