Giter VIP home page Giter VIP logo

oneapi-parallel-pdqsort's Introduction

Note: This project emerged from the final assignment of High Performance Computing course and was out of pure personal interest, thus containing astoundingly immature implementation. PRs are welcomed.

A parallelized implementation of Pattern-Defeating Quicksort (Orson Peters, 2021) using Intel® oneAPI toolkit with support of C++20 features including std::ranges and concepts. This C++ implementation is based on that of Rust's std::slice::sort_unstable and Boost's sort::pdqsort. The project is still in progress.

Performance

Test on Intel i5-12600K @ 3.70 Ghz (16 threads), Windows 11 22H2. Compiled with Intel® oneAPI DPC++ Compiler 2022.2.0.1, /O2 /std:c++latest.

impl::parallel_pdqsort std::sort
random_64 5.86μs±45.9% 1.46μs±27.0%
random_256 12.11μs±22.7% 6.98μs±11.9%
random_1024 36.29μs±25.6% 32.4μs±39.0%
random_4096 82.34μs±22.9% 160.09μs±64.6%
random_65536 1.10ms±12.6% 3.26ms±1.5%

oneapi-parallel-pdqsort's People

Contributors

snzfor16min avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.