Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3648115.3648637acmotherconferencesArticle/Chapter ViewAbstractPublication PagesiwoclConference Proceedingsconference-collections
poster

Extending SYCL host_task for Asynchronous Interop

Published: 08 April 2024 Publication History

Abstract

SYCL 2020 provides a host_task feature [1], whereby arbitrary C++ functions can be invoked as a node within the SYCL Directed Acyclic Graph (DAG). This feature is useful for interleaving host code between SYCL kernels and other commands, as well as for interoperability with SYCL backend APIs such as OpenCL or CUDA.
However, the current host_task facility that is provided has some significant limitations for interop work, making it integrate poorly with the asynchrony of the SYCL execution model. These limitations can hinder the performance of SYCL libraries and applications which use host_tasks for interoperability, such as oneMKL or oneDNN.
This article introduces experimental APIs that aim to integrate the asynchrony of the SYCL runtime with the asynchrony of backend APIs such as CUDA, HIP or OpenCL. Special emphasis will be given to the new synchronization behaviour of the SYCL runtime that results from these extensions.
Preliminary performance results are presented, showing that host_task interop using the experimental APIs introduced can give a significant speedup over host_task interop which only relies on core SYCL 2020 features.

References

[1]
[1] The Khronos SYCL Working Group, (2023) SYCL 2020 Specification (revision 8), https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html
[2]
[2] AdaptiveCpp, Enqueue Custom Operation Extension Document, https://github.com/AdaptiveCpp/AdaptiveCpp/blob/develop/doc/enqueue-custom-operation.md
[3]
[3] Hugh Delaney, Draft host_task Extension, https://github.com/intel/llvm/pull/12921

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Other conferences
IWOCL '24: Proceedings of the 12th International Workshop on OpenCL and SYCL
April 2024
124 pages
ISBN:9798400717901
DOI:10.1145/3648115
Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the Owner/Author.

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 08 April 2024

Check for updates

Author Tags

  1. CUDA
  2. HIP
  3. Interoperability
  4. OpenCL
  5. SYCL
  6. host_task

Qualifiers

  • Poster
  • Research
  • Refereed limited

Conference

IWOCL '24

Acceptance Rates

Overall Acceptance Rate 84 of 152 submissions, 55%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 18
    Total Downloads
  • Downloads (Last 12 months)18
  • Downloads (Last 6 weeks)1
Reflects downloads up to 13 Jan 2025

Other Metrics

Citations

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

HTML Format

View this article in HTML Format.

HTML Format

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media