[FFmpeg-devel] Unable to use sqrt() and exp() in CUDA
Dylan Fernando
dylanf123 at gmail.com
Sat Jun 26 16:35:32 EEST 2021
I can't seem to be able to use exp() and sqrt() in CUDA.
I get:
NVCC libavfilter/try_cuda.ptx
clang-11: warning: Unknown CUDA version. cuda.h: CUDA_VERSION=11030.
Assuming the latest supported version 10.1 [-Wunknown-cuda-version]
libavfilter/try_cuda.cu:39:19: error: use of undeclared identifier 'exp'
float g = exp(f);
Regards,
Dylan
More information about the ffmpeg-devel
mailing list