Skip to main content

read_tensor_atomic_validate

Function read_tensor_atomic_validate 

Source
pub fn read_tensor_atomic_validate<C: Scalar>(
    tensor: Tensor<Atomic<C>>,
    index: usize,
    unroll_factor: usize,
    kernel_name: String,
) -> Atomic<C>
Expand description

Returns the value at index in tensor within bounds.