Skip to content

Commit e6059a5

Browse files
committed
EAMxx: fix compilation error on CUDA
1 parent 2dad305 commit e6059a5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

components/eamxx/src/share/grid/remap/iop_remapper.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,12 @@ class IOPRemapper : public AbstractRemapper
3232
int col_lid = -1;
3333
};
3434

35+
// CUDA requires the parent fcn of a KOKKOS_LAMBDA to have public access
36+
#ifndef EAMXX_ENABLE_GPU
37+
protected:
38+
#endif
3539
void setup_closest_col_info (const Real lat, const Real lon);
40+
protected:
3641

3742
void registration_ends_impl () override;
3843

0 commit comments

Comments
 (0)