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

Remove virtual from L0 V2 queues #2635

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

RossBrunton
Copy link
Contributor

No description provided.

@github-actions github-actions bot added level-zero L0 adapter specific issues command-buffer Command Buffer feature addition/changes/specification labels Jan 29, 2025
@RossBrunton RossBrunton force-pushed the ross/v2devirtqueue branch 2 times, most recently from ab03c71 to e451e84 Compare January 29, 2025 16:33
@pbalcer
Copy link
Contributor

pbalcer commented Jan 29, 2025

This looks good to me in general. @igchor ?

@igchor
Copy link
Member

igchor commented Jan 29, 2025

Looks, good. FYI, In V2 we also use virtual methods for buffers (memory.hpp). I'm actually working on support for images: #2640 so I can address this (remove the virtual functions) on that PR since I'm reworking that code anyway.

@RossBrunton RossBrunton marked this pull request as ready for review January 30, 2025 11:02
@RossBrunton RossBrunton requested review from a team as code owners January 30, 2025 11:02
@RossBrunton RossBrunton requested a review from Bensuo January 30, 2025 11:02
@RossBrunton
Copy link
Contributor Author

@oneapi-src/unified-runtime-command-buffer-write Can I get a look at this?

Effectively, I've split the queue handle into two types; one for the handle itself and one for the underlying queue. Command buffers now store a reference to the queue itself rather than the handle.

@RossBrunton
Copy link
Contributor Author

Merging without LLVM commit since (as far as I know) there's no V2 testing there yet.

@RossBrunton RossBrunton merged commit 88ba18d into oneapi-src:main Jan 30, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command-buffer Command Buffer feature addition/changes/specification level-zero L0 adapter specific issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants