hashcat Forum
Hashcat do not recognize my CPU with OpenCL - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: Hashcat do not recognize my CPU with OpenCL (/thread-11771.html)



Hashcat do not recognize my CPU with OpenCL - clenet - 01-17-2024

Hi,
I installed hashcat 6.2.6 on my laptop (HP Probook 450 G9 with intel core i5-1235U)
I installed too Intel CPU Runtime for OpenCL applications version 24.0
But hashcat still do not recognize my CPU with option "-D 1,2"
The OpenCL driver for my GPU is recognized but I want to use GPU+CPU
Thanks for your feed back!


RE: Hashcat do not recognize my CPU with OpenCL - penguinkeeper - 01-17-2024

GPU+CPU is often not recommended except for extraordinarily slow hashes like some scrypt modes. CPUs are significantly slower than GPUs and often the GPUs just get starved of work when the CPU is at 100% utilisation. The Intel OpenCL runtime should work, though. Make sure you restart your machine if you haven't already and still want to persue CPU support


RE: Hashcat do not recognize my CPU with OpenCL - clenet - 01-17-2024

Yes, i restarted my machine, unsucessfully
I want to pursue with CPU support for an internal need
I downloaded the new version of Intel OpenCL runtime and i suspect a bug with this version
I didn't find a way to download an earlier version
How can I check if hashcat properly work with OpenCL runtime ?


RE: Hashcat do not recognize my CPU with OpenCL - v71221 - 01-17-2024

Windows or Linux?
Have you seen this
https://www.intel.com/content/www/us/en/developer/tools/opencl-cpu-runtime/overview.html
Please provide output of
hashcat -II


RE: Hashcat do not recognize my CPU with OpenCL - clenet - 01-17-2024

Windows 10 22h2
Yes, it is the url followed to download w_opencl_runtime_p_2024.0.0.49848.exe 
Below the output of hashcat -II
hashcat (v6.2.6) starting in backend information mode

System Info:
============

OS.Name......: Windows
OS.Release...: N/A
HW.Platform..: N/A
HW.Model.....: N/A

Environment Info:
=================

Cur.Work.Dir.: C:\Users\clenetb\Documents\Hashcat\hashcat-6.2.6
Install.Dir..: .
Profile.Dir..: .
Cache.Dir....: .
Shared.Dir...: .
CL.Inc.Path..: ./OpenCL/

OpenCL Info:
============

OpenCL Platform ID #1
  Vendor..: Intel(R) Corporation
  Name....: Intel(R) OpenCL Graphics
  Version.: OpenCL 3.0

  Backend Device ID #1
    Type...........: GPU
    Vendor.ID......: 8
    Vendor.........: Intel(R) Corporation
    Name...........: Intel(R) UHD Graphics
    Version........: OpenCL 3.0 NEO
    Processor(s)...: 80
    Clock..........: 1200
    Memory.Total...: 3129 MB (limited to 782 MB allocatable in one block)
    Memory.Free....: 1504 MB
    Local.Memory...: 64 KB
    OpenCL.Version.: OpenCL C 1.2
    Driver.Version.: 31.0.101.4887


RE: Hashcat do not recognize my CPU with OpenCL - v71221 - 01-17-2024

I would try installing fresh Windows in a separate partition (just for a test) and not connect to Internet at all. Then install OpenCL runtime.
Also you can try this old runtime (it works for non-Intel CPUs as well)
*ttps://registrationcenter-download.intel.com/akdlm/irc_nas/vcp/13794/opencl_runtime_18.1_x64_setup.msi
See here for additional info
https://hashcat.net/forum/thread-10548-post-54778.html#pid54778


RE: Hashcat do not recognize my CPU with OpenCL - clenet - 01-18-2024

I installed OpenCL version 18.1 following your link and now my CPU is recognized but not my GPU!
How to have both?
hashcat (v6.2.6) starting in backend information mode

System Info:
============

OS.Name......: Windows
OS.Release...: N/A
HW.Platform..: N/A
HW.Model.....: N/A

Environment Info:
=================

Cur.Work.Dir.: C:\Users\clenetb\Documents\Hashcat\hashcat-6.2.6
Install.Dir..: .
Profile.Dir..: .
Cache.Dir....: .
Shared.Dir...: .
CL.Inc.Path..: ./OpenCL/

OpenCL Info:
============

OpenCL Platform ID #1
  Vendor..: Intel(R) Corporation
  Name....: Intel(R) CPU Runtime for OpenCL(TM) Applications
  Version.: OpenCL 2.1 WINDOWS

  Backend Device ID #1
    Type...........: CPU
    Vendor.ID......: 8
    Vendor.........: Intel(R) Corporation
    Name...........: 12th Gen Intel(R) Core(TM) i5-1235U
    Version........: OpenCL 2.1 (Build 0)
    Processor(s)...: 12
    Clock..........: 0
    Memory.Total...: 7824 MB (limited to 978 MB allocatable in one block)
    Memory.Free....: 3880 MB
    Local.Memory...: 32 KB
    OpenCL.Version.: OpenCL C 2.0
    Driver.Version.: 18.1.0.0920


RE: Hashcat do not recognize my CPU with OpenCL - Snoopy - 01-18-2024

when i remember myself right, on these "combined CPU/GPU" laptop APUs it doesnt really matter what kind of device backend you use as its physical the same and CPU has the advantage of providing more ram to the process

see the data on memory total and allocatbale compared GPU <-> CPU