Skip to content

Commit

Permalink
Added another program target that will call multiple backends
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrows committed Nov 6, 2023
1 parent 26e2626 commit 68e96cc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/programs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,18 @@ foreach( prec sp dp )
)
endif()
endforeach()
ecbuild_add_executable(TARGET ectrans-benchmark-uni
SOURCES
ectrans-benchmark-program.F90
LIBS
fiat
parkind_sp
trans_sp
driver_sp
parkind_dp
trans_dp
driver_dp
)

# ectrans information tool

Expand Down
6 changes: 6 additions & 0 deletions src/trans/include/ectrans/renames.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
!#define PASTER(x,y) x ## _ ## y
!#define EVALUATOR(x,y) PASTER(x,y)
#define PASTE2(x,y) x/**/y
#define EVALUATOR(x,y) PASTE2(PASTE2(x,_),y)
#define SUFFIXIZE(fun) EVALUATOR(fun,SYMBOLSUFFIX)
#define upwind3d_gpubc SUFFIXIZE(upwind3d_gpubc)

0 comments on commit 68e96cc

Please sign in to comment.