GPU Caps Viewer vs. Intel OneAPI

Started by Stefan, May 29, 2023, 04:23:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Stefan

Just wanted to try the latest OpenCL CPU driver from oneAPI

After installation GPU Caps Viewer quits without error message.

It appears that oneAPI installs 2 drivers
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Khronos\OpenCL\Vendors]
"C:\\Program Files (x86)\\Intel\\oneAPI\\compiler\\latest\\windows\\lib\\x86\\intelocl32.dll"=dword:00000000
"C:\\Program Files (x86)\\Intel\\oneAPI\\compiler\\latest\\windows\\lib\\x86\\intelocl32_emu.dll"=dword:00000001

After disabling the emulator driver GPU Caps Viewer worked again, even on an AMD CPU ;D

You cannot view this attachment.

JeGX

Thanks for your test Stefan.
Looks like the OpenCL emulator has some issues with the old OpenCL code of GPU Caps Viewer. Or it's a bug with 32-bit apps...
Is there something interesting in the log file?

I found an old GeeXLab demo that lists the OpenCL devices:
https://www.geeks3d.com/r/8000

Could you test it with latest GeeXLab 0.52 win64?


Stefan

Quote from: JeGX on May 30, 2023, 12:08:57 PMIs there something interesting in the log file?
Nothing.
 
IDA debugger says:

5DA80000: loaded C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\lib\x86\intelocl32.dll
6C1C0000: loaded C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\lib\x86\task_executor32.dll
59770000: loaded C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\lib\x86\intelocl32_emu.dll
52320000: loaded C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\lib\x86\common_clang32.dll
76708462: unknown exception code C06D007E (exc.code c06d007e, tid 15396)

Quote from: JeGX on May 30, 2023, 12:08:57 PMI found an old GeeXLab demo that lists the OpenCL devices:

Could you test it with latest GeeXLab 0.52 win64?

That works fine.
oneAPI has even a 3rd driver for Altera, but only in 64 bit

Furthermore i added the OpenCL drivers CLVK and MESA CLon12
These are highly experimental though and fail with black screens in any application :P

You cannot view this attachment.

