Skip to content

Commit

Permalink
DML release v0.1.8-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
Smirnov1gor committed Feb 22, 2022
1 parent 2bbcac3 commit 5a29563
Show file tree
Hide file tree
Showing 171 changed files with 2,192 additions and 2,464 deletions.
29 changes: 6 additions & 23 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,32 +1,19 @@
# Copyright (C) 2021 Intel Corporation
#
# Copyright 2020-2021 Intel Corporation.
#
# This software and the related documents are Intel copyrighted materials,
# and your use of them is governed by the express license under which they
# were provided to you ("License"). Unless the License provides otherwise,
# you may not use, modify, copy, publish, distribute, disclose or transmit
# this software or the related documents without Intel's prior written
# permission.
#
# This software and the related documents are provided as is, with no
# express or implied warranties, other than those that are expressly
# stated in the License.
#
# SPDX-License-Identifier: MIT

cmake_minimum_required(VERSION 3.12 FATAL_ERROR)
project(Dml VERSION 0.1.7 LANGUAGES C CXX)
project(Dml VERSION 0.1.8 LANGUAGES C CXX)

set(PROJECT_SOVERSION 0)

option(DML_HW "Build hardware path or not" OFF)
option(DML_SUPPRESS_WARNINGS "Suppress all compiler warnings" OFF)

if (CMAKE_C_COMPILER_ID STREQUAL "GNU")
option(DML_RECORD_SWITCHES "Enables -frecord-gcc-switches flag" OFF)
else()
set(DML_RECORD_SWITCHES OFF CACHE BOOL "Disable recording of switches for non-gnu compiler" FORCE)
endif()

# TODO: Remove all options below
option(LOG_HW_INIT "Enables HW initialization log" OFF)
option(EFFICIENT_WAIT "Enables usage of umonitor/umwait" OFF)

