Last change
on this file since 748877f was
b2fa3c2,
checked in by Peter A. Buhr <pabuhr@…>, 18 months ago
|
fix comments referring to concurrency directory
|
-
Property mode set to
100644
|
File size:
647 bytes
|
Rev | Line | |
---|
[93b8cf4] | 1 | // |
---|
| 2 | // Cforall Version 1.0.0 Copyright (C) 2022 University of Waterloo |
---|
| 3 | // |
---|
| 4 | // The contents of this file are covered under the licence agreement in the |
---|
| 5 | // file "LICENCE" distributed with Cforall. |
---|
| 6 | // |
---|
[b2fa3c2] | 7 | // gen_generation_expect.cfa -- simple 'script' generates the expect file for concurrency/barrier/generation |
---|
[93b8cf4] | 8 | // |
---|
| 9 | // Author : Thierry Delisle |
---|
| 10 | // Created On : Thu Mar 31 16:44:43 2022 |
---|
| 11 | // Last Modified By : |
---|
| 12 | // Last Modified On : |
---|
| 13 | // Update Count : |
---|
| 14 | // |
---|
| 15 | |
---|
| 16 | |
---|
| 17 | #include <fstream.hfa> |
---|
| 18 | |
---|
| 19 | int NUM_THREADS = 9; |
---|
| 20 | int NUM_LAPS = 53; |
---|
| 21 | |
---|
| 22 | int main() { |
---|
| 23 | |
---|
| 24 | for(NUM_LAPS) |
---|
| 25 | for(c; 'A' ~= 'Z') { |
---|
| 26 | for(NUM_THREADS) { |
---|
| 27 | sout | c | nonl; |
---|
| 28 | } |
---|
| 29 | } |
---|
| 30 | sout | nl; |
---|
[b2fa3c2] | 31 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.