Kun's Blog

code | coffee | photography

Menu
  • Posts
  • Tags
  • Series
  • Murmurs
  • Timeline
  • Gallery
  • Bookmarks
  • About
  • Posts
  • Tags
  • Series
  • Murmurs
  • Timeline
  • Gallery
  • Bookmarks
  • About
⌘K

Timeline

Total 2 posts

2 posts
2,429 words
12 min read
2025 Nov
15

Introduction to Bitonic Sort

Bitonic sort is a sorting method that supports parallel computation. Because it uses only simple comparisons and swaps, it is suitable for sorting large numbers of elements on architectures with many parallel execution units, such as GPUs and NPUs.

Algorithm
15

c++ reduce usage

std::reduce is an algorithm introduced in C++17, used similarly to std::accumulate, and located in the <numeric> header file. It is used to compute a "generalized sum" of elements in a range (such as an array or container), similar to progressively merging all elements into a single result. It uses addition by default, but custom operations (such as multiplication) can be defined. Its core advantage is its support for parallel execution, making it suitable for large-scale data and improving efficiency.

cpp

RSS / GitHub / Email 

© 2025-2026 kunps

0 visitors

Thanks to Retypeset