Skip to content

Releases: intel/llvm

DPC++ daily 2022-10-31

31 Oct 16:40
f736d5e

Choose a tag to compare

Pre-release
[SYCL] Fix a couple of memory corruptions. (#7231)

1. It's UB to construct std::string using nullptr which may happen with
mock device images in SYCL unittests
2. Fixed a couple of mock "getInfo" PI APIs that were casting
param_value to an incorrect type.

DPC++ daily 2022-10-30

30 Oct 16:34
ea7e716

Choose a tag to compare

Pre-release
[CI][NFC] Fix github actions warnings (#7169)

One more fix became available.
Also update some CI workflows according to current testing setup:
* Trigger post commit testing load in pre-commit time if corresponding
sub-workflows changed
* Ignore Windows/MacOS sub-workflows changes in pre-commit testing load,
they are not actually tested by pre-commit

DPC++ daily 2022-10-29

29 Oct 16:39
ea7e716

Choose a tag to compare

Pre-release
[CI][NFC] Fix github actions warnings (#7169)

One more fix became available.
Also update some CI workflows according to current testing setup:
* Trigger post commit testing load in pre-commit time if corresponding
sub-workflows changed
* Ignore Windows/MacOS sub-workflows changes in pre-commit testing load,
they are not actually tested by pre-commit

DPC++ daily 2022-10-28

28 Oct 16:43
bc1b306

Choose a tag to compare

Pre-release
sycl-nightly/20221028

[NFC][SYCL][Reduction] Move "Out" accessor down to the implementation…

DPC++ daily 2022-10-27

27 Oct 16:41
4b5ad3c

Choose a tag to compare

Pre-release
[NFCI][SYCL] Remove Reduction::getOutPointer (#7184)

Both USM pointers/accessors work with operator[] just fine.

DPC++ daily 2022-10-26

26 Oct 16:39
efa7b0d

Choose a tag to compare

Pre-release
[SYCL] Specify kernels in kernel_bundle for MultipleDevsCache (#7188)

This commit changes the ProgramRetain test in MultipleDevsCache to be
explicit about which kernels should be included in the corresponding
kernel bundle. This prevents the kernel bundle from inadvertently
building programs that are unrelated to the test.

Signed-off-by: Larsen, Steffen <[email protected]>

DPC++ daily 2022-10-25

25 Oct 16:46
5fbde9e

Choose a tag to compare

Pre-release
[SYCL] Fix post-commit warning treated as error (#7173)

Compiler emits a warning when there is a return of std::move of a local
variable.

DPC++ daily 2022-10-23

23 Oct 16:37
6c9a380

Choose a tag to compare

Pre-release
[SYCL] Fix event status query during queue flushing (#7147)

Some events may have no native handle even at the point of cross queue
dependency flushing (e.g. those produced by a 0 size memset, where no PI
call is actually made). This patch changes the assertion of native
handle's existence into a check so that we handle this case properly.

oneAPI DPC++ Compiler 2022-09

21 Oct 06:23
0f579ba

Choose a tag to compare

New features

SYCL Compiler

  • Added ability to enforce stateless memory accesses for ESIMD. [1811162]
  • Added support for -fsycl-force-target compiler option. [1d95f2e]
  • Added support for [[intel::max_reinvocation_delay]] loop attribute. [90fa5bb]
  • Added support for -fsycl-huge-device-code compiler option, which allows
    linking object files larger than 2GB. [f963062]
  • Added support for compiling .cu files with SYCL compiler. [e76ad72]
  • Added support for assert on HIP backend. [ade1870]
  • Enabled CXX standard library functions for CUDA backend. [1fe92c5]
  • Implemented group collective built-in functions for more integral types. [d4933b6]

SYCL Library

  • Implemented SYCL 2020 callable device selectors. [64f0db7]
  • Implemented SYCL 2020 standalone device selectors. [bfc7e98]
  • Added SYCL 2020 property interfaces for local_accessor, usm_allocator,
    accessor and host_accessor classes. [1136b40] [da7dcf8]
  • Added support for fpga_simulator_selector. [9bef890]
  • Added support for local_accessor. Deprecated target::local. [e4423ef]
  • Added support for querying free device memory on Level Zero backend. [0eeef2b]
  • Added support for querying free device memory on CUDA and HIP backends. [436f0d8]
  • Implemented bfloat16 conversions from/to float for host. [2a383f1]
  • Added support for ext::oneapi::property::queue::discard_events to
    Level Zero PI plugin. [1372120]
  • Added lsc_atomic support on ESIMD emulator. [0c051a8]
  • Added dpas support on ESIMD emulator. [3d506a3]
  • Added C++ API for imf libdevice built-ins. [830916a]
  • Implemented make_queue for CUDA backend. [89460e8]
  • Implemented has_native_event and make_event for CUDA backend. [74369c8]
  • Added support of CUDA XPTI tracing. [0cd0414]
  • Introduced predicates for ESIMD lsc_block_store/load. [f44edce]
  • Added experimental set_kernel_properties API and use_double_grf property
    for ESIMD. [9a55da5]
  • Added "eager initialization" mode to Level Zero PI plugin. It might result
    in an unnecessary work done by the plugin, but ensures the fastest possible
    execution on hot and reportable paths. [c145959]
  • Added full support of element wise operations on joint_matrix on CUDA
    backend including bfloat16 support. [0a1d751]
  • Implemented group::get_linear_id(int) method [6e83c12]

Documentation

Improvements

SYCL Library

  • Ensured that a correct errc thrown for an unassociated placeholder
    accessor. [4f9935a]
  • Removed dependency on OpenCL ICD Loader from the runtime. [90e8b5e]
  • Added support for ZEBIN format to persistent caching mechanism. [34dcf83]
  • Added identification mechanism for binaries in newer ZEBIN format. [f4dee54]
  • Switched to use struct information descriptors in accordance with SYCL 2020.
    Removed some deprecated information queries. [b3cbda5]
  • Updated kernel_device_specific::max_sub_group_size query to match SYCL 2020
    spec. Deprecated the old variant. [7842d05]
  • Deprecated SYCL 1.2.1 device selectors. [c058380]
  • Improved error messages reported for unsupported device partitioning. [1c9ddba]
  • Made device and platform default to default_selector_v. [b32dd41]
  • Deprecated address_space::constant_space. [351b123]
  • Marked sycl::exception::has_context as noexcept. [ad923c9]
  • Improved range reductions performance on CPU. [3323da6]
  • Made sycl::exception nothrow copy constructible. [289e33d]
  • Marked has_property methods as noexcept. [417b5a2]
  • Improved sycl::event::get_profiling_info exception message when event is
    default constructed. [2e86cd4]
  • Added a diagnostic (in form of static_assert) about kernel lambda size
    mismatch between host and device. [d278c67] [ec179b7] [f417a88]
  • Updated pipes class to throw exceptions if used on host. [eab2969]
  • Updated ESIMD Emulator PI plugin to report support for cl_khr_fp64
    extension. [398571a]
  • Updated Level Zero plugin to prefer copy engine for memory read/write
    operations. [65c3ea2]
  • Optimized some memory transfers. [92d35cd]
  • Enabled event caching in Level Zero PI plugin. [a41b33c]
  • Optimized some reductions with parallel_for accepting sycl::range
    for discrete GPUs. [c22a5d3]
  • Improved performance of event synchronization on CUDA backend. [c4f326a]
  • Added ability to use descendent devices of context members within that
    context. Not supported with OpenCL backend yet. [a0c8c50] [78a483c]
  • Added support for querying atomic64 device capability with HIP backend. [cb190fc]
  • Enabled FTZ operations for CUDA/PTX backend via
    -fcuda-flush-denormals-to-zero. [e8e7ae8]
  • Improved error message about incorrect kernel argument types with CUDA backend. [2542e6a]
  • Limited allowed argument types for rol/ror ESIMD functions to better
    represent HW capabilities. [b05f256]
  • Implemented mem_advise reset and managed memory checks for CUDA backend. [fe18839]
  • Added concurrent memory check to mem_advise on CUDA backend. [33746d8]
  • Enabled multiple HIP streams per SYCL queue. [e0c40a9]
  • Implemented lazy mechanism of setting context for default-constructed events. [ed92c4c]
  • Improved performance for multi-dimensional accessors with multiple accesses
    in a kernel. [7c58b9a]

SYCL Compiler

  • Increased max _Bitint size to 4096 for FPGA target. [db5f72a] [3f06cad]
  • Removed deprecation message for [[intel::disable_loop_pipelining]] attribute. [07201f5]
  • Allowed __builtin_assume_aligned to be called from device code. [24937ea]
  • Improved link step performance when per_kernel device code split is used. [84de9d6]
  • Added support for SYCL_EXTERNAL on device_global variables. [8b958f6]
  • Updated __builtin_intel_fpga_mem to accept more parameters. [231338d]
  • Updated ivdep attribute to allow safelen = 0. [558b3ba]
  • Improved linking with sycl.lib on Windows. [404d281]
  • Implemented more diagnostics about incorrect device_global usages. [1265721]
  • Improved library resolution for libsycl.so. [4ce19d6]
  • Improved diagnostics when linking with mismatched objects. [0e0202e]
  • Added a warning for floating-point size changes after implicit conversions. [e4f5d55]
  • Made invoke_simd convert its argument to appropriate types. [038764f]

Documentation

  • Removed explicit cl namespace references. [433ea5c]
  • Added a short guideline on using CMake with SYCL compiler. [fa603c3]

Bug fixes

SYCL Library

  • Fixed a compilation issue where it wasn't possible to pass an initializer list
    for dependency events vector in queue shortcuts with offset
    parameter. [f4f83d9]
  • Fixed sycl::get_pointer_device throwing an exception when it passed a
    descendent device (sub-device) instead of a root device. [26d5d98]
  • Fixed memory leak happening when kernel bundles are linked. [980677d]
  • Fixed USM free throwing an exception when it passed a context created for
    a descendent device. [c49d494]
  • Fixed accessor's CTAD for g++ host compiler. [57aabe7]
  • Fixed a compilation issue when using multi-dimensional accessor's subscript
    operator. [22e3fc5]
  • Fixed "definition with the same mangled name" error happening when used
    multiple buffer reductions in a kernel. [a0a4d72]
  • Fixed a compilation issue with SYCL math built-ins when GCC < 11.1 is used as
    a host compiler. [c786894]
  • Fixed a compilation issue with SYCL math built-ins (such as sycl::modf,
    for example) not accepting pointers to half. [e286166]
  • Fixed an issues with reductions when MSVC is used as host compiler. [94c4b80]
  • Fixed a compilation issue when fully specialized sycl::span is initialized
    from an array. [2b50820]
  • Fixed a crash in...
Read more

DPC++ daily 2022-10-22

22 Oct 16:54
20dbc70

Choose a tag to compare

Pre-release
sycl-nightly/20221022

[NFC][SYCL] Minor refactor around KernelPropertiesUnpacker (#7125)