New cmake option: MPI_ENABLED. Enables MPI functions on the device layer

This commit is contained in:
jpekkila
2019-10-15 17:57:53 +03:00
parent 0d02faa5f5
commit 1ca089c163
5 changed files with 86 additions and 15 deletions

View File

@@ -29,6 +29,7 @@ option(BUILD_C_API_TEST "Builds a C program to test whether the API is c
option(BUILD_MPI_TEST "Builds a C program to test whether MPI works" OFF)
option(DOUBLE_PRECISION "Generates double precision code" OFF)
option(MULTIGPU_ENABLED "If enabled, uses all the available GPUs" ON)
option(MPI_ENABLED "Enables additional functions for MPI communciation" OFF)
## Compile the Astaroth Code Compiler
add_subdirectory(acc)