... | @@ -40,6 +40,8 @@ OBJDIR=./obj/ |
... | @@ -40,6 +40,8 @@ OBJDIR=./obj/ |
|
BINDIR=./
|
|
BINDIR=./
|
|
|
|
|
|
# COMPILER FLAGS
|
|
# COMPILER FLAGS
|
|
|
|
# You may need to add also info about the platform
|
|
|
|
# and path to HIP include files for C compiler
|
|
CFLAGS=-D__HIP_PLATFORM_AMD__ -I$(HIP_PATH)/include
|
|
CFLAGS=-D__HIP_PLATFORM_AMD__ -I$(HIP_PATH)/include
|
|
# NVCCFLAGS= commented intentionally, it is replaced by HIPCCFLAGS below
|
|
# NVCCFLAGS= commented intentionally, it is replaced by HIPCCFLAGS below
|
|
HIPCCFLAGS=-std=c++14 --offload-arch=gfx90a
|
|
HIPCCFLAGS=-std=c++14 --offload-arch=gfx90a
|
... | | ... | |