Skip to main content

Mojo function

readfirstlane

readfirstlane(value: SIMD[int32, 1]) -> SIMD[int32, 1]

Get the value in the lowest active lane of the input operand.

Args:

  • value (SIMD): The input value.

Returns:

SIMD: The value in the lowest active lane of the input operand.

readfirstlane(value: UnsafePointer[type, address_space=address_space, alignment=alignment, mut=mut, origin=origin]) -> UnsafePointer[type, address_space=address_space, alignment=alignment, mut=mut, origin=origin]

Get the value in the lowest active lane of the input operand.

Args:

Returns:

UnsafePointer: The value in the lowest active lane of the input operand.

readfirstlane(value: Int) -> Int

Get the value in the lowest active lane of the input operand.

Args:

  • value (Int): The input pointer.

Returns:

Int: The value in the lowest active lane of the input operand.

Was this page helpful?