Skip to content

Commit

Permalink
Fixed bug by moving function definition in else (#597)
Browse files Browse the repository at this point in the history
Co-authored-by: Okke van Eck <okke.vaneck@bsc.es>
  • Loading branch information
OkkeVanEck and Okke van Eck committed Jan 12, 2024
1 parent 95fd207 commit 2054ecf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/luawid.c
Original file line number Diff line number Diff line change
Expand Up @@ -3696,14 +3696,13 @@ static int lua_likwid_finalize_rocm(lua_State *L) {

#else


#endif /* LIKWID_WITH_ROCMON */

static int lua_likwid_rocmSupported(lua_State *L) {
lua_pushboolean(L, likwid_getRocmSupport());
return 1;
}

#endif /* LIKWID_WITH_ROCMON */


#ifdef LIKWID_WITH_SYSFEATURES
static int sysfeatures_inititalized = 0;
Expand Down

0 comments on commit 2054ecf

Please sign in to comment.