Skip to content

Conversation

@rdeodhar
Copy link
Contributor

@rdeodhar rdeodhar commented Jun 6, 2023

This change adds the definitions necessary for two new functions: USMImport and USMRelease.

USMImport converts host system memory into something akin to USM host memory.
USMRelease undoes the effect of a previous USMImport.

This functionality is used by SYCL to import/release host memory to speed up host <-> device data transfers.

Copy link
Contributor

@kbenzie kbenzie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These files are automatically generated from a YAML description of the API. Please read the Contributing Guide for infomation about how to go about making changes.

@kbenzie
Copy link
Contributor

kbenzie commented Jun 7, 2023

@rdeodhar following up after this was discussed in the WG call. Given that these additions are intended to expose experimental Level Zero functionality they should also be defined as a Experimental Feature in Unified Runtime, #560 is a practical example of this.

@gmlueck also noted that we should only define the API based on what is currently supported by Level Zero rather than the semantics that will be added at a later date. This maps well to our definition for an experimental feature, which do not require long term API/ABI stability.

@rdeodhar rdeodhar closed this Jun 8, 2023
@rdeodhar rdeodhar deleted the ur_l0import branch June 8, 2023 20:09
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.

2 participants