oneapi-src / oneapi-src/oneAPI-samples

Libraries/oneDPL/ examples throw a lot of DEPRECATED warnings with oneAPI 2023.0.0

Open
#1,376 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
1.2k
Forks
745
PR merge metrics
No merged PRs in 30d

Description

Summary

Just to point out that oneDPL 2022 version provided with oneAPI 2023 needs to be updated.

Version

oneAPI 2023.0.0 on Ubuntu 20.04

Steps to reproduce

cd oneAPI-samples/Libraries/oneDPL/maxloc_reductions
make

Plenty of DEPRECATED warnings arise. For example:

/opt/intel/oneapi/dpl/2022.0.0/linux/include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl.h:727:91: warning: 'local' is deprecated: use local_accessor instead [-Wdeprecated-declarations]

/opt/intel/oneapi/dpl/2022.0.0/linux/include/oneapi/dpl/pstl/hetero/dpcpp/execution_sycl_defs.h:390:27: warning: 'get_infosycl::info::kernel_device_specific::max_sub_group_size' is deprecated: Use the overload without the second parameter [-Wdeprecated-declarations]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running make in Libraries/oneDPL/maxloc_reductions with oneAPI 2023.0.0 and record the deprecated warnings from the bundled oneDPL headers. Trace how this sample selects its oneDPL and SYCL dependencies; done means the example builds without the reported deprecation warnings or documents an updated supported dependency.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.