KhronosGroup / KhronosGroup/SYCL-Docs

SYCL buffer/USM pointer interoperability

Open
#391 17 comments 5 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
158
Forks
80
Avg merge
7d 6h
Merged PRs (30d)
5

Description

Hello,

Are there any plans for SYCL buffer-USM pointer interoperability? Apologies if this was discussed before, I searched the issues and found this: https://github.com/KhronosGroup/SYCL-Docs/issues/230#issuecomment-1059199180 but I'm not sure if it's the same.

As an example, it looks like OpenSYCL has some implementation for it: https://github.com/OpenSYCL/OpenSYCL/blob/develop/doc/buffer-usm-interop.md

The motivation for this question is: What if there is a SYCL library that was written just with USM API support (i.e. for functions it implements, the library API takes in a queue and USM pointers as arguments), is there a way for a code written with SYCL buffers and accessors to still use the library?

Thank you!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the linked SYCL-Docs issue comment and OpenSYCL's buffer-usm-interop.md. The issue names no target files or tests, so first clarify the desired standard behavior for using USM-pointer libraries from buffer/accessor code; completion would require agreed scope and validation criteria.

Written by the indexing model from the issue text.

Assessment

Domain
hpc
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.