Skip to content

L0 provider: do not accept device handle for HOST memory type - #703

Merged
lukaszstolarczuk merged 1 commit into
oneapi-src:mainfrom
igchor:l0_provider_init_fix
Sep 3, 2024
Merged

lukaszstolarczuk merged 1 commit into
oneapi-src:mainfrom
igchor:l0_provider_init_fix

Conversation

@igchor

@igchor igchor commented Aug 30, 2024

Copy link
Copy Markdown
Contributor

and do not call zeDeviceGetProperties for HOST provider.

Also, add extra checks for parameters.

@igchor
igchor requested a review from a team as a code owner August 30, 2024 00:18
@igchor
igchor force-pushed the l0_provider_init_fix branch from 355ffa0 to 56a1afc Compare August 30, 2024 00:24
Comment thread src/provider/provider_level_zero.c Resolved
Comment thread test/providers/provider_level_zero.cpp Resolved
Comment thread src/provider/provider_level_zero.c Resolved
and do not call zeDeviceGetProperties for HOST provider.

Also, add extra checks for parameters.
@igchor
igchor force-pushed the l0_provider_init_fix branch from 56a1afc to 0d57f69 Compare August 30, 2024 14:47
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.

4 participants