Skip to content

Commit

Permalink
Merge pull request #181 from ndellingwood/fix-pragma-error
Browse files Browse the repository at this point in the history
Fix pragma error with gcc/4.8.4
  • Loading branch information
ndellingwood authored Mar 15, 2018
2 parents e0eb1b5 + ea7e0c8 commit ef39d9a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/blas/impl/KokkosBlas3_gemm_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,13 @@ void impl_team_gemm_block(const TeamHandle& team, const ViewTypeC& C, const View
#if defined(__CUDA_ARCH__) || !defined(KOKKOS_ENABLE_OPENMP)
Kokkos::parallel_for(Kokkos::ThreadVectorRange(team,blockB1/4), [&] (const int B_j) {
#else
#if defined(KOKKOS_COMPILER_GNU)
#if (KOKKOS_COMPILER_GNU > 485 )
#pragma omp simd
#endif
#else
#pragma omp simd
#endif
for(int B_j=0; B_j<blockB1/4; B_j++) {
#endif
ScalarC C_ij0 = 0;
Expand Down

0 comments on commit ef39d9a

Please sign in to comment.