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

Fix LLVM compilation for OpenCL kernels #303

Merged
merged 1 commit into from
Apr 20, 2016
Merged

Fix LLVM compilation for OpenCL kernels #303

merged 1 commit into from
Apr 20, 2016

Conversation

neheb
Copy link
Contributor

@neheb neheb commented Apr 19, 2016

They otherwise fail with "static type not supported". LLVM only does OpenCL 1.1.

@jsteube
Copy link
Member

jsteube commented Apr 20, 2016

This looks almost good. Can you please try to put it into include/kernel_vendor.h instead? That's where the extensions usually are called from. If that's not possible, for whatever reason, please tell me and we'll merge it as it is

Fix LLVM compilation for OpenCL kernels

Whoops
@neheb
Copy link
Contributor Author

neheb commented Apr 20, 2016

ah that file looks to be a much better fit! I got a bit confused on where to place the statement. I believe LLVM's OpenCL support works on both AMD and Nvidia cards. I'm only testing AMD at the moment though. In any case the change has been force pushed.

@jsteube
Copy link
Member

jsteube commented Apr 20, 2016

Thanks!

@jsteube jsteube merged commit 02b82dd into hashcat:master Apr 20, 2016
jsteube added a commit that referenced this pull request Apr 20, 2016
@jsteube
Copy link
Member

jsteube commented Apr 20, 2016

@neheb Can you please test if it's still working on LLVM

@neheb
Copy link
Contributor Author

neheb commented Apr 20, 2016

yeah it's working. still doesn't compile right but that's a different issue.

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.

None yet

2 participants