Minimizing Sorting Networks at the Sub-Comparator Level

Publikation: Konference artikel i Proceeding eller bog/rapport kapitelKonferencebidrag i proceedingsForskningpeer review

Abstract

Sorting networks are sorting algorithms that execute a sequence of operations independently of the input. Since they can be implemented directly as circuits, sorting networks are easy to implement in hardware – but they are also used often in software to improve performance of base cases of standard recursive sorting algorithms. For this purpose, they are translated into machine-code instructions in a systematic way. Recently, a deep-learning system discovered better implementations than previously known of some sorting networks with up to 8 inputs. In this article, we show that all these examples are instances of a general pattern whereby some instructions are removed. We show that this removal can be done when a particular set of constraints on integers is satisfiable, and identify conditions where we can reduce this problem to propositional satisfiability. We systematically apply this general construction to improve the best-known implementations of sorting networks of size up to 128, which are the ones most commonly found in software implementations.
OriginalsprogEngelsk
TitelProceedings of 25th Conference on Logic for Programming, Artificial Intelligence and Reasoning
Antal sider15
Publikationsdato26 maj 2024
Sider36-50
DOI
StatusUdgivet - 26 maj 2024
Udgivet eksterntJa
BegivenhedConference on Logic for Programming, Artificial Intelligence and Reasoning - Port Louis, Mauritius
Varighed: 26 maj 202431 maj 2024
Konferencens nummer: 25
https://dblp.org/rec/conf/lpar/2024.html

Konference

KonferenceConference on Logic for Programming, Artificial Intelligence and Reasoning
Nummer25
Land/OmrådeMauritius
ByPort Louis
Periode26/05/202431/05/2024
Internetadresse
NavnEPiC Series in Computing
Vol/bind100

Fingeraftryk

Dyk ned i forskningsemnerne om 'Minimizing Sorting Networks at the Sub-Comparator Level'. Sammen danner de et unikt fingeraftryk.

Citationsformater