On The Complexity Of Robust Source-To-Source Translation From Cuda To Opencl