Skip to content

Conversation

@jatinx
Copy link

@jatinx jatinx commented Dec 8, 2022

A bit of explaination on why these are added/ also some queries:

  • PI_DEVICE_INFO_DEVICE_ID - Added as DEVICE_ID.
    Its implemented on level zero backend, used to implement some intel_extensions.

  • PI_EXT_INTEL_DEVICE_INFO_FREE_MEMORY - Added as GLOBAL_MEM_FREE. Primitive device query available on all platforms, ML libs tend to use it to make decision about next operation.

  • PI_EXT_INTEL_DEVICE_INFO_MEMORY_CLOCK_RATE - added as MEMORY_CLOCK_RATE

  • PI_DEVICE_INFO_BACKEND_VERSION - Added BACKEND_RUNTIME_VERSION. Can have CUDA/HIP/LZ major.minor as string.

  • PI_EXT_ONEAPI_DEVICE_INFO_BFLOAT16 - Added BFLOAT16 query, that a backend supports bfp16 or not.

Fixes: #55

@veselypeta veselypeta self-requested a review December 8, 2022 14:50
Copy link
Contributor

@veselypeta veselypeta left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@kbenzie kbenzie left a comment

Choose a reason for hiding this comment

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

LGTM

@FranklandJack FranklandJack merged commit 33d0d73 into oneapi-src:main Dec 8, 2022
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.

Missing device info enumeration values

4 participants