cmake: add GPU into to summary

This commit is contained in:
Christoph Junghans 2018-05-10 12:36:09 -06:00
parent 6336c3b975
commit 843f89fc92
1 changed files with 8 additions and 0 deletions

View File

@ -809,3 +809,11 @@ message(STATUS "Link libraries: ${LAMMPS_LINK_LIBS}")
if(BUILD_MPI)
message(STATUS "Using mpi with headers in ${MPI_C_INCLUDE_PATH} and ${MPI_CXX_LIBRARIES}")
endif()
if(ENABLED_GPU)
message(STATUS "GPU Api: ${GPU_API}")
if(GPU_API STREQUAL "CUDA")
message(STATUS "GPU Arch: ${GPU_ARCH}")
elseif(GPU_API STREQUAL "OpenCL")
message(STATUS "OCL Tune: ${OCL_TUNE}")
endif()
endif()