Skip to content

Commit

Permalink
Merge pull request #7 from tcpan/master
Browse files Browse the repository at this point in the history
clang and intel compiler warning fixes.
  • Loading branch information
patflick committed Mar 23, 2016
2 parents ffb95c4 + b28f936 commit 045186b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ project(mxx)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wuninitialized --std=c++11")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g -O0")
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG -msse3 -march=native -funroll-loops")
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG -march=native -funroll-loops")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELEASE} -g")

# Add these standard paths to the search paths for FIND_LIBRARY
Expand Down
2 changes: 1 addition & 1 deletion include/mxx/benchmark.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class hybrid_comm {
func(*this);
}
} else {
hybrid_comm hc(std::move(split_by_node(participate)));
hybrid_comm hc(split_by_node(participate));
if (participate) {
func(hc);
}
Expand Down

0 comments on commit 045186b

Please sign in to comment.