projects
/
cdsspec-compiler.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
save more
[cdsspec-compiler.git]
/
benchmark
/
chase-lev-deque-bugfix
/
main.c
diff --git
a/benchmark/chase-lev-deque-bugfix/main.c
b/benchmark/chase-lev-deque-bugfix/main.c
index 481f3da59994833291cbf8b1e181b604ebc2e9a3..786aa3c9e975a6b013886887b3d375a98ba68560 100644
(file)
--- a/
benchmark/chase-lev-deque-bugfix/main.c
+++ b/
benchmark/chase-lev-deque-bugfix/main.c
@@
-14,6
+14,7
@@
int b;
int c;
static void task(void * param) {
int c;
static void task(void * param) {
+ //a=steal(q);
a=steal(q);
}
a=steal(q);
}
@@
-33,7
+34,7
@@
int user_main(int argc, char **argv)
b=take(q);
c=take(q);
thrd_join(t);
b=take(q);
c=take(q);
thrd_join(t);
-
+/*
bool correct=true;
if (a!=1 && a!=2 && a!=4 && a!= EMPTY)
correct=false;
bool correct=true;
if (a!=1 && a!=2 && a!=4 && a!= EMPTY)
correct=false;
@@
-45,7
+46,8
@@
int user_main(int argc, char **argv)
correct=false;
if (!correct)
printf("a=%d b=%d c=%d\n",a,b,c);
correct=false;
if (!correct)
printf("a=%d b=%d c=%d\n",a,b,c);
- MODEL_ASSERT(correct);
+ */
+ //MODEL_ASSERT(correct);
return 0;
}
return 0;
}