Rewrite my own the each sample test for each OpenCL function