Astaroth  3.1
Scalable Multi-GPU Stencil Computations
Loading...
Searching...
No Matches
implementation.h
Go to the documentation of this file.
1#pragma once
2
3// IMPLEMENTATION : defined as acc-runtime compile option
4// MAX_THREADS_PER_BLOCK : defined as acc-runtime compile option
5
6// Implementations
7#define IMPLICIT_CACHING (1)
8#define EXPLICIT_ROLLING_PINGPONG (2)
9#define EXPLICIT_CACHING_3D_BLOCKING (3)
10#define EXPLICIT_CACHING_4D_BLOCKING (4)
11#define EXPLICIT_PINGPONG_txw (5)
12#define EXPLICIT_PINGPONG_txy (6)
13#define EXPLICIT_CACHING (7) // Old, note changed number
14 //
15#define EXPLICIT_PINGPONG_txyblocked (8)
16#define EXPLICIT_PINGPONG_txyz (9)
17
18#define EXPLICIT_ROLLING_PINGPONG_BLOCKSIZE \
19 (NUM_FIELDS <= 4 ? NUM_FIELDS : 4) // Must be less than NUM_FIELDS