Skip to content

Commit 49368af

Browse files
committed
make alpha a config
Signed-off-by: Jade Abraham <jade.abraham@hpe.com>
1 parent c8c7056 commit 49368af

8 files changed

+8
-8
lines changed

01-heat-1D-serial.chpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use ImageUtils;
22

33
config const nx = 100000;
44
config const N = 10000;
5-
const alpha = 0.1;
5+
config const alpha = 0.1;
66

77
const omega = {0..<nx},
88
omegaHat = omega.expand(-1);

02-heat-1D-buggy.chpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use ImageUtils;
22

33
config const nx = 100000;
44
config const N = 10000;
5-
const alpha = 0.1;
5+
config const alpha = 0.1;
66

77
const omega = {0..<nx},
88
omegaHat = omega.expand(-1);

03-heat-1D.chpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use ImageUtils;
22

33
config const nx = 100000;
44
config const N = 10000;
5-
const alpha = 0.1;
5+
config const alpha = 0.1;
66

77
const omega = {0..<nx},
88
omegaHat = omega.expand(-1);

06-heat-1D-gpu.chpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
config const nx = 100000;
22
config const N = 10000;
3-
const alpha = 0.1;
3+
config const alpha = 0.1;
44

55
on here.gpus[0] {
66
const omega = {0..<nx},

07-heat-1D-block.chpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use ImageUtils;
33

44
config const nx = 100000;
55
config const N = 10000;
6-
const alpha = 0.1;
6+
config const alpha = 0.1;
77

88
const omega = blockDist.createDomain({0..<nx}),
99
omegaHat = omega.expand(-1);

08-heat-2D.chpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use ImageUtils;
33
config const nx = 1000;
44
config const ny = 1000;
55
config const N = 10000;
6-
const alpha = 0.1;
6+
config const alpha = 0.1;
77

88
const omega = {0..<nx, 0..<ny},
99
omegaHat = omega.expand(-1);

09-heat-2D-block.chpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use ImageUtils;
44
config const nx = 1000;
55
config const ny = 1000;
66
config const N = 10000;
7-
const alpha = 0.1;
7+
config const alpha = 0.1;
88

99
const omega = blockDist.createDomain(0..<nx, 0..<ny),
1010
omegaHat = omega.expand(-1);

10-heat-2D-stencil.chpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use ImageUtils;
44
config const nx = 1000;
55
config const ny = 1000;
66
config const N = 10000;
7-
const alpha = 0.1;
7+
config const alpha = 0.1;
88

99
const omega = stencilDist.createDomain(0..<nx, 0..<ny),
1010
omegaHat = omega.expand(-1);

0 commit comments

Comments
 (0)