Skip to content

Commit

Permalink
Adding pthread flag for HIP build
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuuichi Asahi committed Feb 2, 2024
1 parent d67ac55 commit df08e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ jobs:
docker run -v ${{github.workspace}}:/work ${{ env.container }} cmake -B build_${{matrix.backend.name}} \
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_CXX_COMPILER=${{env.CMAKE_CXX_COMPILER}} \
-DCMAKE_CXX_STANDARD=17 -DKokkos_ENABLE_HIP=ON -DKokkosFFT_INTERNAL_Kokkos=ON -DKokkos_ARCH_${{env.architecture}}=ON -DBUILD_TESTING=ON \
-DKokkosFFT_ENABLE_BENCHMARK=ON ${{matrix.backend.option}}
-DKokkosFFT_ENABLE_BENCHMARK=ON -DCMAKE_CXX_FLAGS="-pthread" ${{matrix.backend.option}}
- name: Build
# Build your program with the given configuration
Expand Down

0 comments on commit df08e96

Please sign in to comment.