[Parser] Updated OpenCL/CUDA port