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
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_vcluster
Commits
b95ab401
Commit
b95ab401
authored
Feb 25, 2016
by
Pietro Incardona
Browse files
Small fixes
parent
be8c849c
Changes
3
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
b95ab401
...
...
@@ -17,7 +17,18 @@ m4_ifdef([AX_BOOST_IOSTREAMS],,[m4_include([m4/ax_boost_iostreams.m4])])
m4_ifdef([AX_BOOST_PROGRAM_OPTIONS],,[m4_include([m4/ax_boost_program_options.m4])])
m4_ifdef([AX_BOOST_UNIT_TEST_FRAMEWORK],,[m4_include([m4/ax_boost_unit_test_framework.m4])])
CXXFLAGS+=" --std=c++11 -march=native -mtune=native -Wno-unused-local-typedefs -Wextra -Wno-unused-parameter "
case $host_os in
*cygwin*)
# Do something specific for cygwin
CXXFLAGS+=" --std=gnu++11 "
;;
*)
#Default Case
CXXFLAGS+=" --std=c++11 "
;;
esac
CXXFLAGS+=" -march=native -mtune=native -Wno-unused-local-typedefs -Wextra -Wno-unused-parameter "
NVCCFLAGS=" "
INCLUDES_PATH=" "
...
...
src/Makefile.am
View file @
b95ab401
...
...
@@ -13,7 +13,7 @@ libvcluster_a_CXXFLAGS = $(INCLUDES_PATH) $(BOOST_CPPFLAGS)
libvcluster_a_CFLAGS
=
nobase_include_HEADERS
=
MPI_wrapper/MPI_IallreduceW.hpp MPI_wrapper/MPI_IrecvW.hpp MPI_wrapper/MPI_IsendW.hpp MPI_wrapper/MPI_util.hpp MPI_wrapper/MPI_IAllGather.hpp
\
VCluster.hpp VCluster_object.hpp
\
VCluster_semantic.ipp
VCluster.hpp VCluster_object.hpp
\
util/Vcluster_log.hpp
.cu.o
:
...
...
src/VCluster.hpp
View file @
b95ab401
...
...
@@ -298,6 +298,16 @@ public:
#endif
/*! \brief Get the MPI_Communicator (or processor group) this VCluster is using
*
* \return MPI comunicator
*
*/
MPI_Comm
getMPIComm
()
{
return
MPI_COMM_WORLD
;
}
//! Get the total number of processing units
size_t
getProcessingUnits
()
{
...
...
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