openwall / openwall/john

Add command-line option to force OpenCL kernel rebuild

Open
#4,954 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.