diff --git a/libethash-cl/kernels/Makefile b/libethash-cl/kernels/Makefile index 4b25440253..278ad16dc5 100644 --- a/libethash-cl/kernels/Makefile +++ b/libethash-cl/kernels/Makefile @@ -41,3 +41,7 @@ gfx901: gfx901_lws64.bin gfx901_lws128.bin gfx901_lws256.bin .PHONY: gfx906 gfx906: gfx906_lws64.bin gfx906_lws128.bin gfx906_lws256.bin @echo "Built gfx906 kernels..." + +.PHONY: gfx908 +gfx908: gfx908_lws64.bin gfx908_lws128.bin gfx908_lws256.bin + @echo "Built gfx906 kernels..." diff --git a/libethash-cl/kernels/isa/GCN_ethash.isa b/libethash-cl/kernels/isa/GCN_ethash.isa index b674d735e7..abb2488cec 100644 --- a/libethash-cl/kernels/isa/GCN_ethash.isa +++ b/libethash-cl/kernels/isa/GCN_ethash.isa @@ -34,6 +34,10 @@ .driver_version 2906007 .include "GCN_ethash_globaldata.isa" .include "GCN5_ethash_search.isa" +.elseifgpu gfx908 + .driver_version 2906007 + .include "GCN_ethash_globaldata.isa" + .include "GCN5_ethash_search.isa" .else .error "Unsupported GPU!" .endif