HIP icon indicating copy to clipboard operation
HIP copied to clipboard

How to estimate the accuracy of converting HIP to CUDA or converting CUDA to HIP?

Open NiuKeke opened this issue 1 year ago • 5 comments

How to estimate the accuracy of converting HIP to CUDA or converting CUDA to HIP? As we all know, HIP could support CUDA definitely.But how to estimate its support accuracy,which is important to using HIP.Is there some tool which could fix this problem?

NiuKeke avatar Nov 02 '23 03:11 NiuKeke

This could be done by some test suites about fp operations. Unfortunately, I am not aware of one for CUDA/HIP.

There is a research paper about math function accuracy of various math libraries, including CUDA and HIP (ROCm)

https://members.loria.fr/PZimmermann/papers/accuracy.pdf

yxsamliu avatar Nov 02 '23 18:11 yxsamliu

@NiuKeke I'm not sure we're clear on what kind of accuracy you mean. Could you elaborate?

b-sumner avatar Nov 02 '23 20:11 b-sumner

@NiuKeke I'm not sure we're clear on what kind of accuracy you mean. Could you elaborate?

I mean if there were some test suites about CUDA/HIP just like opencl-cts, which could be a criterion of Opencl.

NiuKeke avatar Dec 04 '23 06:12 NiuKeke

This could be done by some test suites about fp operations. Unfortunately, I am not aware of one for CUDA/HIP.

There is a research paper about math function accuracy of various math libraries, including CUDA and HIP (ROCm)

https://members.loria.fr/PZimmermann/papers/accuracy.pdf

thank you!I mean if there were some test suites about CUDA/HIP just like opencl-cts, which could be a criterion of Opencl.

NiuKeke avatar Dec 04 '23 06:12 NiuKeke

@NiuKeke Please advise if we can go ahead and close this ticket? Thanks!

ppanchad-amd avatar May 31 '24 17:05 ppanchad-amd