X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/28e551b6fecfd104b32673d6a420fbd997f20539..5a17cc5861e95968c9d9539217185e20b13d54b0:/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 05d34bfc88..9d176fd8b6 100644
--- a/examples/msg/gpu/test_MSG_gpu_task_create.c
+++ b/examples/msg/gpu/test_MSG_gpu_task_create.c
@@ -4,6 +4,11 @@
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
+/** @addtogroup MSG_examples
+ *
+ * - gpu/test_MSG_gpu_task_create.c Example of use of the very experimental (for now) GPU resource.
+ */
+
#include
#include
#include "msg/msg.h"
@@ -19,13 +24,13 @@ int main(int argc, char *argv[])
{
MSG_error_t res = MSG_OK;
- MSG_global_init(&argc, argv);
+ MSG_init(&argc, argv);
m_gpu_task_t mytask = NULL;
mytask = MSG_gpu_task_create("testTask", 2000.0, 20.0, 20.0);
-
+ XBT_INFO("GPU task %p was created", mytask);
MSG_clean();