Expand Down Expand Up @@ -55,17 +42,13 @@ add_compile_options(
add_compile_definitions(${DML_SECURITY_DEFINITIONS})

message(STATUS "Build type: ${CMAKE_BUILD_TYPE}")

# TODO: Remove when option is removed
if (DML_HW)
message(STATUS "HW path: ON")
message(STATUS "Hardware initialization logging: ${LOG_HW_INIT}")
endif()
message(STATUS "Hardware initialization logging: ${LOG_HW_INIT}")

# TODO: Remove
get_git_revision()

add_subdirectory(sources)
add_subdirectory(examples)

# Install rules
install(EXPORT ${PROJECT_NAME}Targets
Expand Down
15 changes: 2 additions & 13 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
# Copyright (C) 2021 Intel Corporation
#
# Copyright 2020-2021 Intel Corporation.
#
# This software and the related documents are Intel copyrighted materials,
# and your use of them is governed by the express license under which they
# were provided to you ("License"). Unless the License provides otherwise,
# you may not use, modify, copy, publish, distribute, disclose or transmit
# this software or the related documents without Intel's prior written
# permission.
#
# This software and the related documents are provided as is, with no
# express or implied warranties, other than those that are expressly
# stated in the License.
#
# SPDX-License-Identifier: MIT
17 changes: 3 additions & 14 deletions Doxyfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
# Copyright (C) 2021 Intel Corporation
#
# Copyright 2020-2021 Intel Corporation.
#
# This software and the related documents are Intel copyrighted materials,
# and your use of them is governed by the express license under which they
# were provided to you ("License"). Unless the License provides otherwise,
# you may not use, modify, copy, publish, distribute, disclose or transmit
# this software or the related documents without Intel's prior written
# permission.
#
# This software and the related documents are provided as is, with no
# express or implied warranties, other than those that are expressly
# stated in the License.
#
# SPDX-License-Identifier: MIT

# Doxyfile 1.8.17

Expand Down Expand Up @@ -53,7 +42,7 @@ PROJECT_NAME = "Intel DML Library"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = "v0.1.7-beta"
PROJECT_NUMBER = "v0.1.8-beta"

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright(c) 2021 Intel Corporation
Copyright (C) 2021 Intel Corporation

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
15 changes: 2 additions & 13 deletions cmake/CompileOptions.cmake
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
# Copyright (C) 2021 Intel Corporation
#
# Copyright 2018-2021 Intel Corporation.
#
# This software and the related documents are Intel copyrighted materials,
# and your use of them is governed by the express license under which they
# were provided to you ("License"). Unless the License provides otherwise,
# you may not use, modify, copy, publish, distribute, disclose or transmit
# this software or the related documents without Intel's prior written
# permission.
#
# This software and the related documents are provided as is, with no
# express or implied warranties, other than those that are expressly
# stated in the License.
#
# SPDX-License-Identifier: MIT

function(modify_standard_language_flag)
# Declaring function parameters
Expand Down
15 changes: 2 additions & 13 deletions cmake/gnu.cmake
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
# Copyright (C) 2021 Intel Corporation
#
# Copyright 2021 Intel Corporation.
#
# This software and the related documents are Intel copyrighted materials,
# and your use of them is governed by the express license under which they
# were provided to you ("License"). Unless the License provides otherwise,
# you may not use, modify, copy, publish, distribute, disclose or transmit
# this software or the related documents without Intel's prior written
# permission.
#
# This software and the related documents are provided as is, with no
# express or implied warranties, other than those that are expressly
# stated in the License.
#
# SPDX-License-Identifier: MIT

list(APPEND DML_SECURITY_OPTIONS
-fPIC
Expand Down
15 changes: 2 additions & 13 deletions cmake/msvc.cmake
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
# Copyright (C) 2021 Intel Corporation
#
# Copyright 2021 Intel Corporation.
#
# This software and the related documents are Intel copyrighted materials,
# and your use of them is governed by the express license under which they
# were provided to you ("License"). Unless the License provides otherwise,
# you may not use, modify, copy, publish, distribute, disclose or transmit
# this software or the related documents without Intel's prior written
# permission.
#
# This software and the related documents are provided as is, with no
# express or implied warranties, other than those that are expressly
# stated in the License.
#
# SPDX-License-Identifier: MIT

list(APPEND DML_SECURITY_OPTIONS
/GS
Expand Down
15 changes: 2 additions & 13 deletions cmake/utils.cmake
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
# Copyright (C) 2021 Intel Corporation
#
# Copyright 2018-2021 Intel Corporation.
#
# This software and the related documents are Intel copyrighted materials,
# and your use of them is governed by the express license under which they
# were provided to you ("License"). Unless the License provides otherwise,
# you may not use, modify, copy, publish, distribute, disclose or transmit
# this software or the related documents without Intel's prior written
# permission.
#
# This software and the related documents are provided as is, with no
# express or implied warranties, other than those that are expressly
# stated in the License.
#
# SPDX-License-Identifier: MIT

macro(get_git_revision)
# Find git revision
Expand Down
16 changes: 3 additions & 13 deletions doc/_get_docs.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
#!/bin/bash
# ==========================================================================
# Copyright 2020-2021 Intel Corporation.
#
# This software and the related documents are Intel copyrighted materials,
# and your use of them is governed by the express license under which they
# were provided to you ("License"). Unless the License provides otherwise,
# you may not use, modify, copy, publish, distribute, disclose or transmit
# this software or the related documents without Intel's prior written
# permission.
#
# This software and the related documents are provided as is, with no
# express or implied warranties, other than those that are expressly
# stated in the License.
#
# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT
# ==========================================================================

set -ex
Expand Down
7 changes: 7 additions & 0 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT

breathe==4.31.0
Sphinx==4.3.2
sphinx-book-theme==0.2.0
29 changes: 12 additions & 17 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
# ==========================================================================
# Copyright 2020-2021 Intel Corporation.
#
# This software and the related documents are Intel copyrighted materials,
# and your use of them is governed by the express license under which they
# were provided to you ("License"). Unless the License provides otherwise,
# you may not use, modify, copy, publish, distribute, disclose or transmit
# this software or the related documents without Intel's prior written
# permission.
#
# This software and the related documents are provided as is, with no
# express or implied warranties, other than those that are expressly
# stated in the License.
# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT
# ==========================================================================

# -- Path setup --------------------------------------------------------------
Expand All @@ -30,12 +20,11 @@
project = 'Intel® DML'
copyright = '2022, Intel'
author = 'Intel'
release = 'v0.1.7-beta'
release = 'v0.1.8-beta'

# -- General configuration ---------------------------------------------------

extensions = [
'sphinx_rtd_theme',
'breathe'
]
templates_path = ['_templates']
Expand All @@ -62,10 +51,16 @@

# -- Options for HTML output -------------------------------------------------

import sphinx_rtd_theme
html_theme = "sphinx_book_theme"

html_theme = 'sphinx_rtd_theme'
# html_theme = 'sphinx_book_theme'
html_theme_options = {
'repository_url': 'https://github.com/intel/DML',
'path_to_docs': 'doc/source',
'use_issues_button': True,
'use_edit_page_button': True,
'repository_branch': 'develop',
'extra_footer': '<p align="right"><a href="https://www.intel.com/content/www/us/en/privacy/intel-cookie-notice.html">Cookies</a></p>'
}

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand Down
14 changes: 2 additions & 12 deletions doc/source/documentation/api_docs/high_level_api.rst
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
.. ***************************************************************************
.. * Copyright 2020-2021 Intel Corporation.
.. *
.. * This software and the related documents are Intel copyrighted materials,
.. * and your use of them is governed by the express license under which they
.. * were provided to you ("License"). Unless the License provides otherwise,
.. * you may not use, modify, copy, publish, distribute, disclose or transmit
.. * this software or the related documents without Intel's prior written
.. * permission.
.. *
.. * This software and the related documents are provided as is, with no
.. * express or implied warranties, other than those that are expressly
.. * stated in the License.
.. * Copyright (C) 2021 Intel Corporation
.. *
.. * SPDX-License-Identifier: MIT
.. ***************************************************************************/
High-level C++ API
Expand Down
20 changes: 5 additions & 15 deletions doc/source/documentation/api_docs/low_level_api.rst
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
.. ***************************************************************************
.. * Copyright 2020-2021 Intel Corporation.
.. *
.. * This software and the related documents are Intel copyrighted materials,
.. * and your use of them is governed by the express license under which they
.. * were provided to you ("License"). Unless the License provides otherwise,
.. * you may not use, modify, copy, publish, distribute, disclose or transmit
.. * this software or the related documents without Intel's prior written
.. * permission.
.. *
.. * This software and the related documents are provided as is, with no
.. * express or implied warranties, other than those that are expressly
.. * stated in the License.
.. * Copyright (C) 2021 Intel Corporation
.. *
.. * SPDX-License-Identifier: MIT
.. ***************************************************************************/
Low-level C API
Expand All @@ -22,8 +12,8 @@ Introduction
************


This document provides instructions on how to use the Intel® Data Mover
Library. It describes general usage concepts, main entities and
This document provides instructions on how to use the Intel® Data Mover Library.
It describes general usage concepts, main entities and
detailed operation descriptions.

For general introduction to Intel® DML, see `Introduction
Expand Down Expand Up @@ -116,7 +106,7 @@ where:
- ``path`` - has type ``dml_path_t`` and supports the following values:

- ``DML_PATH_HW`` – all hardware-supported features are executed
by Intel® DSA
by Intel® Data Streaming Accelerator
- ``DML_PATH_SW`` – all supported features are executed by the
software path of the library
- ``DML_PATH_AUTO`` – the library automatically dispatches execution
Expand Down
14 changes: 2 additions & 12 deletions doc/source/documentation/general_docs/notices.rst
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
.. ***************************************************************************
.. * Copyright 2020-2021 Intel Corporation.
.. *
.. * This software and the related documents are Intel copyrighted materials,
.. * and your use of them is governed by the express license under which they
.. * were provided to you ("License"). Unless the License provides otherwise,
.. * you may not use, modify, copy, publish, distribute, disclose or transmit
.. * this software or the related documents without Intel's prior written
.. * permission.
.. *
.. * This software and the related documents are provided as is, with no
.. * express or implied warranties, other than those that are expressly
.. * stated in the License.
.. * Copyright (C) 2021 Intel Corporation
.. *
.. * SPDX-License-Identifier: MIT
.. ***************************************************************************/
No license (express or implied, by estoppel or otherwise) to any
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
.. ***************************************************************************
.. * Copyright 2020-2021 Intel Corporation.
.. *
.. * This software and the related documents are Intel copyrighted materials,
.. * and your use of them is governed by the express license under which they
.. * were provided to you ("License"). Unless the License provides otherwise,
.. * you may not use, modify, copy, publish, distribute, disclose or transmit
.. * this software or the related documents without Intel's prior written
.. * permission.
.. *
.. * This software and the related documents are provided as is, with no
.. * express or implied warranties, other than those that are expressly
.. * stated in the License.
.. * Copyright (C) 2021 Intel Corporation
.. *
.. * SPDX-License-Identifier: MIT
.. ***************************************************************************/
Code Samples and examples
Expand Down
Loading

0 comments on commit 5a29563

Please sign in to comment.