Hello Dieter,
Please note that RadeonSI + ACO combination is very experimental at the
moment, so it is expected that some things will break. For this
concrete issue, take a look at this MR to see if it helps:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24112
It is of course very possible that there will be other issues after
this which will need to be investigated further.
In the future, I recommend opening an issue on Mesa GitLab:
https://gitlab.freedesktop.org/mesa/mesa/-/issues
Best regards,
Timur
On Tue, 2023-07-11 at 15:09 +0200, Dieter Nützel wrote:
> Hello List,
>
> running clinfo under RUSTICL on my Polaris 20, RX580 explode with ACO
> compiler.
>
> AMD_DEBUG=useaco
>
> RUSTICL_ENABLE=radeonsi
> RUSTICL_FEATURES=fp64
>
>
> Greetings,
> Dieter
>
>
> (gdb) r
> Starting program: /usr/bin/clinfo
> Downloading separate debug info for system-supplied DSO at
> 0x77fc7000
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib64/libthread_db.so.1".
> Downloading separate debug info for
> /usr/local/lib64/libRusticlOpenCL.so.1
> [New Thread 0x7fffebfff6c0 (LWP 2435)]
> [New Thread 0x7fffeb6bd6c0 (LWP 2436)]
> [New Thread 0x7fffeaebc6c0 (LWP 2437)]
> [New Thread 0x7fffea6bb6c0 (LWP 2438)]
> Number of platforms 1
> Platform Name rusticl
> Platform Vendor Mesa/X.org
> Platform Version OpenCL 3.0
> Platform Profile FULL_PROFILE
> Platform Extensions
> cl_khr_byte_addressable_store cl_khr_create_command_queue
> cl_khr_extended_versioning cl_khr_icd cl_khr_il_program
> cl_khr_spirv_no_integer_wrap_decoration
> Platform Extensions with Version
> cl_khr_byte_addressable_store
> 0x40 (1.0.0)
>
> cl_khr_create_command_queue
> 0x40 (1.0.0)
>
> cl_khr_extended_versioning
> 0x40 (1.0.0)
>
> cl_khr_icd
> 0x40 (1.0.0)
>
> cl_khr_il_program
> 0x40 (1.0.0)
>
> cl_khr_spirv_no_integer_wrap_decoration
> 0x40 (1.0.0)
> Platform Numeric Version 0xc0 (3.0.0)
> Platform Extensions function suffix MESA
> Platform Host timer resolution 1ns
>
> Platform Name rusticl
> Number of devices 1
> Device Name AMD Radeon RX 580
> Series (polaris10, LLVM 17.0.0git, DRM 3.52, 6.4.2-1.ge2dafc9-
> default)
> Device Vendor AMD
> Device Vendor ID 0x1002
> Device Version OpenCL 3.0
> Device UUID
> -0100---
> Driver UUID
> 414d442d-4d45-5341-2d44-5256
> Valid Device LUID No
> Device LUID -
> Device Node Mask 0
> Device Numeric Version 0xc0 (3.0.0)
> Driver Version 23.2.0-devel
> (git-0695ead057)
> Device OpenCL C Version OpenCL C 1.2
> Device OpenCL C Numeric Version 0x402000 (1.2.0)
> Device OpenCL C all versions OpenCL
> C
> 0xc0 (3.0.0)
> OpenCL
> C
> 0x402000 (1.2.0)
> OpenCL
> C
> 0x401000 (1.1.0)
> OpenCL
> C
> 0x40 (1.0.0)
> Device OpenCL C features
> __opencl_c_integer_dot_product_input_4x8bit_packed
> 0x80 (2.0.0)
>
> __opencl_c_integer_dot_product_input_4x8bit
> 0x80 (2.0.0)
>
> __opencl_c_fp64
> 0x40 (1.0.0)
>
> __opencl_c_int64