add prefetch to C API