Skip to content

[UR][Offload] Global query/read/write support #19482

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: sycl
Choose a base branch
from

Conversation

RossBrunton
Copy link
Contributor

@RossBrunton RossBrunton commented Jul 16, 2025

The following entry points are implemented here:

  • DEVICE_INFO_GLOBAL_VARIABLE_SUPPORT (is now true)
  • urProgramGetGlobalVariablePointer
  • urEnqueueDeviceGlobalVariableRead
  • urEnqueueDeviceGlobalVariableWrite

In addition, the enqueue interface has been moved out into a helper function and the program handler now handles the @global_id_mapping property.

@RossBrunton RossBrunton changed the title [UR][Offload] Implement urProgramGetGlobalVariablePointer [UR][Offload] Global query/read/write support Jul 16, 2025
@RossBrunton RossBrunton requested a review from callumfare July 16, 2025 17:38
@RossBrunton RossBrunton marked this pull request as ready for review July 16, 2025 17:39
@RossBrunton RossBrunton requested a review from a team as a code owner July 16, 2025 17:39
The following entry points are implemented here:
* `DEVICE_INFO_GLOBAL_VARIABLE_SUPPORT` (is now true)
* `urProgramGetGlobalVariablePointer`
* `urEnqueueDeviceGlobalVariableRead`
* `urEnqueueDeviceGlobalVariableWrite`

In addition, the enqueue interface has been moved out into a helper
function and the program handler now handles the `@global_id_mapping`
property.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant