A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sed -i -e 's/\t/ /g' [sources] Please people, stop using tabs
[simgrid.git]
/
examples
/
msg
/
gpu
/
test_MSG_gpu_task_create.c
diff --git
a/examples/msg/gpu/test_MSG_gpu_task_create.c
b/examples/msg/gpu/test_MSG_gpu_task_create.c
index
7ac2c13
..
771352d
100644
(file)
--- a/
examples/msg/gpu/test_MSG_gpu_task_create.c
+++ b/
examples/msg/gpu/test_MSG_gpu_task_create.c
@@
-32,8
+32,5
@@
int main(int argc, char *argv[])
XBT_INFO("GPU task %p was created", mytask);
- if (res == MSG_OK)
- return 0;
- else
- return 1;
-} /* end_of_main */
+ return res != MSG_OK;
+}