Closed fanoush closed 5 months ago
Hi @fanoush,
thanks for reporting this! For Linux the kernels are not properly executed on Carrizo for some reason, runtime is close to zero, and wrong results are reported. Looks like AMD's old Linux driver is broken and neither compiles correctly nor throws an error. The benchmark uses a 1GB buffer allocation which is within the reported limit; not sure why AMD reports different buffer allocation limits on Windows/Linux. There is nothing I can do about broken legacy drivers except maybe find a workaround. But the benchmark kernels are super simple and I doubt there even is a workadound. AMD won't fix their legacy drivers ever.
Kind regards, Moritz
Thanks for the reply. I am not sure what "AMD's old linux driver" is, for Carrizo the Ubuntu 22.04 loads the opensource amdgpu kernel driver, older generation (Kabini,Kaveri) loads the radeon driver as per table here https://www.x.org/wiki/RadeonFeature/#featurematrixforfreeradeondrivers (Carrizo is Volcanic islands).
So I was thinking everything is opensource (amdgpu+mesa) except maybe some AMD firmware. But I am not sure where the "OpenCL C 1.1" comes from.
There is nothing I can do about broken legacy drivers except maybe find a workaround. But the benchmark kernels are super simple and I doubt there even is a workadound.
Maybe the benchmark could test the result of the computation done in OpenCL kernel? Then if the result is not as expected the kernel does not work. That would not only test speed but also accuracy/correctness of OpenCL implementation.
Hello, here are results from Windows 10 and Ubuntu Mate 22.04 for HP T630 thin client with integrated Carrizo GPU
Linux
I am not sure what numbers to expect but aren't those Ubuntu results too optimistic (check also the Memory Bandwidth)? This is same device dualbooting between windows and linux. T630 is AMD GX-420GI quad-core APU from year 2016 https://en.wikipedia.org/wiki/List_of_AMD_processors_with_3D_graphics#I-Family:_%22Brown_Falcon%22_(2016,_SoC)
I used precompiled linux and windows binaries from https://github.com/ProjectPhysX/OpenCL-Benchmark/releases/ (I guess it was the latest 1.3 but maybe previous 1.2 one, not actually sure EDIT: tried both versions, no difference)