core/ocl: replace dynamic runtime