pub trait CudaTracegenAir<F: Field>: MachineAir<F> {
// Provided methods
fn supports_device_preprocessed_tracegen(&self) -> bool { ... }
fn generate_preprocessed_trace_device(
&self,
program: &Self::Program,
scope: &TaskScope,
) -> impl Future<Output = Result<Option<DeviceMle<F>>, CopyError>> + Send { ... }
fn supports_device_main_tracegen(&self) -> bool { ... }
fn generate_trace_device(
&self,
input: &Self::Record,
output: &mut Self::Record,
scope: &TaskScope,
) -> impl Future<Output = Result<DeviceMle<F>, CopyError>> + Send { ... }
}Expand description
An AIR that potentially supports device trace generation over the given field.
Provided Methods§
Sourcefn supports_device_preprocessed_tracegen(&self) -> bool
fn supports_device_preprocessed_tracegen(&self) -> bool
Whether this AIR supports preprocessed trace generation on the device.
Sourcefn generate_preprocessed_trace_device(
&self,
program: &Self::Program,
scope: &TaskScope,
) -> impl Future<Output = Result<Option<DeviceMle<F>>, CopyError>> + Send
fn generate_preprocessed_trace_device( &self, program: &Self::Program, scope: &TaskScope, ) -> impl Future<Output = Result<Option<DeviceMle<F>>, CopyError>> + Send
Generate the preprocessed trace on the device.
§Panics
Panics if unsupported. See CudaTracegenAir::supports_device_preprocessed_tracegen.
Sourcefn supports_device_main_tracegen(&self) -> bool
fn supports_device_main_tracegen(&self) -> bool
Whether this AIR supports main trace generation on the device.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.