Hello,
I am trying to run the
FFT benchmark example on Ubuntu, CUDA Runtime 12.2 with the v3.8 release and am shown no complaints during compilation or linking. When linking against the afcuda backend (again, links just fine, running the fft_cuda executable in the build directory generated by cmake), I get this error when running the executable:
ArrayFire v3.8.3 (CUDA, 64-bit Linux, build 987d5675a)
Platform: CUDA Runtime 12.2, Driver: N/A
[0] NVIDIA GeForce RTX 3050 Laptop GPU, 4096 MB, CUDA Compute 8.6
terminate called after throwing an instance of 'af::exception'
what(): ArrayFire Exception (Internal error:998):
In function compileModule
In file src/backend/cuda/compile_module.cpp:289
NVRTC Error(6): NVRTC_ERROR_COMPILATION
Log:
cuda_fp16.h(4): catastrophic error: cannot open source file "vector_functions.h"
#include "vector_functions.h"
^
1 catastrophic error detected in the compilation of "4164363248796891264".
Compilation terminated.
Not sure why it says Drive: N/A, but the output of nvidia-smi is
NVIDIA-SMI 535.54.06 Driver Version: 536.40 CUDA Version: 12.2
In /usr/local/cuda/include, both cuda_fp16.h and vector_functions.h exist.
Has anyone seen something similar? Any thoughts on how to resolve this? I haven't changed any of the CMakeLists.txt files in the ArrayFire source.
Thanks for any suggestions!
Mike