Add C++14 to Makefile build system

Change-Id: I24f72b4aaca93a49877775c3d181507c83cd7f82
This commit is contained in:
Nick Curtis
2022-04-07 17:54:20 -04:00
parent ab0e5d5568
commit 77565add6e

View File

@ -28,6 +28,11 @@ HIP_HOST_INCLUDE += -I./
# path to hipcub
HIP_HOST_INCLUDE += -I$(HIP_PATH)/../include
ifeq (amd,$(HIP_PLATFORM))
# newer version of ROCm (5.1+) require c++14 for rocprim
HIP_OPTS += -std=c++14
endif
# use mpi
HIP_HOST_OPTS += -DMPI_GERYON -DUCL_NO_EXIT
# this settings should match LAMMPS Makefile