Skip to content

Commit

Permalink
[SYCL][DOC] Change extension names to lower case (intel#5607)
Browse files Browse the repository at this point in the history
I found the all-upper-case names difficult to read, especially in a
directory listing where all the files are upper case.  Change them all
to lower case.  The name of the extension and the name of the file are
now lower case.  The name of the feature-test macro remains upper case.
  • Loading branch information
gmlueck authored and smaslov-intel committed Feb 19, 2022
1 parent 2711ddd commit d398743
Show file tree
Hide file tree
Showing 71 changed files with 112 additions and 112 deletions.
110 changes: 55 additions & 55 deletions sycl/ReleaseNotes.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sycl/doc/EnvironmentVariables.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ compiler and runtime.
| `SYCL_CACHE_THRESHOLD` | Positive integer | Cache eviction threshold in days (default value is 7 for 1 week). Set to 0 for disabling time-based cache eviction. |
| `SYCL_CACHE_MIN_DEVICE_IMAGE_SIZE` | Positive integer | Minimum size of device code image in bytes which is reasonable to cache on disk because disk access operation may take more time than do JIT compilation for it. Default value is 0 to cache all images. |
| `SYCL_CACHE_MAX_DEVICE_IMAGE_SIZE` | Positive integer | Maximum size of device image in bytes which is cached. Too big kernels may overload disk too fast. Default value is 1 GB. |
| `SYCL_ENABLE_DEFAULT_CONTEXTS` | '1' or '0' | Enable ('1') or disable ('0') creation of default platform contexts in SYCL runtime. The default context for each platform contains all devices in the platform. Refer to [Platform Default Contexts](extensions/supported/SYCL_EXT_ONEAPI_DEFAULT_CONTEXT.asciidoc) extension to learn more. Enabled by default on Linux and disabled on Windows. |
| `SYCL_ENABLE_DEFAULT_CONTEXTS` | '1' or '0' | Enable ('1') or disable ('0') creation of default platform contexts in SYCL runtime. The default context for each platform contains all devices in the platform. Refer to [Platform Default Contexts](extensions/supported/sycl_ext_oneapi_default_context.asciidoc) extension to learn more. Enabled by default on Linux and disabled on Windows. |
| `SYCL_USM_HOSTPTR_IMPORT` | Integer | Enable by specifying non-zero value. Buffers created with a host pointer will result in host data promotion to USM, improving data transfer performance. To use this feature, also set SYCL_HOST_UNIFIED_MEMORY=1. |

`(*) Note: Any means this environment variable is effective when set to any non-null value.`
Expand Down
2 changes: 1 addition & 1 deletion sycl/doc/GetStartedGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ SYCL_BE=PI_CUDA ./simple-sycl-app-cuda.exe

**NOTE**: DPC++/SYCL developers can specify SYCL device for execution using
device selectors (e.g. `cl::sycl::cpu_selector`, `cl::sycl::gpu_selector`,
[Intel FPGA selector(s)](extensions/supported/SYCL_EXT_INTEL_FPGA_DEVICE_SELECTOR.md)) as
[Intel FPGA selector(s)](extensions/supported/sycl_ext_intel_fpga_device_selector.md)) as
explained in following section [Code the program for a specific
GPU](#code-the-program-for-a-specific-gpu).

Expand Down
2 changes: 1 addition & 1 deletion sycl/doc/MultiTileCardWithLevelZero.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ One is using environment variable SYCL_DEVICE_FILTER described in [EnvironmentVa
$ SYCL_DEVICE_FILTER=level_zero sycl-ls
[level_zero:0] GPU : Intel(R) Level-Zero 1.1 [1.1.19792]
```
Another way is to use similar SYCL API described in [SYCL\_EXT\_ONEAPI\_FILTER\_SELECTOR](extensions/supported/SYCL_EXT_ONEAPI_FILTER_SELECTOR.asciidoc)
Another way is to use similar SYCL API described in [sycl\_ext\_oneapi\_filter\_selector](extensions/supported/sycl_ext_oneapi_filter_selector.asciidoc)
E.g. `filter_selector("level_zero")` will only see Level-Zero operated devices.

If there are multiple GPUs in a system then they will be seen as multiple different root-devices.
Expand Down
16 changes: 8 additions & 8 deletions sycl/doc/design/CompileTimeProperties.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Implementation design for compile time constant properties

This document describes the implementation design for the DPC++ extension
[SYCL\_EXT\_ONEAPI\_PROPERTIES][1], which adds a general mechanism for
[sycl\_ext\_oneapi\_properties][1], which adds a general mechanism for
specifying properties which are known at compile time. This extension is not
itself a feature, but rather a building block that can be incorporated into
other features.

[1]: <../extensions/proposed/SYCL_EXT_ONEAPI_PROPERTIES.asciidoc>
[1]: <../extensions/proposed/sycl_ext_oneapi_properties.asciidoc>

There are a number of situations where we plan to use compile-time constant
properties, but this design document does not attempt to address them all.
Expand Down Expand Up @@ -38,9 +38,9 @@ transformation is done.

One use for compile-time properties is with types that are used exclusively
for declaring global variables. One such example is the
[SYCL\_EXT\_ONEAPI\_DEVICE\_GLOBAL][2] extension:
[sycl\_ext\_oneapi\_device\_global][2] extension:

[2]: <../extensions/proposed/SYCL_EXT_ONEAPI_DEVICE_GLOBAL.asciidoc>
[2]: <../extensions/proposed/sycl_ext_oneapi_device_global.asciidoc>

```
namespace sycl::ext::oneapi {
Expand Down Expand Up @@ -144,11 +144,11 @@ order to do this translation.
## Properties on kernel arguments

Another use of compile-time properties is with types that are used to define
kernel arguments. For example, the [SYCL\_ONEAPI\_accessor\_properties][6]
kernel arguments. For example, the [sycl\_ext\_oneapi\_accessor\_properties][6]
extension could be redesigned to use compile-time properties. Such a redesign
might look like:

[6]: <../extensions/supported/SYCL_EXT_ONEAPI_ACCESSOR_PROPERTIES.asciidoc>
[6]: <../extensions/supported/sycl_ext_oneapi_accessor_properties.asciidoc>

```
namespace sycl {
Expand Down Expand Up @@ -270,11 +270,11 @@ the property value to a string if it is not already a string.
## Properties on kernel functions

Compile-time properties can also be used to decorate kernel functions as with
the [SYCL\_EXT\_ONEAPI\_PROPERTIES][8] extension. There are two ways the
the [sycl\_ext\_oneapi\_properties][8] extension. There are two ways the
application can specify these properties. The first is by passing a
`property_list` parameter to the function that submits the kernel:

[8]: <../extensions/proposed/SYCL_EXT_ONEAPI_PROPERTIES.asciidoc>
[8]: <../extensions/proposed/sycl_ext_oneapi_properties.asciidoc>

```
namespace sycl {
Expand Down
4 changes: 2 additions & 2 deletions sycl/doc/design/DeviceGlobal.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Implementation design for "device\_global"

This document describes the implementation design for the DPC++ extension
[SYCL\_EXT\_ONEAPI\_DEVICE\_GLOBAL][1], which allows applications to declare
[sycl\_ext\_oneapi\_device\_global][1], which allows applications to declare
global variables in device code.

[1]: <../extensions/proposed/SYCL_EXT_ONEAPI_DEVICE_GLOBAL.asciidoc>
[1]: <../extensions/proposed/sycl_ext_oneapi_device_global.asciidoc>


## Requirements
Expand Down
2 changes: 1 addition & 1 deletion sycl/doc/design/DeviceLibExtensions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Invoking `__devicelib_assert_read` after a kernel doesn't imply the kernel has
assertion failed.

See also: assert_extension_.
.. _assert_extension: ../extensions/supported/SYCL_EXT_ONEAPI_ASSERT.asciidoc)
.. _assert_extension: ../extensions/supported/sycl_ext_oneapi_assert.asciidoc)

cl_intel_devicelib_math
==========================
Expand Down
2 changes: 1 addition & 1 deletion sycl/doc/design/OptionalDeviceFeatures.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ non-FPGA users may want to use the `device_global` property
[`device_image_scope`][5], which requires even non-FPGA users to have precise
control over the way kernels are bundled into device images.

[5]: <../extensions/proposed/SYCL_EXT_ONEAPI_DEVICE_GLOBAL.asciidoc#properties-for-device-global-variables>
[5]: <../extensions/proposed/sycl_ext_oneapi_device_global.asciidoc#properties-for-device-global-variables>

The new definition of `-fsycl-device-code-split` is as follows:

Expand Down
2 changes: 1 addition & 1 deletion sycl/doc/design/Reduction_status.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

There are 2 specifications of the reduction feature and both are still actual:

* `sycl::ext::oneapi::reduction` is described in [this document](../extensions/deprecated/SYCL_EXT_ONEAPI_ND_RANGE_REDUCTIONS.md). This extension is deprecated, and was created as part of a pathfinding/prototyping work before it was added to SYCL 2020 standard.
* `sycl::ext::oneapi::reduction` is described in [this document](../extensions/deprecated/sycl_ext_oneapi_nd_range_reductions.md). This extension is deprecated, and was created as part of a pathfinding/prototyping work before it was added to SYCL 2020 standard.

* `sycl::reduction` is described in [SYCL 2020 standard](https://www.khronos.org/registry/SYCL/specs/sycl-2020/html/sycl-2020.html#sec:reduction).

Expand Down
2 changes: 1 addition & 1 deletion sycl/doc/design/fpga_io_pipes_design.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Requirements
Links
-----
.. _Spec: ../extensions/supported/SYCL_EXT_INTEL_DATAFLOW_PIPES.asciidoc
.. _Spec: ../extensions/supported/sycl_ext_intel_dataflow_pipes.asciidoc
.. _Interesting comment from Ronan: https://github.com/intel/llvm/pull/635#discussion_r325851766

Summary
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ OneAPI provides the "Explicit SIMD" SYCL extension (or simply "ESIMD") for
lower-level Intel GPU programming. It provides APIs closely matching Intel GPU ISA
yet allows to write explicitly vectorized device code. This helps programmer to
have more control over the generated code and depend less on compiler
optimizations. The [specification](SYCL_EXT_INTEL_ESIMD.md),
optimizations. The [specification](sycl_ext_intel_esimd.md),
[API reference](https://intel.github.io/llvm-docs/doxygen/group__sycl__esimd.html), and
[working code examples](https://github.com/intel/llvm-test-suite/tree/intel/SYCL/ESIMD) are available on the Intel DPC++ project's github.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= SYCL_EXT_ONEAPI_GROUP_LOAD_STORE
= sycl_ext_oneapi_group_load_store
:source-highlighter: coderay
:coderay-linenums-mode: table

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= SYCL_EXT_ONEAPI_GROUP_SORT
= sycl_ext_oneapi_group_sort
:source-highlighter: coderay
:coderay-linenums-mode: table

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Matrix Programming Extension for DPC++: SYCL_EXT_ONEAPI_MATRIX
# Matrix Programming Extension for DPC++: sycl_ext_oneapi_matrix
:source-highlighter: coderay
:coderay-linenums-mode: table
:dpcpp: pass:[DPC++]
Expand Down Expand Up @@ -567,7 +567,7 @@ for (int i = 0; i < msize; i++)


### Memory scope
The current experimental API uses `joint_` semantics to define the memory scope of the matrix. The long term solution is to use the proposed link:../supported/SYCL_EXT_ONEAPI_LOCAL_MEMORY.asciidoc[`group_local_memory` extension] to allocate the matrix in local memory associated with a SYCL group as shown in the example below.
The current experimental API uses `joint_` semantics to define the memory scope of the matrix. The long term solution is to use the proposed link:../supported/sycl_ext_oneapi_local_memory.asciidoc[`group_local_memory` extension] to allocate the matrix in local memory associated with a SYCL group as shown in the example below.


```c++
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SYCL_EXT_ONEAPI_MAX_WORK_GROUP_QUERY
# sycl_ext_oneapi_max_work_group_query

## Notice

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
IMPORTANT: This is a proposed update to an existing extension. The APIs
described in this document are not yet implemented and cannot be used in
application code. See
link:../supported/SYCL_EXT_INTEL_DATAFLOW_PIPES.asciidoc[here] for the existing
link:../supported/sycl_ext_intel_dataflow_pipes.asciidoc[here] for the existing
extension, which is implemented.

NOTE: Khronos(R) is a registered trademark and SYCL(TM) and SPIR(TM) are trademarks of The Khronos Group Inc. OpenCL(TM) is a trademark of Apple Inc. used by permission by Khronos.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ described in this document are not yet implemented and cannot be used in
application code. See [here][1] for the existing extension, which is
implemented.

[1]: <../supported/SYCL_EXT_INTEL_FPGA_LSU.md>
[1]: <../supported/sycl_ext_intel_fpga_lsu.md>

The Intel FPGA `lsu` class is implemented in `sycl/ext/intel/fpga_lsu.hpp` which
is included in `sycl/ext/intel/fpga_extensions.hpp`.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= SYCL_EXT_ONEAPI_COMPLEX_ALGORITHMS
= sycl_ext_oneapi_complex_algorithms
:source-highlighter: coderay
:coderay-linenums-mode: table

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= SYCL_EXT_ONEAPI_DEVICE_GLOBAL
= sycl_ext_oneapi_device_global

:source-highlighter: coderay
:coderay-linenums-mode: table
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= SYCL_EXT_ONEAPI_DEVICE_IF
= sycl_ext_oneapi_device_if
:source-highlighter: coderay
:coderay-linenums-mode: table

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= SYCL_EXT_ONEAPI_FREE_FUNCTION_QUERIES
= sycl_ext_oneapi_free_function_queries
:source-highlighter: coderay
:coderay-linenums-mode: table

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= SYCL_EXT_ONEAPI_INVOKE_SIMD
= sycl_ext_oneapi_invoke_simd
:source-highlighter: coderay
:coderay-linenums-mode: table

Expand Down Expand Up @@ -53,7 +53,7 @@ Jason Sewall, Intel (jason 'dot' sewall 'at' intel 'dot' com) +
This extension is written against the SYCL 2020 specification, Revision 4 and the following extensions:

- SPV_INTEL_function_pointers
- SYCL_EXT_ONEAPI_UNIFORM
- sycl_ext_oneapi_uniform

== Feature Test Macro

Expand Down Expand Up @@ -183,7 +183,7 @@ is an error, and an implementation must issue a diagnostic.

To enable overloading in cases where the `Callable` accepts either a scalar
type or a SIMD type, we leverage the `sycl::ext::oneapi::experimental::uniform` wrapper
type from the `SYCL_EXT_ONEAPI_UNIFORM` extension.
type from the `sycl_ext_oneapi_uniform` extension.

Each argument in the `args` parameter pack must be an arithmetic type, a
trivially copyable type wrapped in a `sycl::ext::oneapi::experimental::uniform`, or a
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= SYCL_EXT_ONEAPI_KERNEL_PROPERTIES
= sycl_ext_oneapi_kernel_properties
:source-highlighter: coderay
:coderay-linenums-mode: table

Expand Down Expand Up @@ -58,7 +58,7 @@ Roland Schulz, Intel
This extension is written against the SYCL 2020 specification, Revision 4 and
the following extensions:

- link:SYCL_EXT_ONEAPI_PROPERTIES.asciidoc[SYCL_EXT_ONEAPI_PROPERTIES]
- link:sycl_ext_oneapi_properties.asciidoc[sycl_ext_oneapi_properties]

== Feature Test Macro

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
:sectnums:

= `SYCL_EXT_ONEAPI_PROPERTIES`
= `sycl_ext_oneapi_properties`

== Introduction

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= SYCL_EXT_ONEAPI_UNIFORM
= sycl_ext_oneapi_uniform
:source-highlighter: coderay
:coderay-linenums-mode: table

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= SYCL_EXT_INTEL_MEM_CHANNEL_PROPERTY
= sycl_ext_intel_mem_channel_property

== Introduction
NOTE: Khronos(R) is a registered trademark and SYCL(TM) and SPIR(TM) are trademarks of The Khronos Group Inc. OpenCL(TM) is a trademark of Apple Inc. used by permission by Khronos.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= SYCL_EXT_INTEL_USM_ADDRESS_SPACES
= sycl_ext_intel_usm_address_spaces

== Introduction
This extension introduces two new address spaces and their corresponding multi_ptr specializations.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= SYCL_EXT_ONEAPI_ASSERT
= sycl_ext_oneapi_assert

:source-highlighter: coderay
:coderay-linenums-mode: table
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ For further details see here: <https://github.com/intel/llvm/blob/sycl/sycl/doc/
### 3.2 Through a programming API
There is an extension that introduces a filtering device selection to SYCL described in
[SYCL\_EXT\_ONEAPI\_FILTER\_SELECTOR](../supported/SYCL_EXT_ONEAPI_FILTER_SELECTOR.asciidoc).
[sycl\_ext\_oneapi\_filter\_selector](../supported/sycl_ext_oneapi_filter_selector.asciidoc).
Similar to how SYCL_DEVICE_FILTER applies filtering to the entire process this device selector can be used to
programmatically select the Level-Zero backend.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= SYCL_EXT_ONEAPI_DISCARD_QUEUE_EVENTS
= sycl_ext_oneapi_discard_queue_events
:source-highlighter: coderay
:coderay-linenums-mode: table

Expand Down Expand Up @@ -168,7 +168,7 @@ enum class event_command_status : int {
This non-normative section describes the conditions when the DPC++ implementation provides an optimization benefit* for the `discard_events` property.

- The queue must be constructed with the `in_order` property.
- A kernel submitted to the queue must not use the link:../supported/SYCL_EXT_ONEAPI_ASSERT.asciidoc[fallback assert feature].
- A kernel submitted to the queue must not use the link:../supported/sycl_ext_oneapi_assert.asciidoc[fallback assert feature].
- A queue operation submitted to the queue must not use streams or buffer / image accessors. However, local accessors do not inhibit optimization.
- Any queue operations using Level Zero backend temporarily work without optimization.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= SYCL_EXT_ONEAPI_ENQUEUE_BARRIER
= sycl_ext_oneapi_enqueue_barrier
:source-highlighter: coderay
:coderay-linenums-mode: table

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
This extension has been deprecated, but the specification is still available
link:../deprecated/SYCL_EXT_ONEAPI_GROUP_ALGORITHMS.asciidoc[here].
link:../deprecated/sycl_ext_oneapi_group_algorithms.asciidoc[here].
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= SYCL_EXT_ONEAPI_LOCAL_MEMORY
= sycl_ext_oneapi_local_memory

:source-highlighter: coderay
:coderay-linenums-mode: table
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This extension has been deprecated, but the specification is still available
[here][1].

[1]: <../deprecated/SYCL_EXT_ONEAPI_ND_RANGE_REDUCTIONS.md>
[1]: <../deprecated/sycl_ext_oneapi_nd_range_reductions.md>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= SYCL_EXT_ONEAPI_SRGB
= sycl_ext_oneapi_srgb
:source-highlighter: coderay
:coderay-linenums-mode: table

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
This extension has been deprecated, but the specification is still available
link:../deprecated/SYCL_EXT_ONEAPI_SUB_GROUP.asciidoc[here].
link:../deprecated/sycl_ext_oneapi_sub_group.asciidoc[here].
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= SYCL_EXT_ONEAPI_SUB_GROUP_MASK
= sycl_ext_oneapi_sub_group_mask
:source-highlighter: coderay
:coderay-linenums-mode: table

Expand Down
2 changes: 1 addition & 1 deletion sycl/include/CL/sycl/detail/type_traits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ __SYCL_INLINE_CONSTEXPR bool is_group_v =
namespace detail {
// Type for Intel device UUID extension.
// For details about this extension, see
// sycl/doc/extensions/supported/SYCL_EXT_INTEL_DEVICE_INFO.md
// sycl/doc/extensions/supported/sycl_ext_intel_device_info.md
using uuid_type = std::array<unsigned char, 16>;

template <typename T, typename R> struct copy_cv_qualifiers;
Expand Down
2 changes: 1 addition & 1 deletion sycl/include/sycl/ext/intel/experimental/esimd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/// @defgroup sycl_esimd DPC++ Explicit SIMD API
/// This is a low-level API providing direct access to Intel GPU hardware
/// features. ESIMD overview can be found
/// [here](https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/experimental/SYCL_EXT_INTEL_ESIMD/SYCL_EXT_INTEL_ESIMD.md).
/// [here](https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/experimental/sycl_ext_intel_esimd/sycl_ext_intel_esimd.md).
/// Some terminology used in the API documentation:
/// - *lane* -
/// (or "vector lane") Individual "lane" of input and output elements
Expand Down
4 changes: 2 additions & 2 deletions sycl/include/sycl/ext/oneapi/group_local_memory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ std::enable_if_t<std::is_trivially_destructible<T>::value &&
return reinterpret_cast<__attribute__((opencl_local)) T *>(AllocatedMem);
#else
throw feature_not_supported(
"SYCL_EXT_ONEAPI_LOCAL_MEMORY extension is not supported on host device",
"sycl_ext_oneapi_local_memory extension is not supported on host device",
PI_INVALID_OPERATION);
#endif
}
Expand All @@ -60,7 +60,7 @@ std::enable_if_t<std::is_trivially_destructible<T>::value &&
// Silence unused variable warning
[&args...] {}();
throw feature_not_supported(
"SYCL_EXT_ONEAPI_LOCAL_MEMORY extension is not supported on host device",
"sycl_ext_oneapi_local_memory extension is not supported on host device",
PI_INVALID_OPERATION);
#endif
}
Expand Down
2 changes: 1 addition & 1 deletion sycl/plugins/cuda/pi_cuda.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1744,7 +1744,7 @@ pi_result cuda_piDeviceGetInfo(pi_device device, pi_device_info param_name,
case PI_DEVICE_INFO_MAX_MEM_BANDWIDTH:
// TODO: Check if Intel device UUID extension is utilized for CUDA.
// For details about this extension, see
// sycl/doc/extensions/supported/SYCL_EXT_INTEL_DEVICE_INFO.md
// sycl/doc/extensions/supported/sycl_ext_intel_device_info.md
case PI_DEVICE_INFO_UUID:
return PI_INVALID_VALUE;

Expand Down

0 comments on commit d398743

Please sign in to comment.