Skip to content

hipSYCL 0.9.2

Choose a tag to compare

@illuhad illuhad released this 14 Feb 17:16
· 1864 commits to develop since this release
49fd024

Changes compared to the previous release 0.9.1 (selection)

The following is an incomplete list of changes and improvements:

Highlights

  • Initial support for operating as a pure CUDA library for NVIDIA's proprietary nvc++ compiler, without any additional hipSYCL compiler magic. In this flow, LLVM is not required and new NVIDIA hardware can be targeted as soon as NVIDIA adds support in nvc++.
  • Initial support for dedicated compiler support in the CPU backend. These new compilation passes can greatly improve performance of nd_range parallel for kernels on CPU. This allows executing SYCL code efficiently on any CPU supported by LLVM.
  • Scoped parallelism API v2 for a more performance portable programming model
  • Reimplement explicit multipass support for clang >= 13. This allows targeting multiple backends simultaneously, and was previously only supported on clang 11. Kernel names in the binary are now always demangleable as __hipsycl_kernel<KernelNameT> or __hipsycl_kernel<KernelBodyT>.

SYCL support

  • Support for new SYCL 2020 features such as atomic_ref, device selector API, device aspect API and others
  • Support for SYCL 2020 final group algorithm interface
  • Add support for the profiling API
  • ... more

Extensions

  • Add initial support for multi-device queue hipSYCL extension to automatically distribute work across multiple devices
  • Add initial support for queue::get_wait_list() hipSYCL extension to allow barrier-like semantics at the queue level
  • Add accessor_variant extension which allows accessors to automatically optimize the internal data layout of the accessor object depending on how they were constructed. This can save registers on device without any changes needed by the user.
  • Add handler::update_device() extension in analogy to already existing update_host(). This can be e.g. used to prefetch data.
  • Complete buffer-USM interoperability API
  • Add support for explicit buffer policy extension and asynchronous buffers

See the documentation on extensions for more details.

Optimizations

  • Automatic work distribution across multiple streams
  • Fix massive performance bug caused by a bug in the kernel cache in the Level Zero backend
  • Optimize CUDA backend to perform aggressive CUDA module caching in an explicit multipass scenario. This can greatly improve performance of the cuda.explicit-multipass compilation flow when multiple translation units are involved.
  • Several performance fixes and improvements in the hipSYCL runtime. Especially when spawning many tasks, performance can now be significantly better.
  • ... more

Bug fixes and other improvements

Yes, a lot of them :-)