Skip to main content

build_kernel

Function build_kernel 

Source
pub fn build_kernel<R: Runtime>(
    client: &ComputeClient<R>,
    key: ThroughputKey,
    config: LaunchConfig,
    working_set: usize,
) -> KernelConfig
Expand description

Builds the copy kernel, moving working_set bytes per pass: half read out of the input buffer, half written into the output one.