From f0445424cc8b2b6dce02a2a6faa4a6a5e9448611 Mon Sep 17 00:00:00 2001 From: Sergey Pokhodenko Date: Tue, 6 Oct 2020 00:33:19 +0300 Subject: [PATCH 1/2] Rename readme and headers --- README.md | 6 +++--- backends/CMakeLists.txt | 4 ++-- backends/include/Support/CBindingWrapping.h | 2 +- backends/include/Support/DllExport.h | 2 +- backends/include/Support/ExternC.h | 2 +- backends/include/Support/MemOwnershipAttrs.h | 2 +- backends/include/dppl_data_types.h | 2 +- backends/include/dppl_opencl_interface.h | 2 +- backends/include/dppl_sycl_context_interface.h | 2 +- backends/include/dppl_sycl_device_interface.h | 2 +- backends/include/dppl_sycl_event_interface.h | 2 +- backends/include/dppl_sycl_kernel_interface.h | 2 +- backends/include/dppl_sycl_platform_interface.h | 2 +- backends/include/dppl_sycl_program_interface.h | 2 +- backends/include/dppl_sycl_queue_interface.h | 2 +- backends/include/dppl_sycl_queue_manager.h | 2 +- backends/include/dppl_sycl_types.h | 2 +- backends/include/dppl_sycl_usm_interface.h | 2 +- backends/include/dppl_utils.h | 2 +- backends/include/error_check_macros.h | 2 +- backends/source/dppl_opencl_interface.c | 2 +- backends/source/dppl_sycl_context_interface.cpp | 2 +- backends/source/dppl_sycl_device_interface.cpp | 2 +- backends/source/dppl_sycl_event_interface.cpp | 2 +- backends/source/dppl_sycl_kernel_interface.cpp | 2 +- backends/source/dppl_sycl_platform_interface.cpp | 2 +- backends/source/dppl_sycl_program_interface.cpp | 2 +- backends/source/dppl_sycl_queue_interface.cpp | 2 +- backends/source/dppl_sycl_queue_manager.cpp | 2 +- backends/source/dppl_sycl_usm_interface.cpp | 2 +- backends/source/dppl_utils.cpp | 2 +- backends/tests/CMakeLists.txt | 4 ++-- backends/tests/test_sycl_kernel_interface.cpp | 2 +- backends/tests/test_sycl_platform_interface.cpp | 2 +- backends/tests/test_sycl_program_interface.cpp | 2 +- backends/tests/test_sycl_queue_interface.cpp | 2 +- backends/tests/test_sycl_queue_manager.cpp | 2 +- conda-recipe/meta.yaml | 2 +- dpctl/__init__.py | 2 +- setup.py | 2 +- 40 files changed, 44 insertions(+), 44 deletions(-) diff --git a/README.md b/README.md index 1891b80c33..a0f7e6bce7 100644 --- a/README.md +++ b/README.md @@ -32,9 +32,9 @@ conda build --croot=C:/tmp conda-recipe conda install dpctl ``` -Using PyDPPL -============ -PyDPPL relies on SYCL runtime. With Intel oneAPI installed you should activate it. +Using dpCtl +=========== +dpCtl relies on SYCL runtime. With Intel oneAPI installed you should activate it. On Windows: ```cmd diff --git a/backends/CMakeLists.txt b/backends/CMakeLists.txt index 373f0c8f2b..2c4fda3157 100644 --- a/backends/CMakeLists.txt +++ b/backends/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.3.2 FATAL_ERROR) -project("PyDPPL - A lightweight SYCL wrapper for Python") +project("dpCtl - A lightweight SYCL wrapper for Python") # The function checks is DPCPP_ROOT is valid and points to a dpcpp installation function (check_for_dpcpp) @@ -185,7 +185,7 @@ foreach(HEADER ${HEADERS}) install(FILES "${HEADER}" DESTINATION include/Support) endforeach() -# Enable to build the PyDPPL backend test cases +# Enable to build the dpCtl backend test cases add_subdirectory(tests) # Todo : Add build rules for doxygen diff --git a/backends/include/Support/CBindingWrapping.h b/backends/include/Support/CBindingWrapping.h index 40ef4027b2..4c77612269 100644 --- a/backends/include/Support/CBindingWrapping.h +++ b/backends/include/Support/CBindingWrapping.h @@ -1,6 +1,6 @@ //===----- Support/CBindingWrapping.h - DPPL-SYCL interface --*-- C ---*---===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/include/Support/DllExport.h b/backends/include/Support/DllExport.h index 28643f3195..de82311320 100644 --- a/backends/include/Support/DllExport.h +++ b/backends/include/Support/DllExport.h @@ -1,6 +1,6 @@ //===---------- Support/DllExport.h - DPPL-SYCL interface ---*--- C ---*---===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/include/Support/ExternC.h b/backends/include/Support/ExternC.h index 60b91de0dd..76baef7871 100644 --- a/backends/include/Support/ExternC.h +++ b/backends/include/Support/ExternC.h @@ -1,6 +1,6 @@ //===------------ Support/ExternC.h - DPPL-SYCL interface ---*--- C ---*---===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/include/Support/MemOwnershipAttrs.h b/backends/include/Support/MemOwnershipAttrs.h index 6f340036ac..f0579fdd46 100644 --- a/backends/include/Support/MemOwnershipAttrs.h +++ b/backends/include/Support/MemOwnershipAttrs.h @@ -1,6 +1,6 @@ //===----- dppl_mem_ownership_attrs.h - DPPL-SYCL interface --*-- C++ --*--===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/include/dppl_data_types.h b/backends/include/dppl_data_types.h index 3da14eb5b5..2c08b42dee 100644 --- a/backends/include/dppl_data_types.h +++ b/backends/include/dppl_data_types.h @@ -1,6 +1,6 @@ //===---------- dppl_data_types.h - DPPL-SYCL interface ----*---- C ---*---===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/include/dppl_opencl_interface.h b/backends/include/dppl_opencl_interface.h index 52e03ed7de..e9de0b4fdb 100644 --- a/backends/include/dppl_opencl_interface.h +++ b/backends/include/dppl_opencl_interface.h @@ -1,6 +1,6 @@ //===-- dppl_opencl_interface.h - DPPL-OpenCL interface -------*- C -*-----===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/include/dppl_sycl_context_interface.h b/backends/include/dppl_sycl_context_interface.h index e2164e388e..de2981ddfb 100644 --- a/backends/include/dppl_sycl_context_interface.h +++ b/backends/include/dppl_sycl_context_interface.h @@ -1,6 +1,6 @@ //===--- dppl_sycl_context_interface.h - DPPL-SYCL interface --*--C++ --*--===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/include/dppl_sycl_device_interface.h b/backends/include/dppl_sycl_device_interface.h index 3ebe9a80ef..9c12f3b308 100644 --- a/backends/include/dppl_sycl_device_interface.h +++ b/backends/include/dppl_sycl_device_interface.h @@ -1,6 +1,6 @@ //===--- dppl_sycl_device_interface.h - DPPL-SYCL interface ---*---C++ -*---===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/include/dppl_sycl_event_interface.h b/backends/include/dppl_sycl_event_interface.h index c97eaf08f3..7a6f116571 100644 --- a/backends/include/dppl_sycl_event_interface.h +++ b/backends/include/dppl_sycl_event_interface.h @@ -1,6 +1,6 @@ //===--- dppl_sycl_event_interface.h - DPPL-SYCL interface ---*---C++ -*---===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/include/dppl_sycl_kernel_interface.h b/backends/include/dppl_sycl_kernel_interface.h index 64d2f97a30..ec40de5735 100644 --- a/backends/include/dppl_sycl_kernel_interface.h +++ b/backends/include/dppl_sycl_kernel_interface.h @@ -1,6 +1,6 @@ //===---- dppl_sycl_kernel_interface.h - DPPL-SYCL interface --*--C++ --*--===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/include/dppl_sycl_platform_interface.h b/backends/include/dppl_sycl_platform_interface.h index 459a39a1da..a99ed6ea7b 100644 --- a/backends/include/dppl_sycl_platform_interface.h +++ b/backends/include/dppl_sycl_platform_interface.h @@ -1,6 +1,6 @@ //===--- dppl_sycl_platform_interface.h - DPPL-SYCL interface ---*--C++ -*-===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/include/dppl_sycl_program_interface.h b/backends/include/dppl_sycl_program_interface.h index e14f45b9f5..7025a6c986 100644 --- a/backends/include/dppl_sycl_program_interface.h +++ b/backends/include/dppl_sycl_program_interface.h @@ -1,6 +1,6 @@ //===---- dppl_sycl_program_interface.h - DPPL-SYCL interface --*--C++ --*--===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/include/dppl_sycl_queue_interface.h b/backends/include/dppl_sycl_queue_interface.h index cc12c9af77..6982511cdc 100644 --- a/backends/include/dppl_sycl_queue_interface.h +++ b/backends/include/dppl_sycl_queue_interface.h @@ -1,6 +1,6 @@ //===--- dppl_sycl_queue_interface.h - DPPL-SYCL interface ---*---C++ -*---===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/include/dppl_sycl_queue_manager.h b/backends/include/dppl_sycl_queue_manager.h index 33956af07b..35830dc1d8 100644 --- a/backends/include/dppl_sycl_queue_manager.h +++ b/backends/include/dppl_sycl_queue_manager.h @@ -1,6 +1,6 @@ //===--- dppl_sycl_queue_manager.h - DPPL-SYCL interface ---*---C++ ---*---===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/include/dppl_sycl_types.h b/backends/include/dppl_sycl_types.h index e3ccf3d0a8..b2234d8485 100644 --- a/backends/include/dppl_sycl_types.h +++ b/backends/include/dppl_sycl_types.h @@ -1,6 +1,6 @@ //===---------- dppl_sycl_types.h - DPPL-SYCL interface ---*--- C++ ---*---===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/include/dppl_sycl_usm_interface.h b/backends/include/dppl_sycl_usm_interface.h index 6a52fcff42..61990c338c 100644 --- a/backends/include/dppl_sycl_usm_interface.h +++ b/backends/include/dppl_sycl_usm_interface.h @@ -1,6 +1,6 @@ //===--- dppl_sycl_usm_interface.h - DPPL-SYCL interface ---*---C++ -*---===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/include/dppl_utils.h b/backends/include/dppl_utils.h index 3a19bf3e45..eafda6b3bd 100644 --- a/backends/include/dppl_utils.h +++ b/backends/include/dppl_utils.h @@ -1,6 +1,6 @@ //===------------- dppl_utils.h - DPPL-SYCL interface --*-- C++ -----*-----===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/include/error_check_macros.h b/backends/include/error_check_macros.h index 77bd462e5a..2e52b8390c 100644 --- a/backends/include/error_check_macros.h +++ b/backends/include/error_check_macros.h @@ -1,6 +1,6 @@ //===----- error_check_macros.h - DPPL-OpenCL interface -------*- C -*-----===// // -// Python Data Parallel Processing Python (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/source/dppl_opencl_interface.c b/backends/source/dppl_opencl_interface.c index 64b0de33cf..fc85f56694 100644 --- a/backends/source/dppl_opencl_interface.c +++ b/backends/source/dppl_opencl_interface.c @@ -1,6 +1,6 @@ //===------ dppl_opencl_interface.c - DPPL-OpenCL interface ----*- C -*----===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/source/dppl_sycl_context_interface.cpp b/backends/source/dppl_sycl_context_interface.cpp index 4d97b2bb6c..5f849fd8fc 100644 --- a/backends/source/dppl_sycl_context_interface.cpp +++ b/backends/source/dppl_sycl_context_interface.cpp @@ -1,6 +1,6 @@ //===--- dppl_sycl_context_interface.cpp - DPPL-SYCL interface --*- C++ -*-===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/source/dppl_sycl_device_interface.cpp b/backends/source/dppl_sycl_device_interface.cpp index 68e50ab9b0..438e9d2043 100644 --- a/backends/source/dppl_sycl_device_interface.cpp +++ b/backends/source/dppl_sycl_device_interface.cpp @@ -1,6 +1,6 @@ //===--- dppl_sycl_device_interface.cpp - DPPL-SYCL interface --*- C++ -*--===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/source/dppl_sycl_event_interface.cpp b/backends/source/dppl_sycl_event_interface.cpp index 69a739483f..a842284737 100644 --- a/backends/source/dppl_sycl_event_interface.cpp +++ b/backends/source/dppl_sycl_event_interface.cpp @@ -1,6 +1,6 @@ //===--- dppl_sycl_event_interface.cpp - DPPL-SYCL interface --*- C++ -*---===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/source/dppl_sycl_kernel_interface.cpp b/backends/source/dppl_sycl_kernel_interface.cpp index 56fa9380cb..95ca92f607 100644 --- a/backends/source/dppl_sycl_kernel_interface.cpp +++ b/backends/source/dppl_sycl_kernel_interface.cpp @@ -1,6 +1,6 @@ //===--- dppl_sycl_kernel_interface.cpp - DPPL-SYCL interface --*-- C++ -*-===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/source/dppl_sycl_platform_interface.cpp b/backends/source/dppl_sycl_platform_interface.cpp index 09ec3cbb5e..b7c4e42450 100644 --- a/backends/source/dppl_sycl_platform_interface.cpp +++ b/backends/source/dppl_sycl_platform_interface.cpp @@ -1,6 +1,6 @@ //===--- dppl_sycl_platform_interface.cpp - DPPL-SYCL interface --*- C++ -*-===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/source/dppl_sycl_program_interface.cpp b/backends/source/dppl_sycl_program_interface.cpp index 01d615a08b..c93d2bba05 100644 --- a/backends/source/dppl_sycl_program_interface.cpp +++ b/backends/source/dppl_sycl_program_interface.cpp @@ -1,6 +1,6 @@ //===--- dppl_sycl_program_interface.cpp - DPPL-SYCL interface --*-- C++ -*-===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/source/dppl_sycl_queue_interface.cpp b/backends/source/dppl_sycl_queue_interface.cpp index 7ddaece07e..7eef1e5094 100644 --- a/backends/source/dppl_sycl_queue_interface.cpp +++ b/backends/source/dppl_sycl_queue_interface.cpp @@ -1,6 +1,6 @@ //===--- dppl_sycl_queue_interface.cpp - DPPL-SYCL interface --*- C++ -*---===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/source/dppl_sycl_queue_manager.cpp b/backends/source/dppl_sycl_queue_manager.cpp index 3981c528dc..b47954013b 100644 --- a/backends/source/dppl_sycl_queue_manager.cpp +++ b/backends/source/dppl_sycl_queue_manager.cpp @@ -1,6 +1,6 @@ //===--- dppl_sycl_queue_manager.cpp - DPPL-SYCL interface --*- C++ -*---===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/source/dppl_sycl_usm_interface.cpp b/backends/source/dppl_sycl_usm_interface.cpp index 54ff95efc6..effdddfcfe 100644 --- a/backends/source/dppl_sycl_usm_interface.cpp +++ b/backends/source/dppl_sycl_usm_interface.cpp @@ -1,6 +1,6 @@ //===--- dppl_sycl_usm_interface.cpp - DPPL-SYCL interface --*- C++ -*---===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/source/dppl_utils.cpp b/backends/source/dppl_utils.cpp index 4c0e9857dc..dec421d55d 100644 --- a/backends/source/dppl_utils.cpp +++ b/backends/source/dppl_utils.cpp @@ -1,6 +1,6 @@ //===--------- dppl_utils.cpp - DPPL-SYCL interface ----*---- C++ ----*----===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/tests/CMakeLists.txt b/backends/tests/CMakeLists.txt index 08e7f9f9ff..1fe1ddbf80 100644 --- a/backends/tests/CMakeLists.txt +++ b/backends/tests/CMakeLists.txt @@ -3,9 +3,9 @@ string(COMPARE EQUAL "${GTEST_LIB_DIR}" "" no_gtest_lib_dir) if(${no_gtest_incl_dir} OR ${no_gtest_lib_dir}) message(WARNING - "GTest is needed to test PyDPPL's backend test cases. Pass in \ + "GTest is needed to test dpCtl's backend test cases. Pass in \ -DGTEST_INCLUDE_DIR and -DGTEST_LIB_DIR when you configure Cmake if\ - you wish to run PyDPPL backend tests." + you wish to run dpCtl backend tests." ) else() # We need thread support for gtest diff --git a/backends/tests/test_sycl_kernel_interface.cpp b/backends/tests/test_sycl_kernel_interface.cpp index 5a360dab62..c9bc2bd248 100644 --- a/backends/tests/test_sycl_kernel_interface.cpp +++ b/backends/tests/test_sycl_kernel_interface.cpp @@ -1,6 +1,6 @@ //===---- test_sycl_program_interface.cpp - DPPL-SYCL interface -*- C++ -*-===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/tests/test_sycl_platform_interface.cpp b/backends/tests/test_sycl_platform_interface.cpp index 3de7029b40..4204043817 100644 --- a/backends/tests/test_sycl_platform_interface.cpp +++ b/backends/tests/test_sycl_platform_interface.cpp @@ -1,6 +1,6 @@ //===--- test_sycl_platform_interface.cpp - DPPL-SYCL interface -*- C++ -*-===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/tests/test_sycl_program_interface.cpp b/backends/tests/test_sycl_program_interface.cpp index 3b2fff423b..47ede9adc1 100644 --- a/backends/tests/test_sycl_program_interface.cpp +++ b/backends/tests/test_sycl_program_interface.cpp @@ -1,6 +1,6 @@ //===---- test_sycl_program_interface.cpp - DPPL-SYCL interface -*- C++ -*-===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/tests/test_sycl_queue_interface.cpp b/backends/tests/test_sycl_queue_interface.cpp index d284799540..a7924494ba 100644 --- a/backends/tests/test_sycl_queue_interface.cpp +++ b/backends/tests/test_sycl_queue_interface.cpp @@ -1,6 +1,6 @@ //===---- test_sycl_queue_interface.cpp - DPPL-SYCL interface -*- C++ --*--===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/backends/tests/test_sycl_queue_manager.cpp b/backends/tests/test_sycl_queue_manager.cpp index 38faadc217..bbd9c935ed 100644 --- a/backends/tests/test_sycl_queue_manager.cpp +++ b/backends/tests/test_sycl_queue_manager.cpp @@ -1,6 +1,6 @@ //===--- test_sycl_queue_manager.cpp - DPPL-SYCL interface --*- C++ ---*---===// // -// Python Data Parallel Processing Library (PyDPPL) +// Data Parallel Control Library (dpCtl) // // Copyright 2020 Intel Corporation // diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 48ff634421..f48cccc14f 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -30,7 +30,7 @@ requirements: - cffi >=1.0.0 about: - home: https://github.com/IntelPython/PyDPPL.git + home: https://github.com/IntelPython/dpCtl.git license: Apache-2.0 license_file: LICENSE summary: 'A lightweight Python wrapper for a subset of OpenCL and SYCL API.' diff --git a/dpctl/__init__.py b/dpctl/__init__.py index 333867f89c..5086eb1c3e 100644 --- a/dpctl/__init__.py +++ b/dpctl/__init__.py @@ -33,7 +33,7 @@ dpCtl's intended usage is as a common SYCL interoperability layer for different Python libraries and applications. The OpenCL support inside - PyDPPL is slated to be deprecated and then removed in future releases + dpCtl is slated to be deprecated and then removed in future releases of the library. Currently, only a small subset of DPC++ runtime objects are exposed diff --git a/setup.py b/setup.py index 51551e099d..d424ff632a 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ ##===---------- setup.py - dpctl.ocldrv interface -----*- Python -*-----===## ## -## Python Data Parallel Processing Library (PyDPPL) +## Data Parallel Control Library (dpCtl) ## ## Copyright 2020 Intel Corporation ## From 01b3bee3a8d7fe4382519863fda4cb8448aa9c93 Mon Sep 17 00:00:00 2001 From: Diptorup Deb Date: Mon, 5 Oct 2020 18:49:56 -0500 Subject: [PATCH 2/2] Fix left over places where DPPL/PyDPPL was used in comments. --- README.md | 2 +- backends/include/dppl_data_types.h | 2 +- backends/include/dppl_opencl_interface.h | 2 +- backends/include/dppl_sycl_context_interface.h | 2 +- backends/include/dppl_sycl_device_interface.h | 2 +- backends/include/dppl_sycl_event_interface.h | 2 +- backends/include/dppl_sycl_kernel_interface.h | 2 +- backends/include/dppl_sycl_platform_interface.h | 2 +- backends/include/dppl_sycl_program_interface.h | 2 +- backends/include/dppl_sycl_queue_interface.h | 2 +- backends/include/dppl_sycl_queue_manager.h | 2 +- backends/include/dppl_sycl_types.h | 2 +- backends/include/dppl_sycl_usm_interface.h | 2 +- backends/include/dppl_utils.h | 2 +- backends/include/error_check_macros.h | 2 +- backends/source/dppl_opencl_interface.c | 2 +- backends/source/dppl_sycl_context_interface.cpp | 2 +- backends/source/dppl_sycl_device_interface.cpp | 2 +- backends/source/dppl_sycl_event_interface.cpp | 2 +- backends/source/dppl_sycl_kernel_interface.cpp | 2 +- backends/source/dppl_sycl_platform_interface.cpp | 2 +- backends/source/dppl_sycl_program_interface.cpp | 2 +- backends/source/dppl_sycl_queue_interface.cpp | 2 +- backends/source/dppl_sycl_queue_manager.cpp | 2 +- backends/source/dppl_sycl_usm_interface.cpp | 2 +- backends/source/dppl_utils.cpp | 2 +- backends/tests/CMakeLists.txt | 6 +++--- backends/tests/test_sycl_kernel_interface.cpp | 2 +- backends/tests/test_sycl_platform_interface.cpp | 2 +- backends/tests/test_sycl_program_interface.cpp | 2 +- backends/tests/test_sycl_queue_interface.cpp | 2 +- backends/tests/test_sycl_queue_manager.cpp | 2 +- 32 files changed, 34 insertions(+), 34 deletions(-) diff --git a/README.md b/README.md index a0f7e6bce7..7c30150a22 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ conda install dpctl Using dpCtl =========== -dpCtl relies on SYCL runtime. With Intel oneAPI installed you should activate it. +dpCtl relies on DPC++ runtime. With Intel oneAPI installed you should activate it. On Windows: ```cmd diff --git a/backends/include/dppl_data_types.h b/backends/include/dppl_data_types.h index 2c08b42dee..4427b3f893 100644 --- a/backends/include/dppl_data_types.h +++ b/backends/include/dppl_data_types.h @@ -1,4 +1,4 @@ -//===---------- dppl_data_types.h - DPPL-SYCL interface ----*---- C ---*---===// +//===------------------ dppl_data_types.h - dpctl-C_API ----*---- C ---*---===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/include/dppl_opencl_interface.h b/backends/include/dppl_opencl_interface.h index e9de0b4fdb..a34845bbe5 100644 --- a/backends/include/dppl_opencl_interface.h +++ b/backends/include/dppl_opencl_interface.h @@ -1,4 +1,4 @@ -//===-- dppl_opencl_interface.h - DPPL-OpenCL interface -------*- C -*-----===// +//===------------ dppl_opencl_interface.h - dpctl-C_API -------*- C -*-----===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/include/dppl_sycl_context_interface.h b/backends/include/dppl_sycl_context_interface.h index de2981ddfb..6df5a5600c 100644 --- a/backends/include/dppl_sycl_context_interface.h +++ b/backends/include/dppl_sycl_context_interface.h @@ -1,4 +1,4 @@ -//===--- dppl_sycl_context_interface.h - DPPL-SYCL interface --*--C++ --*--===// +//===----------- dppl_sycl_context_interface.h - dpctl-C_API --*--C++ --*--===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/include/dppl_sycl_device_interface.h b/backends/include/dppl_sycl_device_interface.h index 9c12f3b308..074939c032 100644 --- a/backends/include/dppl_sycl_device_interface.h +++ b/backends/include/dppl_sycl_device_interface.h @@ -1,4 +1,4 @@ -//===--- dppl_sycl_device_interface.h - DPPL-SYCL interface ---*---C++ -*---===// +//===---------- dppl_sycl_device_interface.h - dpctl-C_API ---*---C++ -*---===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/include/dppl_sycl_event_interface.h b/backends/include/dppl_sycl_event_interface.h index 7a6f116571..98bc9dae08 100644 --- a/backends/include/dppl_sycl_event_interface.h +++ b/backends/include/dppl_sycl_event_interface.h @@ -1,4 +1,4 @@ -//===--- dppl_sycl_event_interface.h - DPPL-SYCL interface ---*---C++ -*---===// +//===----------- dppl_sycl_event_interface.h - dpctl-C_API ---*---C++ -*---===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/include/dppl_sycl_kernel_interface.h b/backends/include/dppl_sycl_kernel_interface.h index ec40de5735..a48064cf83 100644 --- a/backends/include/dppl_sycl_kernel_interface.h +++ b/backends/include/dppl_sycl_kernel_interface.h @@ -1,4 +1,4 @@ -//===---- dppl_sycl_kernel_interface.h - DPPL-SYCL interface --*--C++ --*--===// +//===------------ dppl_sycl_kernel_interface.h - dpctl-C_API --*--C++ --*--===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/include/dppl_sycl_platform_interface.h b/backends/include/dppl_sycl_platform_interface.h index a99ed6ea7b..80d1d51fd6 100644 --- a/backends/include/dppl_sycl_platform_interface.h +++ b/backends/include/dppl_sycl_platform_interface.h @@ -1,4 +1,4 @@ -//===--- dppl_sycl_platform_interface.h - DPPL-SYCL interface ---*--C++ -*-===// +//===----------- dppl_sycl_platform_interface.h - dpctl-C_API ---*--C++ -*-===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/include/dppl_sycl_program_interface.h b/backends/include/dppl_sycl_program_interface.h index 7025a6c986..b47f859946 100644 --- a/backends/include/dppl_sycl_program_interface.h +++ b/backends/include/dppl_sycl_program_interface.h @@ -1,4 +1,4 @@ -//===---- dppl_sycl_program_interface.h - DPPL-SYCL interface --*--C++ --*--===// +//===----------- dppl_sycl_program_interface.h - dpctl-C_API --*--C++ --*--===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/include/dppl_sycl_queue_interface.h b/backends/include/dppl_sycl_queue_interface.h index 6982511cdc..6ca71d7db5 100644 --- a/backends/include/dppl_sycl_queue_interface.h +++ b/backends/include/dppl_sycl_queue_interface.h @@ -1,4 +1,4 @@ -//===--- dppl_sycl_queue_interface.h - DPPL-SYCL interface ---*---C++ -*---===// +//===----------- dppl_sycl_queue_interface.h - dpctl-C_API ---*---C++ -*---===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/include/dppl_sycl_queue_manager.h b/backends/include/dppl_sycl_queue_manager.h index 35830dc1d8..ece900006f 100644 --- a/backends/include/dppl_sycl_queue_manager.h +++ b/backends/include/dppl_sycl_queue_manager.h @@ -1,4 +1,4 @@ -//===--- dppl_sycl_queue_manager.h - DPPL-SYCL interface ---*---C++ ---*---===// +//===----------- dppl_sycl_queue_manager.h - dpctl-C_API ---*---C++ ---*---===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/include/dppl_sycl_types.h b/backends/include/dppl_sycl_types.h index b2234d8485..6469bf1936 100644 --- a/backends/include/dppl_sycl_types.h +++ b/backends/include/dppl_sycl_types.h @@ -1,4 +1,4 @@ -//===---------- dppl_sycl_types.h - DPPL-SYCL interface ---*--- C++ ---*---===// +//===-------------- dppl_sycl_types.h - dpctl-C_API ----*---- C++ ----*----===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/include/dppl_sycl_usm_interface.h b/backends/include/dppl_sycl_usm_interface.h index 61990c338c..91deddadcb 100644 --- a/backends/include/dppl_sycl_usm_interface.h +++ b/backends/include/dppl_sycl_usm_interface.h @@ -1,4 +1,4 @@ -//===--- dppl_sycl_usm_interface.h - DPPL-SYCL interface ---*---C++ -*---===// +//===------------- dppl_sycl_usm_interface.h - dpctl-C_API ---*---C++ -*---===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/include/dppl_utils.h b/backends/include/dppl_utils.h index eafda6b3bd..1cf0223f28 100644 --- a/backends/include/dppl_utils.h +++ b/backends/include/dppl_utils.h @@ -1,4 +1,4 @@ -//===------------- dppl_utils.h - DPPL-SYCL interface --*-- C++ -----*-----===// +//===------------------- dppl_utils.h - dpctl-C_API ---*--- C++ -----*-----===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/include/error_check_macros.h b/backends/include/error_check_macros.h index 2e52b8390c..c532f89127 100644 --- a/backends/include/error_check_macros.h +++ b/backends/include/error_check_macros.h @@ -1,4 +1,4 @@ -//===----- error_check_macros.h - DPPL-OpenCL interface -------*- C -*-----===// +//===----------- error_check_macros.h - dpctl-C_API-------*- C ------*-----===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/source/dppl_opencl_interface.c b/backends/source/dppl_opencl_interface.c index fc85f56694..cf849b32ca 100644 --- a/backends/source/dppl_opencl_interface.c +++ b/backends/source/dppl_opencl_interface.c @@ -1,4 +1,4 @@ -//===------ dppl_opencl_interface.c - DPPL-OpenCL interface ----*- C -*----===// +//===------------ dppl_opencl_interface.c - dpctl-C_API ----*- C -----*----===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/source/dppl_sycl_context_interface.cpp b/backends/source/dppl_sycl_context_interface.cpp index 5f849fd8fc..ba9408b6e2 100644 --- a/backends/source/dppl_sycl_context_interface.cpp +++ b/backends/source/dppl_sycl_context_interface.cpp @@ -1,4 +1,4 @@ -//===--- dppl_sycl_context_interface.cpp - DPPL-SYCL interface --*- C++ -*-===// +//===------- dppl_sycl_context_interface.cpp - dpctl-C_API ---*--- C++ -*-===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/source/dppl_sycl_device_interface.cpp b/backends/source/dppl_sycl_device_interface.cpp index 438e9d2043..762c49a412 100644 --- a/backends/source/dppl_sycl_device_interface.cpp +++ b/backends/source/dppl_sycl_device_interface.cpp @@ -1,4 +1,4 @@ -//===--- dppl_sycl_device_interface.cpp - DPPL-SYCL interface --*- C++ -*--===// +//===------ dppl_sycl_device_interface.cpp - dpctl-C_API ---*--- C++ --*--===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/source/dppl_sycl_event_interface.cpp b/backends/source/dppl_sycl_event_interface.cpp index a842284737..ae8356adba 100644 --- a/backends/source/dppl_sycl_event_interface.cpp +++ b/backends/source/dppl_sycl_event_interface.cpp @@ -1,4 +1,4 @@ -//===--- dppl_sycl_event_interface.cpp - DPPL-SYCL interface --*- C++ -*---===// +//===------ dppl_sycl_event_interface.cpp - dpctl-C_API ---*--- C++ --*---===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/source/dppl_sycl_kernel_interface.cpp b/backends/source/dppl_sycl_kernel_interface.cpp index 95ca92f607..e030974bc3 100644 --- a/backends/source/dppl_sycl_kernel_interface.cpp +++ b/backends/source/dppl_sycl_kernel_interface.cpp @@ -1,4 +1,4 @@ -//===--- dppl_sycl_kernel_interface.cpp - DPPL-SYCL interface --*-- C++ -*-===// +//===------ dppl_sycl_kernel_interface.cpp - dpctl-C_API ---*--- C++ --*--===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/source/dppl_sycl_platform_interface.cpp b/backends/source/dppl_sycl_platform_interface.cpp index b7c4e42450..b162b83976 100644 --- a/backends/source/dppl_sycl_platform_interface.cpp +++ b/backends/source/dppl_sycl_platform_interface.cpp @@ -1,4 +1,4 @@ -//===--- dppl_sycl_platform_interface.cpp - DPPL-SYCL interface --*- C++ -*-===// +//===------ dppl_sycl_platform_interface.cpp - dpctl-C_API --*-- C++ --*--===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/source/dppl_sycl_program_interface.cpp b/backends/source/dppl_sycl_program_interface.cpp index c93d2bba05..edb8429c3f 100644 --- a/backends/source/dppl_sycl_program_interface.cpp +++ b/backends/source/dppl_sycl_program_interface.cpp @@ -1,4 +1,4 @@ -//===--- dppl_sycl_program_interface.cpp - DPPL-SYCL interface --*-- C++ -*-===// +//===----- dppl_sycl_program_interface.cpp - dpctl-C_API ---*--- C++ --*--===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/source/dppl_sycl_queue_interface.cpp b/backends/source/dppl_sycl_queue_interface.cpp index 7eef1e5094..5d9ab2c61e 100644 --- a/backends/source/dppl_sycl_queue_interface.cpp +++ b/backends/source/dppl_sycl_queue_interface.cpp @@ -1,4 +1,4 @@ -//===--- dppl_sycl_queue_interface.cpp - DPPL-SYCL interface --*- C++ -*---===// +//===------ dppl_sycl_queue_interface.cpp - dpctl-C_API ---*--- C++ --*---===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/source/dppl_sycl_queue_manager.cpp b/backends/source/dppl_sycl_queue_manager.cpp index b47954013b..f8c9dd9f78 100644 --- a/backends/source/dppl_sycl_queue_manager.cpp +++ b/backends/source/dppl_sycl_queue_manager.cpp @@ -1,4 +1,4 @@ -//===--- dppl_sycl_queue_manager.cpp - DPPL-SYCL interface --*- C++ -*---===// +//===--------- dppl_sycl_queue_manager.cpp - dpctl-C_API --*-- C++ ---*---===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/source/dppl_sycl_usm_interface.cpp b/backends/source/dppl_sycl_usm_interface.cpp index effdddfcfe..629a1f1e56 100644 --- a/backends/source/dppl_sycl_usm_interface.cpp +++ b/backends/source/dppl_sycl_usm_interface.cpp @@ -1,4 +1,4 @@ -//===--- dppl_sycl_usm_interface.cpp - DPPL-SYCL interface --*- C++ -*---===// +//===------- dppl_sycl_usm_interface.cpp - dpctl-C_API ---*--- C++ ---*---===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/source/dppl_utils.cpp b/backends/source/dppl_utils.cpp index dec421d55d..7ecea1c8ce 100644 --- a/backends/source/dppl_utils.cpp +++ b/backends/source/dppl_utils.cpp @@ -1,4 +1,4 @@ -//===--------- dppl_utils.cpp - DPPL-SYCL interface ----*---- C++ ----*----===// +//===-------------- dppl_utils.cpp - dpctl-C_API ----*---- C++ -----*-----===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/tests/CMakeLists.txt b/backends/tests/CMakeLists.txt index 1fe1ddbf80..f2bc8c6462 100644 --- a/backends/tests/CMakeLists.txt +++ b/backends/tests/CMakeLists.txt @@ -3,7 +3,7 @@ string(COMPARE EQUAL "${GTEST_LIB_DIR}" "" no_gtest_lib_dir) if(${no_gtest_incl_dir} OR ${no_gtest_lib_dir}) message(WARNING - "GTest is needed to test dpCtl's backend test cases. Pass in \ + "GTest is needed to test dpCtl's C API test cases. Pass in \ -DGTEST_INCLUDE_DIR and -DGTEST_LIB_DIR when you configure Cmake if\ you wish to run dpCtl backend tests." ) @@ -22,7 +22,7 @@ else() link_directories(${GTEST_LIB_DIR}) - set(PYDPPL_BACKEND_TEST_CASES + set(DPCTL_C_API_TEST_CASES test_sycl_kernel_interface test_sycl_platform_interface test_sycl_program_interface @@ -38,7 +38,7 @@ else() file(COPY ${tf} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) endforeach() - foreach(TEST_CASE ${PYDPPL_BACKEND_TEST_CASES}) + foreach(TEST_CASE ${DPCTL_C_API_TEST_CASES}) add_executable(${TEST_CASE} EXCLUDE_FROM_ALL ${TEST_CASE}.cpp) target_link_libraries( ${TEST_CASE} ${CMAKE_THREAD_LIBS_INIT} gtest DPPLSyclInterface diff --git a/backends/tests/test_sycl_kernel_interface.cpp b/backends/tests/test_sycl_kernel_interface.cpp index c9bc2bd248..03b4c0e086 100644 --- a/backends/tests/test_sycl_kernel_interface.cpp +++ b/backends/tests/test_sycl_kernel_interface.cpp @@ -1,4 +1,4 @@ -//===---- test_sycl_program_interface.cpp - DPPL-SYCL interface -*- C++ -*-===// +//===-------- test_sycl_program_interface.cpp - dpctl-C_API -*- C++ ---*---===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/tests/test_sycl_platform_interface.cpp b/backends/tests/test_sycl_platform_interface.cpp index 4204043817..802cd22b43 100644 --- a/backends/tests/test_sycl_platform_interface.cpp +++ b/backends/tests/test_sycl_platform_interface.cpp @@ -1,4 +1,4 @@ -//===--- test_sycl_platform_interface.cpp - DPPL-SYCL interface -*- C++ -*-===// +//===------- test_sycl_platform_interface.cpp - dpctl-C_API --*-- C++ --*--===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/tests/test_sycl_program_interface.cpp b/backends/tests/test_sycl_program_interface.cpp index 47ede9adc1..63fba03c86 100644 --- a/backends/tests/test_sycl_program_interface.cpp +++ b/backends/tests/test_sycl_program_interface.cpp @@ -1,4 +1,4 @@ -//===---- test_sycl_program_interface.cpp - DPPL-SYCL interface -*- C++ -*-===// +//===---------- test_sycl_program_interface.cpp - dpctl-C_API --*-- C++ -*-===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/tests/test_sycl_queue_interface.cpp b/backends/tests/test_sycl_queue_interface.cpp index a7924494ba..ccca8e7eb4 100644 --- a/backends/tests/test_sycl_queue_interface.cpp +++ b/backends/tests/test_sycl_queue_interface.cpp @@ -1,4 +1,4 @@ -//===---- test_sycl_queue_interface.cpp - DPPL-SYCL interface -*- C++ --*--===// +//===-------- test_sycl_queue_interface.cpp - dpctl-C_API ---*--- C++ --*--===// // // Data Parallel Control Library (dpCtl) // diff --git a/backends/tests/test_sycl_queue_manager.cpp b/backends/tests/test_sycl_queue_manager.cpp index bbd9c935ed..6c2b4b80e1 100644 --- a/backends/tests/test_sycl_queue_manager.cpp +++ b/backends/tests/test_sycl_queue_manager.cpp @@ -1,4 +1,4 @@ -//===--- test_sycl_queue_manager.cpp - DPPL-SYCL interface --*- C++ ---*---===// +//===------- test_sycl_queue_manager.cpp - dpctl-C_API ---*--- C++ ----*---===// // // Data Parallel Control Library (dpCtl) //