Skip to content
Snippets Groups Projects
Commit 90d9acff authored by Guillaume-Helbecque's avatar Guillaume-Helbecque
Browse files

update Chapel to 2.3.0

parent f34f99e7
Branches
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ In order to compile and execute the CUDA-based code on AMD GPU architectures, we
The [chpl_config](./chpl_config/) directory contains several Chapel environment configuration scripts.
The latter can serve as templates and can be (and should be) adapted to the target system.
**Note:** The code is implemented using Chapel 2.1.0 and might not compile and run with older or newer versions.
**Note:** The code is implemented using Chapel 2.3.0 and might not compile and run with older or newer versions.
By default, the target architecture for CUDA code generation is set to `sm_70`, and to `gfx906` for AMD.
### Compilation & execution
......
2.1.0
2.3.0
......@@ -124,7 +124,7 @@ module Bound_johnson
}
// Empty record serves as comparator
record johnson_comp { }
record johnson_comp: relativeComparator { }
//(after partitioning) sorting jobs in ascending order with this comparator yield an optimal schedule for the associated 2-machine FSP [Johnson, S. M. (1954). Optimal two-and three-stage production schedules with setup times included.closed access Naval research logistics quarterly, 1(1), 61–68.]
proc johnson_comp.compare(j1, j2): int(32)
......
......@@ -325,7 +325,7 @@ proc pfsp_search(ref optimum: int, ref exploredTree: uint, ref exploredSol: uint
while (pool.size < D*m*numLocales) {
var hasWork = 0;
var parent = pool.popFront(hasWork);
var parent = pool.popFrontFree(hasWork);
if !hasWork then break;
decompose(lbound1_p, lbound2_p, parent, exploredTree, exploredSol, best, pool);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment