convertArray
  :: (Ix i, Num i, Ord a)
  => NumThreads
  -> ST2Array r w i a
  -> ST2 r w (ST2Array r w i Int)
convertArray n xs =
  run $ PassS $ PassS $ PassZ $ ConvertArray $
  convertArrayMP n xs
convertArray
  :: (Ix i, Num i, Ord a)
  => NumThreads
  -> ST2Array r w i a
  -> ST2 r w (ST2Array r w i Int)
convertArray n xs =
  run $ PassS $ PassS $ PassZ $ ConvertArray $
  convertArrayMP n xs
convertArray n xs =
  run $ PassS $ PassS $ PassZ $ ConvertArray $
  convertArrayMP n xs