Skip to content

Remove deprecated oneapi extensions (partially assigned, additional assigneess welcome) #22581

Description

@KornevNikita

Describe the bug

Currently we have 3 deprecated extensions that have been deprecated in favor of core spec / khr extensions.
We need to:

  1. deprecate the API (although I assume that it's deprecated already, but need to double-check and deprecate the leftover if any).
  2. guard all deprecated stuff with #ifndef __INTEL_PREVIEW_BREAKING_CHANGES to remove in the next ABI-break window.
  3. All 3 extensions specifications are duplicated - there is a file in extensions/supported & extensions/deprecated. Usually we move specifications to the removed folder, but we can't do this until the API is removed. So I suggest to add a comment like this to the file in the supported dir:
// __INTEL_PREVIEW_BREAKING_CHANGES: remove this file along with the feature during the next ABI-break window.

and a comment like this to the file in the deprecated dir:

// __INTEL_PREVIEW_BREAKING_CHANGES: during the ABI-break window update the status of this specification according to https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/template.asciidoc and move it to the `removed` folder along with the removal of this feature.

Note - I suggest to remove each spec in a separate PR to avoid huge patches.

To reproduce

  1. Include a code snippet that is as short as possible
  2. Specify the command which should be used to compile the program
  3. Specify the command which should be used to launch the program
  4. Indicate what is wrong and what was expected

Environment

  • OS: [e.g Windows/Linux]
  • Target device and vendor: [e.g. Intel GPU]
  • DPC++ version: [e.g. commit hash or output of clang++ --version]
  • Dependencies version: [e.g. the output of sycl-ls --verbose]

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions