diff options
Diffstat (limited to 'src/slab.cc')
-rw-r--r-- | src/slab.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/slab.cc b/src/slab.cc index 037c298..17ddb0c 100644 --- a/src/slab.cc +++ b/src/slab.cc @@ -74,13 +74,14 @@ using namespace std; #endif -namespace Slab { static int timer_init = -1; static int timer_copy_in = -1; static int timer_xfer = -1; static int timer_copy_back = -1; + + extern "C" void Slab_InitTimers (CCTK_ARGUMENTS) @@ -1776,5 +1777,3 @@ Slab_Transfer (cGH const * restrict const cctkGH, return Slab_MultiTransfer (cctkGH, dim, xferinfo, options, nvars, srctypes, srcptrs, dsttypes, dstptrs); } - -} // namespace Slab |