Is there a way to automatically convert a code that has been written to do FP32 calculations on a FP32 GPU, so it can do always FP16 calculations instead of FP32?
What I'm trying to achieve is to run a code for an old GPU(that doesn't support HALF Type), to run on a newer GPU that does... but without going through the code myself...
If not possible, show me some a light on what documentations should I read, to do it myself...
(new GPU is Radeon Vega Frontier, driver is ROCm 1.9.1, OS is Ubuntu 18.04) (the code is extensive and composed by different modules... so I won't be posting it here, unless asked to)