Skip to content

Commit

Permalink
EAMxx: fix compilation error on CUDA
Browse files Browse the repository at this point in the history
  • Loading branch information
bartgol committed Jan 20, 2025
1 parent 2dad305 commit e6059a5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions components/eamxx/src/share/grid/remap/iop_remapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@ class IOPRemapper : public AbstractRemapper
int col_lid = -1;
};

// CUDA requires the parent fcn of a KOKKOS_LAMBDA to have public access
#ifndef EAMXX_ENABLE_GPU
protected:
#endif
void setup_closest_col_info (const Real lat, const Real lon);
protected:

void registration_ends_impl () override;

Expand Down

0 comments on commit e6059a5

Please sign in to comment.