Hashcat using CUDA over OPENCL, why?
#1
I'm using hashcat 6 with a single GTX1080Ti, and just noticed that when the cuda device is being used over opencl. Is there a switch I'm missing to always use opencl over cuda?


hashcat (v6.1.1-29-ga72ba6fa) starting... 

CUDA API (CUDA 10.2)                                                     
====================                                                     
* Device #1: GeForce GTX 1080 Ti, 8265/11178 MB, 28MCU                   
                                                                         
OpenCL API (OpenCL 1.2 CUDA 10.2.185) - Platform #1 [NVIDIA Corporation] 
======================================================================== 
* Device #2: GeForce GTX 1080 Ti, skipped                                


OS: Debian Buster
Reply
#2
Yes, a simple -d 2 in your case will do the trick.
Reply
#3
(09-30-2020, 02:33 PM)atom Wrote: Yes, a simple -d 2 in your case will do the trick.

Thanks I thought that would work. I was wondering if there is a way of hashcat always selecting opencl as the preferred?

I have hashcat automated in a lot of scripts so it might not always be device 2 you see.
Reply
#4
You can also use --backend-ignore-cuda
Reply