Skip to content

fix: Wipe OpenCL cache on startup - #7

Merged
Vladush merged 1 commit into
masterfrom
fix/opencl-cache-cleanup
Jan 6, 2026
Merged

Vladush merged 1 commit into
masterfrom
fix/opencl-cache-cleanup

Conversation

@Vladush

@Vladush Vladush commented Jan 6, 2026

Copy link
Copy Markdown
Owner

Description

When upgrading the daemon or after Mesa updates, old cached OpenCL kernels can cause hangs or build errors. This clears the cache on startup so stale kernels don't break things.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

How Has This Been Tested?

  • Upgraded daemon binary while running, verified no OpenCL errors after restart
  • Tested linuxcampam test vlad after cache wipe

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@Vladush
Vladush merged commit e27d815 into master Jan 6, 2026
5 checks passed
@Vladush
Vladush deleted the fix/opencl-cache-cleanup branch January 6, 2026 15:05
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.

1 participant