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

Enable hashcat #600

Open
kpet opened this issue Aug 13, 2023 · 8 comments
Open

Enable hashcat #600

kpet opened this issue Aug 13, 2023 · 8 comments

Comments

@kpet
Copy link
Owner

kpet commented Aug 13, 2023

See #598 and #599

@kpet
Copy link
Owner Author

kpet commented Aug 13, 2023

Currently blocked on google/clspv#1180

@kpet
Copy link
Owner Author

kpet commented Aug 19, 2023

Next bug: google/clspv#1192

@zwang20
Copy link
Contributor

zwang20 commented Sep 2, 2023

The following occurs when attempting to run almost any algorithm on hashcat

[CLVK] clSetKernelArg: passing a null pointer to clSetKernelArg is only supported for local arguments
clSetKernelArg(): CL_INVALID_ARG_VALUE

@rjodinchr
Copy link
Contributor

This is kind of expected. At the moment, clvk does not support passing a null pointer to clSetKernelArg.

But if you execute with the following env variables, it should:

CLVK_SPIRV_ARCH=spir64
CLVK_PHYSICAL_ADDRESSING=1

At the point, this configuration will become the default one in clvk.

@zwang20
Copy link
Contributor

zwang20 commented Sep 6, 2023

using the env variables

CLVK_SPIRV_ARCH=spir64
CLVK_PHYSICAL_ADDRESSING=1

still results in

[CLVK] clSetKernelArg: passing a null pointer to clSetKernelArg is only supported for local arguments
clSetKernelArg(): CL_INVALID_ARG_VALUE

@rjodinchr
Copy link
Contributor

Sorry I misread the error message. I'll have a closer look then

@zwang20
Copy link
Contributor

zwang20 commented Sep 28, 2023

certain algorithms produce errors similar to the following

[CLVK] Loaded SPIR-V binary from "clvk-K8YQe9/compiled.spv", size = 31348 words
error: 3548: Expected input to have different bit width from Result Type: UConvert
  %2379 = OpUConvert %uint %2326

[CLVK] SPIR-V binary is invalid.
clLinkProgram(): CL_LINK_PROGRAM_FAILURE

* Device #1: Kernel /usr/share/hashcat/OpenCL/shared.cl build failed.

compiled.zip

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

3 participants