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

Add macros to identify L0 headers #207

Open
jandres742 opened this issue Aug 31, 2023 · 4 comments
Open

Add macros to identify L0 headers #207

jandres742 opened this issue Aug 31, 2023 · 4 comments
Labels

Comments

@jandres742
Copy link

similar to CL_TARGET_OPENCL_VERSION

https://github.com/KhronosGroup/OpenCL-Headers/blob/main/CL/cl_version.h

@yoon0805
Copy link

Currently the only solution that L0 driver will be able to retrieve L0 loader version is via a simple program and use zeInit() and then calling zelLoaderGetVersions().

If we know what version that L0 driver gets compiled with the L0 spec header, the process could be much simpler.

@bmyates
Copy link
Contributor

bmyates commented Feb 23, 2024

The spec headers have ZE_API_VERSION_CURRENT macro

@wdamon-intel
Copy link
Contributor

wdamon-intel commented Feb 23, 2024

Technically, ZE_API_VERSION_CURRENT is not a #define or a macro but part of the enum ze_api_version_t, and it lives in ze_api.h.

@lisanna-dettwyler
Copy link
Contributor

#306

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants