Skip to content

Add the specification to the docs#2621

Merged
akukanov merged 1 commit intomainfrom
doc/add-spec-sources
Mar 23, 2026
Merged

Add the specification to the docs#2621
akukanov merged 1 commit intomainfrom
doc/add-spec-sources

Conversation

@akukanov
Copy link
Copy Markdown
Contributor

@akukanov akukanov commented Mar 17, 2026

Copy the oneDPL specification source files from https://github.com/uxlfoundation/oneAPI-spec/tree/main/source/elements/oneDPL/source, commit 0d9d8e993c3b077dad7922c8f3096d9dd5d938d0

@akukanov akukanov force-pushed the doc/add-spec-sources branch 6 times, most recently from e97510c to 571180b Compare March 18, 2026 11:08
@akukanov akukanov marked this pull request as ready for review March 18, 2026 11:27
@akukanov akukanov marked this pull request as draft March 18, 2026 11:27
@akukanov akukanov changed the title Documentation restructure and improvements Add the specification to the docs Mar 18, 2026
@akukanov akukanov added this to the 2022.12.0 milestone Mar 18, 2026
@akukanov akukanov force-pushed the doc/add-spec-sources branch from 02b25cc to 3624ad9 Compare March 19, 2026 14:27
@akukanov akukanov marked this pull request as ready for review March 19, 2026 14:28
timmiesmith
timmiesmith previously approved these changes Mar 19, 2026
Copy link
Copy Markdown
Contributor

@timmiesmith timmiesmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. I noticed that we're not consistent in the use of dates in the copyright notice. I'd prefer to see the years removed for simplicity, but if we need to keep them I've checked the oneAPI-spec repo to identify what the ranges should be for each file.

@@ -0,0 +1,197 @@
.. SPDX-FileCopyrightText: 2019-2022 Intel Corporation
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.. SPDX-FileCopyrightText: 2019-2022 Intel Corporation
.. SPDX-FileCopyrightText: 2019-2025 Intel Corporation

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will update the copyrights in a subsequent PR.

@@ -0,0 +1,309 @@
.. SPDX-FileCopyrightText: 2019-2022 Intel Corporation
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.. SPDX-FileCopyrightText: 2019-2022 Intel Corporation
.. SPDX-FileCopyrightText: 2019-2025 Intel Corporation

Update year to the last time a PR touched the file.

@@ -0,0 +1,113 @@
.. SPDX-FileCopyrightText: 2019-2022 Intel Corporation
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.. SPDX-FileCopyrightText: 2019-2022 Intel Corporation
.. SPDX-FileCopyrightText: 2019-2025 Intel Corporation

Update year to the last time a PR touched the file.

@@ -0,0 +1,243 @@
.. SPDX-FileCopyrightText: 2019-2022 Intel Corporation
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.. SPDX-FileCopyrightText: 2019-2022 Intel Corporation
.. SPDX-FileCopyrightText: 2019-2025 Intel Corporation

@@ -0,0 +1,457 @@
.. SPDX-FileCopyrightText: 2019-2022 Intel Corporation
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.. SPDX-FileCopyrightText: 2019-2022 Intel Corporation
.. SPDX-FileCopyrightText: 2019-2025 Intel Corporation

@@ -0,0 +1,1054 @@
.. SPDX-FileCopyrightText: Contributors to the oneAPI Specification project.
..
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no mention of the Copyright year(s) here. Do we want to remove the years from the other files or add it here so that we are consistent?

@@ -0,0 +1,53 @@
.. SPDX-FileCopyrightText: 2019-2022 Intel Corporation
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.. SPDX-FileCopyrightText: 2019-2022 Intel Corporation
.. SPDX-FileCopyrightText: 2019-2024 Intel Corporation

@@ -0,0 +1,27 @@
# SPDX-FileCopyrightText: 2019-2020 Intel Corporation
#
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be the oldest file and doesn't mention years in the copyright notice. I think I'd prefer to remove it from the others to be consistent.

@@ -0,0 +1,50 @@
.. SPDX-FileCopyrightText: 2019-2022 Intel Corporation
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.. SPDX-FileCopyrightText: 2019-2022 Intel Corporation
.. SPDX-FileCopyrightText: 2019-2024 Intel Corporation

If we decide to keep years in the notice

@@ -0,0 +1,30 @@
.. SPDX-FileCopyrightText: 2019-2022 Intel Corporation
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.. SPDX-FileCopyrightText: 2019-2022 Intel Corporation
.. SPDX-FileCopyrightText: 2019-2025 Intel Corporation

oneDPL Specification
====================

This is the specification of |onedpl_long|, version 1.5.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should mention that the history can be found at https://github.com/uxlfoundation/oneAPI-spec/, and that we are copying this as of a specific commit hash (15dd358db74b31dc9a5668b8127d872f4210ed3a).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will mention that in the commit message, as well as in the description of this PR which the commit message will refer to. I think that should be sufficient to track the history.

@akukanov
Copy link
Copy Markdown
Contributor Author

akukanov commented Mar 20, 2026

@timmiesmith @danhoeflinger My intent for this PR was to just copy the source files and do bare minimum necessary to add the spec into the doc tree, with other changes done in subsequent PRs.

Maybe I should leave just the single "copy the files" commit here, making all other changes in a new PR. Update: I have done that.

Copy link
Copy Markdown
Contributor

@timmiesmith timmiesmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you.

Copy link
Copy Markdown
Contributor

@danhoeflinger danhoeflinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@akukanov akukanov merged commit 922dd10 into main Mar 23, 2026
2 checks passed
@akukanov akukanov deleted the doc/add-spec-sources branch March 23, 2026 14:52
@dmitriy-sobolev
Copy link
Copy Markdown
Contributor

dmitriy-sobolev commented Mar 24, 2026

Should we integrate the specification into the documentation tree, e.g. by adding it into https://github.com/uxlfoundation/oneDPL/blob/main/documentation/library_guide/guide_toc.rst or https://github.com/uxlfoundation/oneDPL/blob/main/documentation/index.rst?

@timmiesmith
Copy link
Copy Markdown
Contributor

Should we integrate the specification into the documentation tree, e.g. by adding it into https://github.com/uxlfoundation/oneDPL/blob/main/documentation/library_guide/guide_toc.rst or https://github.com/uxlfoundation/oneDPL/blob/main/documentation/index.rst?

#2640 does this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants