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

Merge the adapter and platform enums into one generic backend enum. #2377

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

Conversation

aarongreig
Copy link
Contributor

No description provided.

@github-actions github-actions bot added loader Loader related feature/bug conformance Conformance test suite issues. specification Changes or additions to the specification level-zero L0 adapter specific issues cuda CUDA adapter specific issues hip HIP adapter specific issues opencl OpenCL adapter specific issues native-cpu Native CPU adapter specific issues labels Nov 25, 2024
@aarongreig
Copy link
Contributor Author

LLVM PR intel/llvm#16173

@aarongreig aarongreig marked this pull request as ready for review November 25, 2024 16:22
@aarongreig aarongreig requested review from a team as code owners November 25, 2024 16:22
@@ -560,6 +560,21 @@ typedef struct ur_rect_region_t {

} ur_rect_region_t;

///////////////////////////////////////////////////////////////////////////////
/// @brief Defines known backends.
typedef enum ur_backend_t {
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if it might smooth the transition to have aliases to the old names for the two enums?

I assume the numerical values are the same so its just a source change.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we're at the point now where the next release this makes it into is a major one, I think we just rip the bandaid off

Copy link
Contributor

Choose a reason for hiding this comment

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

Okay, sure.

Copy link
Contributor

@nrspruit nrspruit left a comment

Choose a reason for hiding this comment

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

LGTM for L0

Copy link
Contributor

@Bensuo Bensuo left a comment

Choose a reason for hiding this comment

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

Command buffer changes LGTM

@aarongreig aarongreig force-pushed the aaron/mergeAdapterPlatformBackend branch 3 times, most recently from 8a8dcc8 to f9b9aff Compare January 21, 2025 16:11
@aarongreig aarongreig force-pushed the aaron/mergeAdapterPlatformBackend branch from f9b9aff to 9f11e28 Compare January 21, 2025 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conformance Conformance test suite issues. cuda CUDA adapter specific issues hip HIP adapter specific issues level-zero L0 adapter specific issues loader Loader related feature/bug native-cpu Native CPU adapter specific issues opencl OpenCL adapter specific issues specification Changes or additions to the specification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants