-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #295 from ludwig-cf/feature-293-amd
Feature 293 amd
- Loading branch information
Showing
52 changed files
with
3,652 additions
and
3,672 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
############################################################################## | ||
# | ||
# epcc-archer2-hipcc.mk | ||
# | ||
# ROCM 5.2.3. | ||
# | ||
# module load PrgEnv-amd | ||
# | ||
# -fgpu-rdc is equivalent of nvcc -dc for relocatable device code | ||
# [allows multiple translation units] | ||
# --hip-link required at link time | ||
# | ||
############################################################################## | ||
|
||
BUILD = parallel | ||
MODEL = -D_D3Q19_ | ||
TARGET = hipcc | ||
|
||
CFLAGS_EXTRA = -mllvm -amdgpu-early-inline-all=true -mllvm -amdgpu-function-calls=false | ||
|
||
CC = cc | ||
|
||
CFLAGS = -x hip -fgpu-rdc -O2 -DADDR_SOA $(CFLAGS_EXTRA) --offload-arch=gfx90a | ||
|
||
AR = ar | ||
ARFLAGS = -cr | ||
LDFLAGS = -fgpu-rdc --hip-link --offload-arch=gfx90a | ||
|
||
MPI_HOME = | ||
MPI_INC_PATH = | ||
MPI_LIB_PATH = -L${HIP_LIB_PATH} -lamdhip64 | ||
|
||
LAUNCH_SERIAL_CMD = | ||
LAUNCH_MPIRUN_CMD = | ||
MPIRUN_NTASK_FLAG = | ||
|
Oops, something went wrong.