Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test OpenCL #94

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build and test accuracy

on:
push

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get dependencies
run: |
sudo apt -y update
sudo apt -y install build-essential cmake libfftw3-dev libpocl-dev opencl-headers \
pocl-opencl-icd ocl-icd-opencl-dev
- name: Build and test OpenCl
run: |
mkdir build
cd build
cmake .. -DVKFFT_BACKEND=3 -Dbuild_VkFFT_FFTW_precision=ON \
-DFFTW_LIB=/usr/lib/x86_64-linux-gnu/libfftw3.so \
-DOpenCL_LIBRARY=/usr/lib/x86_64-linux-gnu/libOpenCL.so
make
./Vulkan_FFT -h
./Vulkan_FFT -benchmark_vkfft -X 256
#./Vulkan_FFT -vkfft 11
#./Vulkan_FFT -vkfft 14
#./Vulkan_FFT -vkfft 15