pothos-opencl: replace JSON array with native vector
pothos: added class pointer argument to register call