standard library: Add most of the OpenCL functions