Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill the gpu examples: not used, braindead
authorMartin Quinson <martin.quinson@loria.fr>
Tue, 1 Mar 2016 11:22:49 +0000 (12:22 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Tue, 1 Mar 2016 11:22:49 +0000 (12:22 +0100)
examples/msg/gpu/CMakeLists.txt [deleted file]
examples/msg/gpu/test_MSG_gpu_task_create.c [deleted file]
tools/cmake/DefinePackages.cmake

diff --git a/examples/msg/gpu/CMakeLists.txt b/examples/msg/gpu/CMakeLists.txt
deleted file mode 100644 (file)
index eb137cf..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-add_executable       (test_MSG_gpu_task_create test_MSG_gpu_task_create.c)
-target_link_libraries(test_MSG_gpu_task_create simgrid)
-
-set(examples_src
-  ${examples_src}
-  ${CMAKE_CURRENT_SOURCE_DIR}/test_MSG_gpu_task_create.c
-  PARENT_SCOPE)
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 (file)
index 07f85b9..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/* Copyright (c) 2007-2010, 2012-2015. 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
- * 
- * - <b>gpu/test_MSG_gpu_task_create.c</b> Example of use of the very experimental (for now) GPU resource. 
- */
-
-#include "simgrid/msg.h"
-
-XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test, "Messages specific for GPU msg example");
-
-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);
-
-  return res != MSG_OK;
-}
index cd343b4..ff55c1d 100644 (file)
@@ -982,7 +982,6 @@ set(CMAKEFILES_TXT
   examples/msg/energy/pstate/CMakeLists.txt
   examples/msg/energy/vm/CMakeLists.txt
   examples/msg/exception/CMakeLists.txt
   examples/msg/energy/pstate/CMakeLists.txt
   examples/msg/energy/vm/CMakeLists.txt
   examples/msg/exception/CMakeLists.txt
-  examples/msg/gpu/CMakeLists.txt
   examples/msg/gtnets/CMakeLists.txt 
   examples/msg/icomms/CMakeLists.txt
   examples/msg/io/CMakeLists.txt
   examples/msg/gtnets/CMakeLists.txt 
   examples/msg/icomms/CMakeLists.txt
   examples/msg/io/CMakeLists.txt