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

./ocl... not finding device issue... #11

Closed
trextrader opened this issue Mar 23, 2021 · 2 comments
Closed

./ocl... not finding device issue... #11

trextrader opened this issue Mar 23, 2021 · 2 comments

Comments

@trextrader
Copy link

When executing from Ubuntu terminal:

Prefix difficulty: 16777216 1111
Difficulty: 16777216
Could not open any device
Available OpenCL platforms:
0: [The pocl project] Portable Computing Language
0: [GenuineIntel] pthread-Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz, endian little: true
1: [Advanced Micro Devices, Inc.] AMD Accelerated Parallel Processing
0: [Advanced Micro Devices, Inc.] Hawaii, endian little: true
1: [Advanced Micro Devices, Inc.] Hawaii, endian little: true

I set the platform -p arg to 1, and same error, to 0 and same error....

./vanitygen++ is working no errors.

Obviously I would like to take advantage of my GPU's. Currently installed are the amdgpu-pro drivers with opencl=legacy and headless. It compiled with no errors and built the binaries.
hashcat -I works with the GPU's using opencl, and the output of hashcat -I is as follows:

OpenCL Info:

Platform ID #1
Vendor : Advanced Micro Devices, Inc.
Name : AMD Accelerated Parallel Processing
Version : OpenCL 2.1 AMD-APP (3188.4)

Device ID #1
Type : GPU
Vendor ID : 1
Vendor : Advanced Micro Devices, Inc.
Name : Hawaii
Version : OpenCL 1.2 AMD-APP (3188.4)
Processor(s) : 44
Clock : 1000
Memory : 2305/2920 MB allocatable
OpenCL Version : OpenCL C 1.2
Driver Version : 3188.4

Device ID #2
Type : GPU
Vendor ID : 1
Vendor : Advanced Micro Devices, Inc.
Name : Hawaii
Version : OpenCL 1.2 AMD-APP (3188.4)
Processor(s) : 44
Clock : 1000
Memory : 3251/4075 MB allocatable
OpenCL Version : OpenCL C 1.2
Driver Version : 3188.4

Platform ID #2
Vendor : The pocl project
Name : Portable Computing Language
Version : OpenCL 1.2 pocl 1.4, None+Asserts, LLVM 9.0.1, RELOC, SLEEF, DISTRO, POCL_DEBUG

Device ID #3
Type : CPU
Vendor ID : 128
Vendor : GenuineIntel
Name : pthread-Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Version : OpenCL 1.2 pocl HSTR: pthread-x86_64-pc-linux-gnu-skylake
Processor(s) : 8
Clock : 4200
Memory : 4096/13898 MB allocatable
OpenCL Version : OpenCL C 1.2 pocl
Driver Version : 1.4

So, clearly its not an opencl issue on my side, so it must be something I need to config in the Makefile perhaps?

Any help with this issue is greatly appreciated.

/Zap

@10gic
Copy link
Owner

10gic commented Mar 23, 2021

Try to set device by -d, see what happens. For example ./oclvanitygen++ -p 1 -d 1 1Love

@10gic
Copy link
Owner

10gic commented Apr 18, 2021

If you still have this issue after specify platform (-p) and device (-d), please reopen it.

@10gic 10gic closed this as completed Apr 18, 2021
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

2 participants