testing for opencl platform and device fucntions