Skip to main content

read_tensor_atomic_checked

Function read_tensor_atomic_checked 

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

Returns the value at index in tensor within bounds.