Skip to content
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

[OpenCL] Add ur_usm_alloc_location_desc struct and handle it in the CL adapter. #1123

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

aarongreig
Copy link
Contributor

@aarongreig aarongreig commented Nov 24, 2023

This is the equivalent ur_buffer_alloc_location_properties_t, it turns out the CL extension flag is applicable to both buffer creation and USM allocations.

Tested in intel/llvm#12005

@aarongreig aarongreig requested review from a team as code owners November 24, 2023 17:12
@aarongreig aarongreig force-pushed the aaron/usmLocationProps branch 2 times, most recently from 8d4dbcf to d599d13 Compare November 27, 2023 10:28
@kbenzie kbenzie added the v0.8.x Include in the v0.8.x release label Dec 1, 2023
…ter.

This is the equivalent of buffer_alloc_location_properties_t, it turns
out the CL extension flag is applicable to both buffer creation and USM
allocations.
@fabiomestre fabiomestre changed the base branch from adapters to main December 5, 2023 16:46
@fabiomestre
Copy link
Contributor

I have updated the target branch of this PR from the adapters branch to the main branch.
Development in UR is moving back to main. The adapters branch will soon be deleted.

@kbenzie kbenzie mentioned this pull request Dec 6, 2023
13 tasks
@kbenzie kbenzie merged commit 69a56ea into oneapi-src:main Dec 11, 2023
51 checks passed
kbenzie added a commit to kbenzie/unified-runtime that referenced this pull request Dec 11, 2023
…rops

[OpenCL] Add ur_usm_alloc_location_desc struct and handle it in the CL adapter.
aelovikov-intel pushed a commit to intel/llvm that referenced this pull request Dec 11, 2023
…cs. (#12005)

Also handle translating these properties in pi2ur.

oneapi-src/unified-runtime#1123

---------

Co-authored-by: Kenneth Benzie (Benie) <k.benzie@codeplay.com>
kbenzie added a commit to kbenzie/unified-runtime that referenced this pull request Dec 15, 2023
…rops

[OpenCL] Add ur_usm_alloc_location_desc struct and handle it in the CL adapter.
callumfare pushed a commit to kbenzie/llvm that referenced this pull request Dec 18, 2023
…cs. (intel#12005)

Also handle translating these properties in pi2ur.

oneapi-src/unified-runtime#1123

---------

Co-authored-by: Kenneth Benzie (Benie) <k.benzie@codeplay.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v0.8.x Include in the v0.8.x release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants