Searching and Sorting with O(n^2) processors in O(1) time

11/23/2020
by   Taeyoung An, et al.
0

The proliferation of number of processing elements (PEs) in parallel computer systems, along with the use of more extensive parallelization of algorithms causes the interprocessor communications dominate VLSI chip space. This paper proposes a new architecture to overcome this issue by using simple crosspoint switches to pair PEs instead of a complex interconnection network. Based on the cyclic permutation wiring idea described in <cit.>, this pairing leads to a linear crosspoint array of n(n-1)/2 processing elements and as many crosspoints. We demonstrate the versatility of this new parallel architecture by designing fast searching and sorting algorithms for it. In particular, we show that finding a minimum, maximum, and searching a list of n elements can all be performed in O(1) time with elementary logic gates with O(n) fan-in, and in O( n) time with O(1) fan-in. We further show that sorting a list of n elements can also be carried out in O(1) time using elementary logic gates with O(n) fan-in and threshold logic gates. The sorting time increases to O( n n) if only elementary logic gates with O(1) fan-in are used. The algorithm can find the maximum among n elements in O(1) time, and sort n elements in O( n ( n)) time. In addition, we show how other fundamental queries can be handled within the same order of time complexities.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/25/2019

A Curious Link Between Prime Numbers, the Maundy Cake Problem and Parallel Sorting

We present new theoretical algorithms that sums the n-ary comparators ou...
research
10/15/2020

Sorting Short Keys in Circuits of Size o(n log n)

We consider the classical problem of sorting an input array containing n...
research
02/17/2022

A Creativity Survey of Parallel Sorting Algorithm

Sorting is one of the most fundamental problems in the field of computer...
research
06/10/2020

Introducing Structure to Expedite Quantum Search

We present a novel quantum algorithm for solving the unstructured search...
research
10/04/2018

Deriving sorting algorithms via abductive logic program transformation

Logic program transformation by the unfold/fold method ad- vocates the w...
research
02/08/2022

Tube-Balloon Logic for the Exploration of Fluidic Control Elements

The control of pneumatically driven soft robots typically requires elect...
research
01/01/2021

Chunk List: Concurrent Data Structures

Chunking data is obviously no new concept; however, I had never found an...

Please sign up or login with your details

Forgot password? Click here to reset