Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Platform generation : add the exponential topology
[simgrid.git] / examples / msg / gpu / test_MSG_gpu_task_create.c
index 883f035c045dea99a8225bee7f671aad4186bb14..ad78f791915f930827585202f16d4e8292cb8a8f 100644 (file)
@@ -22,15 +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);
 
-
+  XBT_INFO("GPU task %p was created", mytask);
 
   MSG_clean();