Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argupta
openfpm_vcluster
Commits
b944b2aa
Commit
b944b2aa
authored
Nov 06, 2018
by
Pietro Incardona
Browse files
Fixing MPI with cuda compilation
parent
9da8b3c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
b944b2aa
...
...
@@ -10,6 +10,7 @@ add_library(vcluster STATIC VCluster/VCluster.cpp)
if
(
CUDA_FOUND
)
target_compile_options
(
vcluster_test PUBLIC $<$<COMPILE_LANGUAGE:CUDA>:-Xcudafe
"--display_error_number --diag_suppress=2885 --diag_suppress=2887 --diag_suppress=2888 --diag_suppress=186 --diag_suppress=111"
--expt-extended-lambda>
)
target_include_directories
(
pdata PUBLIC
${
MPI_C_INCLUDE_DIRS
}
)
endif
()
target_include_directories
(
vcluster_test PUBLIC
${
CUDA_INCLUDE_DIRS
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment