module Data.Vector.Algorithms.Quicksort.Predefined.UTupleParallelStrategiesMedian3IO
( sortUTupleParallelStrategiesMedian3IO
) where
import Control.Monad.ST
import Data.Int
import Data.Vector.Unboxed qualified as U
import Data.Vector.Algorithms.Quicksort.Parameterised
import Data.Vector.Algorithms.Quicksort.Predefined.UTupleSequentialMedian3IO ()
{-# NOINLINE sortUTupleParallelStrategiesMedian3IO #-}
sortUTupleParallelStrategiesMedian3IO :: U.MVector RealWorld (Int32, Int32) -> IO ()
sortUTupleParallelStrategiesMedian3IO :: MVector RealWorld (Int32, Int32) -> IO ()
sortUTupleParallelStrategiesMedian3IO = ParStrategies
-> Median3 (Int32, Int32)
-> MVector (PrimState IO) (Int32, Int32)
-> IO ()
forall p med x (m :: * -> *) a (v :: * -> * -> *).
(Fork2 p x m, Median med a m (PrimState m), PrimMonad m, Ord a,
MVector v a) =>
p -> med -> v (PrimState m) a -> m ()
sortInplaceFM ParStrategies
defaultParStrategies (forall a. Median3 a
forall {k} (a :: k). Median3 a
Median3 @(Int32, Int32))