Update Kokkos library in LAMMPS to v3.3.0
This commit is contained in:
@ -2,11 +2,8 @@
|
||||
KOKKOS_INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
|
||||
KOKKOS_INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
IF (Kokkos_ENABLE_CXX11)
|
||||
# This is a tutorial, not a test, so we don't ask CTest to run it.
|
||||
KOKKOS_ADD_EXECUTABLE(
|
||||
tutorial_03_simple_view_lambda
|
||||
SOURCES simple_view_lambda.cpp
|
||||
COMM serial mpi
|
||||
)
|
||||
ENDIF ()
|
||||
# This is a tutorial, not a test, so we don't ask CTest to run it.
|
||||
KOKKOS_ADD_EXECUTABLE(
|
||||
tutorial_03_simple_view_lambda
|
||||
SOURCES simple_view_lambda.cpp
|
||||
)
|
||||
|
||||
@ -24,15 +24,6 @@ EXE = 03_simple_view_lambda.host
|
||||
KOKKOS_DEVICES = "OpenMP"
|
||||
KOKKOS_ARCH = "SNB"
|
||||
endif
|
||||
ifneq (,$(findstring ROCm,$(KOKKOS_DEVICES)))
|
||||
CXX = /opt/rocm/hcc/bin/clang++
|
||||
CXXFLAGS = -O3
|
||||
LINK = ${CXX}
|
||||
LDFLAGS =
|
||||
EXE = 03_simple_view_lambda.rocm
|
||||
KOKKOS_DEVICES = "ROCm"
|
||||
KOKKOS_ARCH = "Fiji"
|
||||
endif
|
||||
|
||||
|
||||
DEPFLAGS = -M
|
||||
@ -51,7 +42,7 @@ $(EXE): $(OBJ) $(KOKKOS_LINK_DEPENDS)
|
||||
$(LINK) $(KOKKOS_LDFLAGS) $(LDFLAGS) $(EXTRA_PATH) $(OBJ) $(KOKKOS_LIBS) $(LIB) -o $(EXE)
|
||||
|
||||
clean: kokkos-clean
|
||||
rm -f *.o *.cuda *.host *.rocm
|
||||
rm -f *.o *.cuda *.host
|
||||
|
||||
# Compilation rules
|
||||
|
||||
|
||||
Reference in New Issue
Block a user