X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1dfb07cf0cdd0fa60566082c54a9612f836c5375..aa192f6d7ece3eefc304338f852824cc15be6909:/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 a490f15c67..29362af2b3 100644 --- a/examples/msg/gpu/test_MSG_gpu_task_create.c +++ b/examples/msg/gpu/test_MSG_gpu_task_create.c @@ -22,18 +22,16 @@ 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); XBT_INFO("GPU task %p was created", mytask); - MSG_clean(); - if (res == MSG_OK) return 0; else