Skip to main content

Mojo function

maximum

maximum[dtype: DType, BN: Int, //, *, width: Int = 8](x: LayoutTensor[dtype, Layout.row_major(BN), MutableAnyOrigin, address_space=AddressSpace(5)]) -> SIMD[dtype, width]

Returns:

SIMD

maximum[dtype: DType, BN: Int, width: Int, //](x: LayoutTensor[dtype, Layout.row_major(BN), MutableAnyOrigin, address_space=AddressSpace(5)], init: SIMD[dtype, width]) -> SIMD[dtype, width]

Returns:

SIMD

Was this page helpful?