Skip to main content

launch_unchecked

Function launch_unchecked 

Source
pub unsafe fn launch_unchecked<__R: Runtime>(
    __client: &ComputeClient<__R>,
    __cube_count: CubeCount,
    __cube_dim: CubeDim,
    _n: usize,
    input: RuntimeArg<[Vector<I, N>], __R>,
    output: RuntimeArg<[Vector<I, N>], __R>,
    n_iter: RuntimeArg<usize, __R>,
    _dtype: StorageType,
)
Expand description

Launch the kernel memory_direct_throughput() on the given runtime without bound checks.

ยงSafety

The kernel must not:

  • Contain any out of bounds reads or writes. Doing so is immediate UB.
  • Contain any loops that never terminate. These may be optimized away entirely or cause other unpredictable behaviour.