Skip to content

Commit

Permalink
chore: mv macros to include/language-support.F90
Browse files Browse the repository at this point in the history
  • Loading branch information
rouson committed Sep 26, 2024
1 parent 97e0b1f commit 222c062
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
14 changes: 14 additions & 0 deletions include/language-support.F90
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
! Copyright (c), The Regents of the University of California
! Terms of use are as specified in LICENSE.txt

#ifndef F2023_LOCALITY
#if defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 202400)
# define F2023_LOCALITY 1
#endif
#endif

#ifndef F2018_LOCALITY
#if defined(_CRAYFTN)
# define F2018_LOCALITY 1
#endif
#endif
12 changes: 1 addition & 11 deletions src/inference_engine/trainable_engine_s.F90
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
! Copyright (c), The Regents of the University of California
! Terms of use are as specified in LICENSE.txt

#ifndef F2023_LOCALITY
#if defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 202400)
# define F2023_LOCALITY 1
#endif
#endif

#ifndef F2018_LOCALITY
#if defined(_CRAYFTN)
# define F2018_LOCALITY 1
#endif
#endif
#include "language-support.F90"

submodule(trainable_engine_m) trainable_engine_s
use assert_m, only : assert
Expand Down

0 comments on commit 222c062

Please sign in to comment.