Community
cancel
Showing results for 
Search instead for 
Did you mean: 
762 Views

OpenCL error clCreateContext(): CL_DEVICE_NOT_AVAILABLE

I installed the latest OpenCL version (Intel® CPU Runtime for OpenCL™ Applications 18.1 for Linux* OS (64bit only)) on a Ubuntu 16 virtual machine.

I run a program (in this case Hashcat) and I get this errror:

hashcat (v5.1.0) starting...

OpenCL Platform #1: Intel(R) Corporation
========================================
* Device #1: Common KVM processor, 757/3029 MB allocatable, 2MCU

Hashes: 4 digests; 2 unique digests, 1 unique salts
Bitmaps: 16 bits, 65536 entries, 0x0000ffff mask, 262144 bytes, 5/13 rotates

Applicable optimizers:
* Zero-Byte
* Single-Salt
* Brute-Force
* Slow-Hash-SIMD-LOOP

Minimum password length supported by kernel: 8
Maximum password length supported by kernel: 63

Watchdog: Hardware monitoring interface not found on your system.
Watchdog: Temperature abort trigger disabled.

clCreateContext(): CL_DEVICE_NOT_AVAILABLE

I am using an Intel i5 3470 CPU.

What is the meaming of that error? How can I fix it?

0 Kudos
2 Replies
Andrey_P_Intel
Employee
762 Views

Based on the output you provided, I am assuming you are running the code in full virtualization mode using QEMU, which provide a CPU-emulation layer. In this case, Intel OpenCL Runtime is unable to execute the OpenCL kernel on the "Common KVM processor", because the runtime is looking for Intel CPU.

Ulianych__Danylo
Beginner
762 Views

Dear Andrey,

I get a similar issue. Where would you recommend to look for an appropriate OpenCL CPU driver for QEMU KVM, Ubuntu 18? Is it possible at all?

Thank you.

Danylo.