Skip to content

Conversation

@RossBrunton
Copy link
Contributor

In a future change, UR is going to restrict handle types from having
vtables. This patch changes the queue base type shared by CUDA and HIP
to a template where each backend specialises its own backend-specific
queue type.

@RossBrunton RossBrunton marked this pull request as ready for review April 4, 2025 14:31
@RossBrunton RossBrunton requested a review from a team as a code owner April 4, 2025 14:31
@RossBrunton RossBrunton requested a review from frasercrmck April 4, 2025 14:31
@RossBrunton
Copy link
Contributor Author

@npmiller Can I get your thoughts on this since you added this handler?

We want to make it so that the first field of a struct is a pointer to the loader's function table, which doesn't really work with virtual methods. Luckily, I think this solution doesn't add any new overhead.

@npmiller
Copy link
Contributor

npmiller commented Apr 4, 2025

Looks great overall, thank you!

In a future change, UR is going to restrict handle types from having
vtables. This patch changes the queue base type shared by CUDA and HIP
to a template.
@npmiller
Copy link
Contributor

npmiller commented Apr 7, 2025

@intel/llvm-gatekeepers This should be ready to merge.

It looks like there's an issue with the gen12 job, it got stuck in the job setup so I cancelled it. But this patch only touches code used for CUDA and HIP, and these jobs passed, so I think it should be fine to merge.

@npmiller
Copy link
Contributor

npmiller commented Apr 8, 2025

@intel/llvm-gatekeepers this is ready to merge

Looks like the gen12 node was fixed 🎉

@sarnex sarnex merged commit 26208a5 into intel:sycl Apr 8, 2025
56 of 59 checks passed
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.

3 participants