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

Improve opencl kernel caching #36

Open
vmx opened this issue May 28, 2021 · 0 comments
Open

Improve opencl kernel caching #36

vmx opened this issue May 28, 2021 · 0 comments

Comments

@vmx
Copy link
Collaborator

vmx commented May 28, 2021

There is a report about problems with cached versions of the opencl kernel at filecoin-project/community#172 (comment):

So every time you change drivers or OpenCL libraries or lotus versions (when lotus has updated extern/filecoin-ffi), it can help to avoid problems by clearing the kernel cache and letting lotus re-generate it.

Ideally those changes are recognized by the caching mechanism and they get re-created. Detecting everything e.g. driver upgrades might not be possible though. But at least checking for the FFI version should be.

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

No branches or pull requests

1 participant