We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
You can build and run clFFT on ROCM software stack.
sudo apt-get install rocm opencl-rocm-dev
You will get a folder /opt/rocm/opencl.
/opt/rocm/opencl
setting environment variable is recommended export OPENCL_ROOT=/opt/rocm/opencl
export OPENCL_ROOT=/opt/rocm/opencl
On the cmake-gui or ccmake, point "OPENCL_INCLUDE_DIRS" to "/opt/rocm/opencl" & "OPENCL_LIBRARIES" to "/opt/rocm/opencl/lib/x86_64/libOpenCL.so"
OPENCL_INCLUDE_DIRS
OPENCL_LIBRARIES
/opt/rocm/opencl/lib/x86_64/libOpenCL.so
Add your build clFFT.so into environment variable. On my machine it is like: export LD_LIBRARY_PATH=~/FFT/clFFT_BUILD/library/:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH=~/FFT/clFFT_BUILD/library/:${LD_LIBRARY_PATH}
Solution: this library is build by clFFT, too. Copy from ${MY_CLFFT_BUILD_DIR}/StatTimer/ and paste it into this same directory as your executable.