cancel
Showing results for 
Search instead for 
Did you mean: 

OpenCL

Neverhood
Adept II

Wrong OpenCL calculation result on AMD 5700 XT

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.

1 Solution

Update:

The above compiler optimization issue has been fixed and the fix is expected to be released soon.

Thanks.  

View solution in original post

0 Likes
10 Replies