Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
CXX: icpx
steps:
- uses: actions/checkout@v4
- uses: rscohn2/setup-oneapi@v0
- uses: rscohn2/setup-oneapi@v0.1.0
with:
components: |
icx@2023.2.1
icx
- name: Build Examples
run: |
source /opt/intel/oneapi/setvars.sh
Expand Down
25 changes: 11 additions & 14 deletions source/conf.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Copyright 2024 The Khronos Group Inc.
# SPDX-License-Identifier: Apache-2.0

import os
import re
import string
Expand Down Expand Up @@ -93,28 +92,26 @@ def make_ref(ref_str, ref_view, ref_sufix):
)
+ make_ref("SYCL_SPEC_PLATFORM", "Section 4.6.2", "#sec:platform-class")
+ make_ref("SYCL_SPEC_DEVICE", "Section 4.6.4", "#sec:device-class")
+ make_ref(
"SYCL_SPEC_CONTEXT", "Section 4.6.3", "#sec:interface.context.class"
)
+ make_ref("SYCL_SPEC_CONTEXT", "Section 4.6.3", "#sec:context-class")
+ make_ref(
"SYCL_SPEC_MEMORY_ORDERING", "Section 3.8.3.1", "#sec:memory-ordering"
)
+ make_ref(
"SYCL_SPEC_MEMORY_SCOPE", "Section 3.8.3.2", "#sec:memory-scope"
)
+ make_ref("SYCL_SPEC_QUEUE", "Section 4.6.5", "#sec:queue-class")
+ make_ref(
"SYCL_SPEC_QUEUE", "Section 4.6.5", "#sec:interface.queue.class"
)
+ make_ref(
"SYCL_SPEC_QUEUE_PROPERTIES", "Table 31", "#table.properties.queue"
"SYCL_SPEC_QUEUE_PROPERTIES",
"Section 4.6.5.5",
"#sec:queue-properties",
)
+ make_ref("SYCL_SPEC_ERROR_HANDLING", "Section 4.13", "#error-handling")
+ make_ref(
"SYCL_SPEC_WITHOUT_ASYC_HANDLER",
"Section 4.13.1.2",
"#subsubsec:exception.nohandler",
)
+ make_ref("SYCL_SPEC_EVENT", "Section 4.6.6", "#sec:interface.event")
+ make_ref("SYCL_SPEC_EVENT", "Section 4.6.6", "#sec:event-class")
+ make_ref("SYCL_SPEC_USM", "Section 4.8", "#sec:usm")
+ make_ref(
"SYCL_SPEC_USM_KINDS",
Expand Down Expand Up @@ -209,8 +206,8 @@ def make_ref(ref_str, ref_view, ref_sufix):
)
+ make_ref(
"SYCL_SYNC_PARALLEL_FOR_HIERARCHICAL",
"Section 4.7.5",
"#_parallel_for_hierarchical_invoke",
"Section 4.9.4.2.3",
"#sec:parallel-for-hierarchical",
)
+ make_ref(
"SYCL_SPEC_ND_RANGE", "Section 4.9.1.2", "#subsubsec:nd-range-class"
Expand Down Expand Up @@ -287,7 +284,7 @@ def make_ref(ref_str, ref_view, ref_sufix):
+ make_ref(
"SYCL_SPEC_PAR_FOR_HIER",
"Section 4.9.4.2.3",
"#_parallel_for_hierarchical_invoke",
"#sec:parallel-for-hierarchical",
)
+ make_ref(
"SYCL_SPEC_PAR_FOR", "Section 4.9.4.2.2", "#_parallel_for_invoke"
Expand Down Expand Up @@ -384,15 +381,15 @@ def make_ref(ref_str, ref_view, ref_sufix):
+ make_ref(
"SYCL_SPEC_RELATIONAL_FUNC",
"Section 4.17.10",
"#_relational_functions",
"#sec:relational-functions",
)
+ make_ref(
"SYCL_SPEC_GEOM_FUNCTIONS",
"Section 4.17.9",
"#sec:geometric-functions",
)
+ make_ref(
"SYCL_SPEC_MATH_FUNCTIONS", "Section 4.17.4", "#_math_functions"
"SYCL_SPEC_MATH_FUNCTIONS", "Section 4.17.4", "#sec:math-functions"
)
+ f"""
.. _`SYCL Specification`: {sycl_ref_url}
Expand Down
Loading