oneAPI-samples icon indicating copy to clipboard operation
oneAPI-samples copied to clipboard

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

Open rasenjop opened this issue 2 years ago • 2 comments

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]

rasenjop avatar Feb 22 '23 18:02 rasenjop

OneSmpl_Team1 working on this.

hexu33 avatar Apr 25 '23 01:04 hexu33

(OneSmpl_Team1)

@rasenjop

tried latest code with oneAPI 2023.1 release, no DEPRECATED warnings now.

hexu33 avatar Apr 25 '23 01:04 hexu33