Bug 95003

Summary: [Clover / OpenCL] CL_DEVICE_WAVEFRONT_WIDTH_AMD - 0x4043 unimplemented
Product: Mesa Reporter: rosenp
Component: OtherAssignee: mesa-dev
Status: RESOLVED NOTOURBUG QA Contact: mesa-dev
Severity: normal    
Priority: medium    
Version: 11.2   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description rosenp 2016-04-18 20:34:54 UTC
This is used to find out the core count of the GPU in oclHashcat. But it errors before it can do so with CL_INVALID_VALUE from a clGetDeviceInfo call.

Specific GPU is a 6520G.
Comment 1 Serge Martin 2016-04-19 09:42:14 UTC
CL_DEVICE_WAVEFRONT_WIDTH_AMD depends on cl_amd_device_attribute_query extension.
Clover never claim to support it, so the error is on oclHashcat side.
Also, this extension depends on CL 1.2 and Clover report only CL 1.1

see
https://www.khronos.org/registry/cl/extensions/amd/cl_amd_device_attribute_query.txt
Comment 2 rosenp 2016-04-19 23:00:43 UTC
hrm so is there a way with clover to find out the core count of the GPU(320 in my case)?
Comment 3 Serge Martin 2016-04-20 08:06:28 UTC
That would be CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE from clGetKernelWorkGroupInfo

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.