Material data now shared properly with the ocl device