SChernykh / RandomX_OpenCL

RandomX OpenCL implementation
GNU General Public License v3.0
29 stars 7 forks source link

Radeon VII error -11 #6

Open kibatronic opened 5 years ago

kibatronic commented 5 years ago

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.`

SChernykh commented 5 years ago

Can you try https://github.com/SChernykh/RandomX_OpenCL/releases/tag/v1.1.0-1 ?

kibatronic commented 5 years ago

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.

SChernykh commented 5 years ago

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