diff options
author | Christoph Junghans <junghans@votca.org> | 2017-03-19 17:24:00 -0600 |
---|---|---|
committer | Christoph Junghans <junghans@votca.org> | 2017-03-19 17:24:00 -0600 |
commit | 73c363b51120fc5ab565abbb9b04a60e9952bef5 (patch) | |
tree | 3d5943ecd7e41d40af6338ee60d8efc02284edc8 /legion/232.patch | |
parent | 064fca69a2007734278b9d149a3a0f06bb707d24 (diff) | |
download | fedora-review-73c363b51120fc5ab565abbb9b04a60e9952bef5.tar.gz fedora-review-73c363b51120fc5ab565abbb9b04a60e9952bef5.tar.xz fedora-review-73c363b51120fc5ab565abbb9b04a60e9952bef5.zip |
legion: fixed tests
Diffstat (limited to 'legion/232.patch')
-rw-r--r-- | legion/232.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/legion/232.patch b/legion/232.patch new file mode 100644 index 0000000..c7bf2a2 --- /dev/null +++ b/legion/232.patch @@ -0,0 +1,22 @@ +From f53cbeec3d0d7dc370d83ca4450663f3e4b64e59 Mon Sep 17 00:00:00 2001 +From: Christoph Junghans <junghans@lanl.gov> +Date: Sun, 19 Mar 2017 08:24:37 -0600 +Subject: [PATCH] Realm::get_bd_sibling_id: fix return for single thread + +Fixes #230 +--- + runtime/realm/threads.cc | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/runtime/realm/threads.cc b/runtime/realm/threads.cc +index 2e56039..73d90c3 100644 +--- a/runtime/realm/threads.cc ++++ b/runtime/realm/threads.cc +@@ -1343,6 +1343,7 @@ namespace Realm { + f = fopen(str, "r"); + if(!f) { + std::cout << "can't read '" << str << "' - skipping"; ++ return -1; + } + int sib_core_id; + int count = fscanf(f, "%d", &sib_core_id); |