Add C++14 to Makefile build system
Change-Id: I24f72b4aaca93a49877775c3d181507c83cd7f82
This commit is contained in:
@ -28,6 +28,11 @@ HIP_HOST_INCLUDE += -I./
|
|||||||
# path to hipcub
|
# path to hipcub
|
||||||
HIP_HOST_INCLUDE += -I$(HIP_PATH)/../include
|
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
|
# use mpi
|
||||||
HIP_HOST_OPTS += -DMPI_GERYON -DUCL_NO_EXIT
|
HIP_HOST_OPTS += -DMPI_GERYON -DUCL_NO_EXIT
|
||||||
# this settings should match LAMMPS Makefile
|
# this settings should match LAMMPS Makefile
|
||||||
|
|||||||
Reference in New Issue
Block a user