Skip to content

Manager: prefer compute-only queue family, set queue priority to 0.0f#462

Open
mgajda wants to merge 1 commit intoKomputeProject:masterfrom
mgajda:fix-queue-family-simple
Open

Manager: prefer compute-only queue family, set queue priority to 0.0f#462
mgajda wants to merge 1 commit intoKomputeProject:masterfrom
mgajda:fix-queue-family-simple

Conversation

@mgajda
Copy link
Copy Markdown

@mgajda mgajda commented Apr 21, 2026

Fixes #458.

Pick a compute-only queue family when one exists; fall back to any compute family. Lower queue priority from 1.0f to 0.0f.

On iGPUs (e.g. AMD Radeon 890M) the first queue family reports both
compute and graphics, so the naive linear scan binds Kompute to the
graphics ring and long compute dispatches freeze the desktop. Try a
compute-only family first; fall back to the old behaviour if none
exists. Also lower the queue priority from 1.0f to 0.0f so shared
families don't starve interactive workloads.

Fixes KomputeProject#458.
@mgajda mgajda force-pushed the fix-queue-family-simple branch from 8334364 to 0e1a75f Compare April 21, 2026 12: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.

Fix queue-family selection to prioritize compute-only families

1 participant