SChernykh / RandomX_OpenCL

RandomX OpenCL implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Radeon VII error -11

kibatronic opened this issue · comments

I get the following error on my Radeon VII, Win 10 (1903), Adrenalin 19.5.2:

Compiling base_kernels.bin...done Compiling randomx_init.bin...done Compiling randomx_run_gfx803.bin...clBuildProgram failed: error -11 Error: AMD HSA Code Object loading failed.

This are the options that I use:

RandomX_OpenCL.exe --mine --intensity 1984

Full output:

`PS C:\Users\user\Downloads\RandomX_OpenCL-windows-x64-v1.0.4-8> .\RandomX_OpenCL.exe --mine --intensity 1984
Initializing GPU #0 on OpenCL platform #0

Device name: gfx906
Device vendor: Advanced Micro Devices, Inc.
Global memory: 16192 MB
Local memory: 32 KB
Clock speed: 1802 MHz
Compute units: 60
OpenCL version: OpenCL 2.0 AMD-APP (2841.5)
Driver version: 2841.5 (PAL,HSAIL)
Extensions: cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_khr_gl_depth_images cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_d3d10_sharing cl_khr_d3d11_sharing cl_khr_dx9_media_sharing cl_khr_image2d_from_buffer cl_khr_spir cl_khr_subgroups cl_khr_gl_event cl_khr_depth_images cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_amd_liquid_flash cl_amd_planar_yuv

Compiling base_kernels.bin...done
Compiling randomx_init.bin...done
Compiling randomx_run_gfx803.bin...clBuildProgram failed: error -11
Error: AMD HSA Code Object loading failed.`

That version worked.

1500 h/s With stock clocks, using about 150W.

Is there a way to use larger intensity values? Only about 6500MB of GPU RAM is used out of total 16000MB.

xmrig-amd can run 2 threads per GPU, but you'll need to wait until this fix is implemented there.
xmrig/xmrig-amd#274