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

Adding iree_hal_file_from_handle factory for common file impls. #19513

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

benvanik
Copy link
Collaborator

This lets us hide the details from HAL implementations. Implementations are expected to snoop the file handle type to see if they can do better and otherwise fall back to the common implementations.

@benvanik benvanik added the hal/api IREE's public C hardware abstraction layer API label Dec 18, 2024
@benvanik benvanik requested a review from ScottTodd December 18, 2024 14:13
@benvanik benvanik force-pushed the users/benvanik/host-file-2 branch from 3aa214b to 3563283 Compare December 18, 2024 14:22
Base automatically changed from users/benvanik/host-file-1 to main December 18, 2024 17:06
This lets us hide the details from HAL implementations. Implementations
are expected to snoop the file handle type to see if they can do better
and otherwise fall back to the common implementations.
@benvanik benvanik force-pushed the users/benvanik/host-file-2 branch from 3563283 to 1686837 Compare December 18, 2024 17:07
@benvanik benvanik enabled auto-merge (squash) December 18, 2024 17:07
@benvanik benvanik merged commit cbdcdd0 into main Dec 18, 2024
41 of 42 checks passed
@benvanik benvanik deleted the users/benvanik/host-file-2 branch December 18, 2024 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hal/api IREE's public C hardware abstraction layer API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants