X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c2c89401822ce6edf5d891533da3c77d633186ac..2b0fdad05829ed0e11c0a9a4edda0426561424c5:/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 deleted file mode 100644 index 88109c99c9..0000000000 --- a/examples/msg/gpu/test_MSG_gpu_task_create.c +++ /dev/null @@ -1,41 +0,0 @@ -/* Copyright (c) 2007, 2008, 2009, 2010. The SimGrid Team. - * All rights reserved. */ - -/* 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" -#include "xbt/log.h" -#include "xbt/asserts.h" - -XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test, - "Messages specific for GPU msg example"); - - -/** Main function */ -int main(int argc, char *argv[]) -{ - MSG_error_t res = MSG_OK; - - MSG_init(&argc, argv); - - 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 - return 1; -} /* end_of_main */