Add command-line option to force OpenCL kernel rebuild
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 13.6k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
As discussed in https://github.com/openwall/john/pull/4913#issuecomment-998845314:
I wrote:
Should we possibly have a command-line option to force kernel rebuild - ignore our cache? Can we also force ignoring of NVIDIA's cache?
@claudioandre-br wrote:
Yes (it is 100% is JtR code, we can rebuild from source rather than build from previously cached binary version) and yes (https://developer.nvidia.com/blog/cuda-pro-tip-understand-fat-binaries-jit-caching/), setting CUDA_CACHE_DISABLE to 1.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the command-line option handling and OpenCL kernel-cache code, then review the linked pull request discussion for the intended cache behavior. Done means a command-line option can force rebuilding from source and can also disable NVIDIA's cache as described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100