14:45:05:880(0000185) [info ] [OpenCL] found 7 OpenCL platform(s)
14:45:05:880(0000186) [info ] [OpenCL] Platform 0
14:45:05:880(0000187) [info ] [OpenCL] - vendor: NVIDIA Corporation
14:45:05:880(0000188) [info ] [OpenCL] - name: NVIDIA CUDA
14:45:05:880(0000189) [info ] [OpenCL] - profile: FULL_PROFILE
14:45:05:880(0000190) [info ] [OpenCL] - version: OpenCL 3.0 CUDA 12.1.37
14:45:05:880(0000191) [info ] [OpenCL] - CL_PLATFORM_NUMERIC_VERSION: 12582912.0.0
14:45:05:880(0000192) [info ] [OpenCL] - CL_PLATFORM_HOST_TIMER_RESOLUTION: 0
14:45:05:880(0000193) [info ] [OpenCL] Platform 0 - devices count: 1
14:45:05:880(0000194) [info ] [OpenCL] - Device 0 - name: NVIDIA GeForce RTX 3080 Laptop GPU - Compute units: 48 @ 1245MHz
14:45:05:880(0000195) [info ] [OpenCL] Platform 1
14:45:05:880(0000196) [info ] [OpenCL] - vendor: Advanced Micro Devices, Inc.
14:45:05:880(0000197) [info ] [OpenCL] - name: AMD Accelerated Parallel Processing
14:45:05:880(0000198) [info ] [OpenCL] - profile: FULL_PROFILE
14:45:05:880(0000199) [info ] [OpenCL] - version: OpenCL 2.1 AMD-APP (3516.0)
14:45:05:880(0000200) [info ] [OpenCL] - CL_PLATFORM_NUMERIC_VERSION: 0.0.0
14:45:05:880(0000201) [info ] [OpenCL] - CL_PLATFORM_HOST_TIMER_RESOLUTION: 100
14:45:05:880(0000202) [info ] [OpenCL] Platform 1 - devices count: 1
14:45:05:880(0000203) [info ] [OpenCL] - Device 0 - name: gfx90c - Compute units: 8 @ 2100MHz
14:45:05:880(0000204) [info ] [OpenCL] Platform 2
14:45:05:880(0000205) [info ] [OpenCL] - vendor: clvk
14:45:05:880(0000206) [info ] [OpenCL] - name: clvk
14:45:05:880(0000207) [info ] [OpenCL] - profile: FULL_PROFILE
14:45:05:880(0000208) [info ] [OpenCL] - version: OpenCL 3.0 clvk
14:45:05:880(0000209) [info ] [OpenCL] - CL_PLATFORM_NUMERIC_VERSION: 12582912.0.0
14:45:05:880(0000210) [info ] [OpenCL] - CL_PLATFORM_HOST_TIMER_RESOLUTION: 0
14:45:05:880(0000211) [info ] [OpenCL] Platform 2 - devices count: 2
14:45:05:880(0000212) [info ] [OpenCL] - Device 0 - name: NVIDIA GeForce RTX 3080 Laptop GPU - Compute units: 1 @ 0MHz
14:45:05:880(0000213) [info ] [OpenCL] - Device 1 - name: AMD Radeon(TM) Graphics - Compute units: 1 @ 0MHz
14:45:05:880(0000214) [info ] [OpenCL] Platform 3
14:45:05:880(0000215) [info ] [OpenCL] - vendor: Microsoft
14:45:05:880(0000216) [info ] [OpenCL] - name: OpenCLOn12
14:45:05:880(0000217) [info ] [OpenCL] - profile: FULL_PROFILE
14:45:05:880(0000218) [info ] [OpenCL] - version: OpenCL 1.2 D3D12 Implementation
14:45:05:880(0000219) [info ] [OpenCL] - CL_PLATFORM_NUMERIC_VERSION: 4202496.0.0
14:45:05:880(0000220) [info ] [OpenCL] - CL_PLATFORM_HOST_TIMER_RESOLUTION: 100
14:45:05:880(0000221) [info ] [OpenCL] Platform 3 - devices count: 3
14:45:05:880(0000222) [info ] [OpenCL] - Device 0 - name: NVIDIA GeForce RTX 3080 Laptop GPU - Compute units: 1 @ 12MHz
14:45:05:943(0000223) [info ] [OpenCL] - Device 1 - name: AMD Radeon(TM) Graphics - Compute units: 1 @ 12MHz
14:45:05:978(0000224) [info ] [OpenCL] - Device 2 - name: Microsoft Basic Render Driver - Compute units: 1 @ 12MHz
14:45:05:983(0000225) [info ] [OpenCL] Platform 4
14:45:05:983(0000226) [info ] [OpenCL] - vendor: Intel(R) Corporation
14:45:05:983(0000227) [info ] [OpenCL] - name: Intel(R) OpenCL
14:45:05:983(0000228) [info ] [OpenCL] - profile: FULL_PROFILE
14:45:05:983(0000229) [info ] [OpenCL] - version: OpenCL 3.0 WINDOWS
14:45:05:983(0000230) [info ] [OpenCL] - CL_PLATFORM_NUMERIC_VERSION: 12582912.0.0
14:45:05:983(0000231) [info ] [OpenCL] - CL_PLATFORM_HOST_TIMER_RESOLUTION: 100
14:45:05:983(0000232) [info ] [OpenCL] Platform 4 - devices count: 1
14:45:05:983(0000233) [info ] [OpenCL] - Device 0 - name: AMD Ryzen 9 5900HX with Radeon Graphics         - Compute units: 16 @ 0MHz
14:45:05:983(0000234) [info ] [OpenCL] Platform 5
14:45:05:983(0000235) [info ] [OpenCL] - vendor: Intel(R) Corporation
14:45:05:983(0000236) [info ] [OpenCL] - name: Intel(R) FPGA Emulation Platform for OpenCL(TM)
14:45:05:983(0000237) [info ] [OpenCL] - profile: EMBEDDED_PROFILE
14:45:05:983(0000238) [info ] [OpenCL] - version: OpenCL 1.2 Intel(R) FPGA SDK for OpenCL(TM), Version 20.3
14:45:05:983(0000239) [info ] [OpenCL] - CL_PLATFORM_NUMERIC_VERSION: 4202496.0.0
14:45:05:983(0000240) [info ] [OpenCL] - CL_PLATFORM_HOST_TIMER_RESOLUTION: 0
14:45:05:983(0000241) [info ] [OpenCL] Platform 5 - devices count: 1
14:45:05:983(0000242) [info ] [OpenCL] - Device 0 - name: Intel(R) FPGA Emulation Device - Compute units: 16 @ 0MHz
14:45:05:983(0000243) [info ] [OpenCL] Platform 6
14:45:05:983(0000244) [info ] [OpenCL] - vendor: Intel(R) Corporation
14:45:05:983(0000245) [info ] [OpenCL] - name: Intel(R) FPGA SDK for OpenCL(TM)
14:45:05:983(0000246) [info ] [OpenCL] - profile: EMBEDDED_PROFILE
14:45:05:983(0000247) [info ] [OpenCL] - version: OpenCL 1.0 Intel(R) FPGA SDK for OpenCL(TM), Version 2023.1
14:45:05:983(0000248) [info ] [OpenCL] - CL_PLATFORM_NUMERIC_VERSION: 0.0.0
14:45:05:983(0000249) [info ] [OpenCL] - CL_PLATFORM_HOST_TIMER_RESOLUTION: 0
14:45:05:983(0000250) [info ] [OpenCL] OpenCL data initialized ok.