Skip to main content

Module data_transporter

Module data_transporter 

Source

Functionsยง

assert_eq_device_matrix
assert_eq_host_and_device_matrix
assert_eq_host_and_device_matrix_col_maj
transport_air_proving_ctx_to_device
transport_air_proving_ctx_to_host
transport_and_unstack_single_data_h2d
d must be the stacked pcs data of a single trace matrix. This function will transport d to device and then unstack it (allocating device memory) to return CommittedTraceData<F, Digest>.
transport_matrix_d2h_col_major
transport_matrix_d2h_row_major
transport_matrix_h2d_col_major
transport_matrix_h2d_row
transport_merkle_tree_h2d
Transports backing matrix and tree digest layers from host to device.
transport_merkle_tree_to_host
For debugging purposes only.
transport_pcs_data_h2d
transport_proving_ctx_to_host