Patent · US Active

Heapsort in a parallel processing framework

US12197453B2 · kind B2 · utility

0Cited by
6References
20Claims
0Family size

Assignee

Inventors

Key dates

Filing dateAug 22, 2023
Grant dateJan 14, 2025
Priority date
Expiry dateAug 22, 2043

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F16/23
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A method for performing a parallelized heapsort operation may include updating, by a first worker thread, a first buffer while a second worker thread updates a second buffer in parallel. The first worker thread may update the first buffer by adding, to the first buffer, elements from a first partition of a dataset. The second worker thread may update the second buffer by adding, to the second buffer, elements from a second partition of the dataset. Upon the first buffer reaching a threshold size, the first worker thread may acquire a lock for the first worker thread to update a heap based on the first buffer while the second worker thread is prevented from updating the heap based on the second buffer. A result of a top k query comprising a k quantity of smallest elements from the dataset may be generated based on the heap.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.