AnsweredAssumed Answered

Wrong OpenCL calculation result on AMD 5700 XT

Question asked by Neverhood on Jan 20, 2020
Latest reply on Jun 11, 2020 by Neverhood

Good day!

 

Our company uses OpenCL framework to work with AMD GPUs. But unfortunately, the OpenCL driver for AMD 5700 XT GPU gives wrong calculation results. This applies for all GPU drivers I have tested so far, including the latest one: Adrenalin 2020 Edition 20.1.2 Optional for Windows 10 x64.

 

I have prepared a test tool to show the problem. You can found test executable, kernel code and code of the test itself in the attached archive. Just launch "test-ripemd.exe".

The test calculates the Ripemd160 hash of string "111...1" (85 chars of "1") and expects the result

CC 65 31 86 F8 7E 53 DA 26 A9 97 BE 04 AC 47 CC 24 6A 70 63.

 

On a machine with AMD RX 580/560 series GPU the test gives us the expected Ripemd160 hash. But on a machine with AMD 5700 XT GPU the test gives us a wrong Ripemd160 hash:

C0 0C CB BE E8 77 02 A0 70 D1 57 C3 1D 41 E3 1C 42 C9 DD 07

There is no warnings, no compilation errors.

 

How can I connect with AMD developers to fix this issue?

 

Best regards, Dmitry.

Attachments

Outcomes