From: Martin Quinson Date: Tue, 1 Mar 2016 11:22:49 +0000 (+0100) Subject: kill the gpu examples: not used, braindead X-Git-Tag: v3_13~601 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/2b0fdad05829ed0e11c0a9a4edda0426561424c5 kill the gpu examples: not used, braindead --- diff --git a/examples/msg/gpu/CMakeLists.txt b/examples/msg/gpu/CMakeLists.txt deleted file mode 100644 index eb137cf86a..0000000000 --- a/examples/msg/gpu/CMakeLists.txt +++ /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 index 07f85b9f43..0000000000 --- a/examples/msg/gpu/test_MSG_gpu_task_create.c +++ /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 - * - * - gpu/test_MSG_gpu_task_create.c 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; -} diff --git a/tools/cmake/DefinePackages.cmake b/tools/cmake/DefinePackages.cmake index cd343b421f..ff55c1df4d 100644 --- a/tools/cmake/DefinePackages.cmake +++ b/tools/cmake/DefinePackages.cmake @@ -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/gpu/CMakeLists.txt examples/msg/gtnets/CMakeLists.txt examples/msg/icomms/CMakeLists.txt examples/msg/io/CMakeLists.txt