Skip to content

Commit

Permalink
Move definitions of get_last_fn and set_last_fn to imp_ferm_links.h
Browse files Browse the repository at this point in the history
  • Loading branch information
detar committed Mar 9, 2020
1 parent 0b343af commit 43a239f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 0 additions & 12 deletions include/generic_quda.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,16 +116,4 @@ static void destroy_M_quda(anti_hermitmat *momentum) {
qudaFreePinned(momentum);
}

/*
Return the most recent fermion link field passed to QUDA
(defined in generic_ks/ks_multicg_offset_gpu.c)
*/
imp_ferm_links_t* get_fn_last();

/*
Update the fermion link field passed to QUDA
(defined in generic_ks/ks_multicg_offset_gpu.c)
*/
void set_fn_last(imp_ferm_links_t *fn_last_new);

#endif /* GENERIC_QUDA_H */
12 changes: 12 additions & 0 deletions include/imp_ferm_links.h
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,18 @@ int mat_invert_multi(
imp_ferm_links_t *fn[] /* Storage for fat and Naik links */
);

/*
Return the most recent fermion link field passed to QUDA
(defined in generic_ks/ks_multicg_offset_gpu.c)
*/
imp_ferm_links_t* get_fn_last();

/*
Update the fermion link field passed to QUDA
(defined in generic_ks/ks_multicg_offset_gpu.c)
*/
void set_fn_last(imp_ferm_links_t *fn_last_new);

/* eigen_stuff*.c */

typedef struct {
Expand Down

0 comments on commit 43a239f

Please sign in to comment.