Mercurial > hg > GearsTemplate
changeset 536:acc80b26156b
Fix
author | Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 06 Feb 2018 02:04:02 +0900 |
parents | 093f5c25c76d |
children | b78533641f9b |
files | src/parallel_execution/examples/bitonicSort/bitonicSort.cbc src/parallel_execution/examples/twice/main.cbc |
diffstat | 2 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/parallel_execution/examples/bitonicSort/bitonicSort.cbc Tue Feb 06 00:31:16 2018 +0900 +++ b/src/parallel_execution/examples/bitonicSort/bitonicSort.cbc Tue Feb 06 02:04:02 2018 +0900 @@ -69,9 +69,6 @@ } void init(int argc, char** argv) { - if (gpu_num == 1) { - split = length/2; - } for (int i = 1; argv[i]; ++i) { if (strcmp(argv[i], "-cpu") == 0) cpu_num = (int)atoi(argv[i+1]);
--- a/src/parallel_execution/examples/twice/main.cbc Tue Feb 06 00:31:16 2018 +0900 +++ b/src/parallel_execution/examples/twice/main.cbc Tue Feb 06 02:04:02 2018 +0900 @@ -55,9 +55,6 @@ } void init(int argc, char** argv) { - if (gpu_num == 1) { - split = length; - } for (int i = 1; argv[i]; ++i) { if (strcmp(argv[i], "-cpu") == 0) cpu_num = (int)atoi(argv[i+1]);