From 4e2824add86ec6733716c25399f2f9005c6b610e Mon Sep 17 00:00:00 2001 From: Ian Bertolacci Date: Mon, 10 Dec 2018 12:58:52 -0700 Subject: [PATCH] chpl e distributed and parallelized for maximum throughput. Concurrently safe because ordering of task A printing before B (or B before A) does not change output ("ee" vs "ee"). --- e.chpl | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 e.chpl diff --git a/e.chpl b/e.chpl new file mode 100644 index 0000000..7c60117 --- /dev/null +++ b/e.chpl @@ -0,0 +1,9 @@ +coforall locale in Locales { + on locale { + coforall task_id in 0..#locale.maxTaskPar { + while( true ) { + write( "e" ); + } + } + } +}