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

Fix spirv-dump and feature registration for mixed kernels #466

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

wingertge
Copy link
Contributor

Enabling spirv-dump would crash when it encounters a custom wgsl shader, and atomics or f16 would crash because they're removed from the WGPU device features.
This ensures the kernel only gets saved if repr is Some, and ensures the WGPU device is created with the full feature set, not the trimmed down one that is used for enabling Vulkan extensions.
Also reexports WgpuCompiler, which should've been done before.

Copy link
Member

@laggui laggui left a comment

Choose a reason for hiding this comment

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

LGTM!

Unrelated CI failure was fixed on main

@laggui laggui merged commit 49f38a2 into tracel-ai:main Feb 6, 2025
3 of 5 checks passed
@wingertge wingertge deleted the fix/spirv-features branch February 6, 2025 16:56
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