[][src]Function dqcsim::bindings::dqcs_sim_start

#[no_mangle]pub extern "C" fn dqcs_sim_start(
    sim: dqcs_handle_t,
    data: dqcs_handle_t
) -> dqcs_return_t

Starts a program on the simulated accelerator.

This is an asynchronous call: nothing happens until yield(), recv(), or wait() is called.

The ArbData handle is optional; if 0 is passed, an empty data object is used. If a handle is passed, it is consumed if and only if the API call succeeds.