Skip to content

Commit b9243de

Browse files
committed
[Cilk5] Removing of old PIR compilation option.
1 parent 2da3335 commit b9243de

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

cilk5/fib.c

-4
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,7 @@ int fib(int n) {
4040
/* int x = 0; */
4141
/* int y = 0; */
4242
int x, y;
43-
#ifdef PIR
44-
cilk_spawn { x = fib(n - 1); };
45-
#else
4643
x = cilk_spawn fib(n - 1);
47-
#endif
4844
y = fib(n - 2);
4945
cilk_sync;
5046

cilk5/heat.c

-5
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,7 @@ int divide(int lb, int ub, double **neww,
156156
if (ub - lb > leafmaxcol) {
157157
int _tmp;
158158
int l = 0, r;
159-
160-
#ifdef PIR
161-
cilk_spawn { l = divide(lb, (ub + lb) / 2, neww, old, mode, timestep); };
162-
#else
163159
l = cilk_spawn divide(lb, (ub + lb) / 2, neww, old, mode, timestep);
164-
#endif
165160
r = divide((ub + lb) / 2, ub, neww, old, mode, timestep);
166161
cilk_sync;
167162

0 commit comments

Comments
 (0)