Bringing Altera OpenCL implementation in line with changes to base OpenCL GPU implementation