def METHOD_NAME(env, remote):
    if device == "vta":
        target = env.target
        if env.TARGET not in ["sim", "tsim"]:
            assert tvm.runtime.enabled("rpc")
            program_fpga(remote, bitstream=None)
            reconfig_runtime(remote)
    elif device == "arm_cpu":
        target = env.target_vta_cpu
    with autotvm.tophub.context(target):  # load pre-tuned schedule parameters
        run_gemm(env, remote, target, batch, in_feat, out_feat)