fix opencl dim type and remove manager::size_type