Skip to content

Commit

Permalink
Compilation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit-Kakodkar committed Feb 18, 2025
1 parent e344fce commit 1ff5ffb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/parallel_configuration/chunk_config.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#pragma once

#include "constants.hpp"
#include "datatypes/simd.hpp"
#include "enumerations/dimension.hpp"
#include <Kokkos_Core.hpp>

Expand All @@ -16,10 +17,10 @@ constexpr int serial_chunk_size = 1;
#ifdef KOKKOS_ENABLE_CUDA
constexpr int storage_chunk_size = impl::cuda_chunk_size;
#elif KOKKOS_ENABLE_OPENMP
constexpr int simd_size = specfem::datatypes::simd<type_real, true>::size();
constexpr int simd_size = specfem::datatype::simd<type_real, true>::size();
constexpr int storage_chunk_size = impl::openmp_chunk_size * simd_size;
#else
constexpr int simd_size = specfem::datatypes::simd<type_real, true>::size();
constexpr int simd_size = specfem::datatype::simd<type_real, true>::size();
constexpr int storage_chunk_size = impl::serial_chunk_size * simd_size;
#endif

Expand Down

0 comments on commit 1ff5ffb

Please sign in to comment.