Skip to content

Conversation

sophimao
Copy link
Contributor

According to USM extension spec, clDeviceMemAllocINTEL will return NULL and CL_INVALID_OPERATION status if the device has property CL_DEVICE_DEVICE_MEM_CAPABILITIES_INTEL equal to 0. Before, the runtime always return 1 for device allocation capabilities as all legacy devices support device allocations. This is no longer true in IP Authoring flow.

According to USM extension spec, clDeviceMemAllocINTEL will return
NULL and CL_INVALID_OPERATION status if the device has property
CL_DEVICE_DEVICE_MEM_CAPABILITIES_INTEL equal to 0. Before, the
runtime always return 1 for device allocation capabilities as all
legacy devices support device allocations. This is no longer true
in IP Authoring flow.
@sophimao sophimao requested a review from zibaiwan April 12, 2023 14:23
Copy link
Contributor

@zibaiwan zibaiwan left a comment

Choose a reason for hiding this comment

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

Thanks Sophie for fixing this!

@sophimao sophimao merged commit 028d348 into intel:main Apr 12, 2023
@sophimao sophimao deleted the usm-capabilities branch April 12, 2023 16:57
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.

2 participants