cuFFT with github actions


I was wondering if anyone has had experienced getting cuFFT to work with Github Actions CI.

I’m getting an error that cuFFtXt.h cannot be found: (Log can be found here)

This is despite installing cuda and setting my path variables correctly, as seen below (I think, anyway): my test file can be found here:

sudo apt-get update -qq
sudo apt-get install -qq software-properties-common
wget -nv
sudo mv /etc/apt/preferences.d/cuda-repository-pin-600
sudo apt-key adv --fetch-keys
sudo add-apt-repository "deb /"
sudo apt-get update -qq
sudo apt-get install -qq cuda-compiler-11.6

export CUDA_PATH=/usr/local/cuda
export CUDA=/usr/local/cuda

export PATH="$CUDA_PATH/bin:$PATH"

My main.yml file can also be found here in case it’s helpful.

Might anyone have any idea what I’m doing wrong? Any input would be much appreciated!

Thank you so much in advance for the help!

I have resolved this. I was installing cuda-compiler (which doesn’t have cuFFT), when I needed to be installing cuda-toolkit.