-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This reverts commit 0dab762. Additionally replaces the JSON test case output by their description
- Loading branch information
Showing
31 changed files
with
938 additions
and
160 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,7 @@ | ||
[ | ||
{ | ||
"size": 100, | ||
"stencil": "7pt", | ||
"comm_pattern": "stencil" | ||
} | ||
] |
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,38 @@ | ||
#!/usr/bin/env python3 | ||
import test_framework | ||
|
||
# check that all input modes work: | ||
# parameter | ||
test_framework.compare_output_distributed( | ||
["-input", '[{"n": 100}]'], | ||
expected_stdout="multi_vector_distributed.simple.stdout", | ||
expected_stderr="multi_vector_distributed.simple.stderr", | ||
num_procs=3, | ||
) | ||
|
||
# stdin | ||
test_framework.compare_output_distributed( | ||
[], | ||
expected_stdout="multi_vector_distributed.simple.stdout", | ||
expected_stderr="multi_vector_distributed.simple.stderr", | ||
stdin='[{"n": 100}]', | ||
num_procs=3, | ||
) | ||
|
||
# file | ||
test_framework.compare_output_distributed( | ||
["-input", str(test_framework.sourcepath / "input.blas.json")], | ||
expected_stdout="multi_vector_distributed.simple.stdout", | ||
expected_stderr="multi_vector_distributed.simple.stderr", | ||
stdin='[{"n": 100}]', | ||
num_procs=3, | ||
) | ||
|
||
# profiler annotations | ||
test_framework.compare_output_distributed( | ||
["-input", '[{"n": 100}]', "-profile", "-profiler_hook", "debug"], | ||
expected_stdout="multi_vector_distributed.profile.stdout", | ||
expected_stderr="multi_vector_distributed.profile.stderr", | ||
stdin='[{"n": 100}]', | ||
num_procs=3, | ||
) |
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
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
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
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,9 +1,4 @@ | ||
This is Ginkgo 1.7.0 (develop) | ||
running with core module 1.7.0 (develop) | ||
Running test case | ||
{ | ||
"size": 100, | ||
"stencil": "7pt", | ||
"problem": {} | ||
} | ||
Running test case stencil(100,7pt) | ||
Matrix is of size (125, 125), 725 |
Oops, something went wrong.