microsoft / microsoft/STL

Provide AVX-512 implementations of vector algorithms

Open
#814 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

blocked performance
Dominant language
C++
Stars
11.1k
Forks
1.7k
Avg merge
4d 15h
Merged PRs (30d)
22

Description

Currently, stl/src/vector_algorithms.cpp provides optimized implementations for SSE4.2 and AVX2; for example:

https://github.com/microsoft/STL/blob/7b9a0f5d6fa70641a61408da21afec131b40f323/stl/src/vector_algorithms.cpp#L27-L33

AVX-512 might further increase performance. I'm marking this issue as https://github.com/microsoft/STL/labels/blocked until a maintainer (i.e. me) has AVX-512-capable hardware to verify benchmarks.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in stl/src/vector_algorithms.cpp, especially the existing SSE4.2 and AVX2 implementations around lines 27-33. Compare their structure before assessing the AVX-512 implementation, then verify performance with benchmarks on AVX-512-capable hardware. Done means AVX-512 vector algorithms are implemented and their performance has been verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.