X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ae8140f19db6cb86f753e32499eab49190846d1f..8eb709505a711f2ca9074a7804129b8a45ce4742:/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 883f035c04..c968e89ff9 100644 --- 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-2014. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -22,17 +22,15 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test, /** 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; + msg_gpu_task_t mytask = NULL; 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;