-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from laristra/bb_merge
GitHub version 1.1.1
- Loading branch information
Showing
15 changed files
with
717 additions
and
273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#[[ | ||
This file is part of the Ristra portage project. | ||
Please see the license file at the root of this repository, or at: | ||
https://github.com/laristra/portage/blob/master/LICENSE | ||
]] | ||
|
||
|
||
#------------------------------------------------------------------------------# | ||
# Add a rule to build the executable | ||
#------------------------------------------------------------------------------# | ||
|
||
# Msm test | ||
add_executable(msmapp msmapp.cc) | ||
target_link_libraries(msmapp portage ${EXTRA_LIBS} ${LAPACKE_LIBRARIES}) | ||
|
||
|
||
#TCMalloc option | ||
set(ENABLE_TCMALLOC TRUE CACHE BOOL "Use TCMalloc") | ||
if(ENABLE_TCMALLOC) | ||
set(TCMALLOC_LIB "${HOME}" CACHE STRING "Set the TCMalloc library") | ||
|
||
target_link_libraries(msmapp ${TCMALLOC_LIB}) | ||
endif(ENABLE_TCMALLOC) | ||
|
||
# Profiling option (to allow pausing and resuming profiling during execution) | ||
set(ENABLE_PROFILE FALSE CACHE BOOL "Enable VTune Profiling") | ||
if(ENABLE_PROFILE) | ||
set(VTUNE_INCLUDE_DIR "${HOME}" CACHE PATH "Set the locaiton of VTune include") | ||
set(VTUNE_LIB "${HOME}" CACHE STRING "Set the VTune library") | ||
|
||
include_directories(${VTUNE_INCLUDE_DIR}) | ||
|
||
target_link_libraries(msmapp ${VTUNE_LIB}) | ||
endif(ENABLE_PROFILE) | ||
|
||
|
||
#if (ENABLE_APP_TESTS) | ||
# add_subdirectory(test) | ||
#endif (ENABLE_APP_TESTS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
0. 0. 0. | ||
1. 1. 1. | ||
.2 .2 .2 | ||
.8 .8 .8 | ||
10 12 9 | ||
6 8 7 | ||
2 | ||
3 | ||
1.5 | ||
1 |
Oops, something went wrong.