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
Update copyright notices
[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
883f035
..
7ac2c13
100644
(file)
--- a/
examples/msg/gpu/test_MSG_gpu_task_create.c
+++ b/
examples/msg/gpu/test_MSG_gpu_task_create.c
@@
-1,4
+1,4
@@
-/* Copyright (c) 2007
, 2008, 2009, 2010
. The SimGrid Team.
+/* Copyright (c) 2007
-2010, 2012-2015
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-11,7
+11,7
@@
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
-#include "
msg
/msg.h"
+#include "
simgrid
/msg.h"
#include "xbt/log.h"
#include "xbt/asserts.h"
#include "xbt/log.h"
#include "xbt/asserts.h"
@@
-22,17
+22,15
@@
XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test,
/** Main function */
int main(int argc, char *argv[])
{
/** Main function */
int main(int argc, char *argv[])
{
-
MSG
_error_t res = MSG_OK;
+
msg
_error_t res = MSG_OK;
- MSG_
global_
init(&argc, argv);
+ MSG_init(&argc, argv);
- m_gpu_task_t mytask = NULL;
+ m
sg
_gpu_task_t mytask = NULL;
mytask = MSG_gpu_task_create("testTask", 2000.0, 20.0, 20.0);
mytask = MSG_gpu_task_create("testTask", 2000.0, 20.0, 20.0);
-
-
- MSG_clean();
+ XBT_INFO("GPU task %p was created", mytask);
if (res == MSG_OK)
return 0;
if (res == MSG_OK)
return 0;