-
Notifications
You must be signed in to change notification settings - Fork 103
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
Static L0 Loader Support #224
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple small comments from looking at it briefly
dcca4f4
to
222da8e
Compare
62860db
to
0397704
Compare
Issue #141 |
0397704
to
a9842e3
Compare
Signed-off-by: Neil R. Spruit <[email protected]>
Signed-off-by: Neil R. Spruit <[email protected]>
- Added support for older dii tables such that the version of the apis supported by that dynamic loader are requested and not newer versions. - Added check for backwards compatability for older init apis. Signed-off-by: Neil R. Spruit <[email protected]>
Signed-off-by: Neil R. Spruit <[email protected]>
Signed-off-by: Neil R. Spruit <[email protected]>
Signed-off-by: Neil R. Spruit <[email protected]>
… loader build Signed-off-by: Neil R. Spruit <[email protected]>
Signed-off-by: Neil R. Spruit <[email protected]>
acf49cf
to
575a758
Compare
Signed-off-by: Neil R. Spruit <[email protected]>
575a758
to
faaa9e8
Compare
Signed-off-by: Neil R. Spruit <[email protected]>
@@ -34,22 +36,130 @@ namespace ze_lib | |||
context_t(); | |||
~context_t(); | |||
|
|||
////////////////////////////////////////////////////////////////////////// | |||
std::string to_string(const ze_result_t result) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this coming from build time, else we have a maintenance nightmare?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is manual, we have no mako for this file right now.
@@ -34,22 +36,130 @@ namespace ze_lib | |||
context_t(); | |||
~context_t(); | |||
|
|||
////////////////////////////////////////////////////////////////////////// | |||
std::string to_string(const ze_result_t result) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This work, but have you considered using stringify w/preprocessor macros?
Which may also work to not miss future ZE_RESULT additions
Trying to avoid a future maintenance issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The generation of this code, which exists elsewhere, will be addressed in a separate PR.
Static Loader Support.
This support has a few conditions: