-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d6c7853
commit 3015fd9
Showing
7 changed files
with
47 additions
and
6 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 |
---|---|---|
@@ -1,4 +1,7 @@ | ||
#ifndef __BML_H | ||
#define __BML_H | ||
|
||
#include "bml_types.h" | ||
#include "bml_allocate.h" | ||
|
||
#endif |
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,14 @@ | ||
#ifndef __BML_ALLOCATE_H | ||
#define __BML_ALLOCATE_H | ||
|
||
#include "bml_types.h" | ||
|
||
BMLMatrix * | ||
bml_identity_matrix( | ||
bml_matrix_type_t matrix_type, | ||
bml_matrix_precision_t matrix_precision, | ||
int N, | ||
int M, | ||
bml_distribution_mode_t distrib_mode); | ||
|
||
#endif |
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
include_directories(${CMAKE_SOURCE_DIR}/src) | ||
include_directories(${PROJECT_SOURCE_DIR}/src) | ||
add_executable(bml-test | ||
bml-test.cc) | ||
|
||
add_test(NAME allocate COMMAND bml-test) | ||
target_link_libraries(bml-test bml) | ||
add_test(NAME allocate | ||
COMMAND bml-test) |
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