You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Delete images/blog/MergeSortTest.png
* Update 2026-03-01-Creating teaching materials for C++ and CUDA with xeus-cpp.md
* Fixed typos
* Update terms.txt
Copy file name to clipboardExpand all lines: _posts/2026-03-01-Creating teaching materials for C++ and CUDA with xeus-cpp.md
+136-6Lines changed: 136 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,8 @@ sitemap: false
6
6
author: Hristiyan Shterev
7
7
permalink: blogs/xeus_cpp_Hristiyan_Shterev_blog/
8
8
date: 2026-03-01
9
-
tags: xeus-cpp cuda jupyter c++ xeus
9
+
tags: xeus-cpp cuda jupyter c++ xeus internship high-school systems-programming
10
+
custom_css: jupyter
10
11
---
11
12
12
13
{% include dual-banner.html
@@ -56,11 +57,140 @@ More specific goals include:
56
57
57
58
## Example
58
59
59
-
**CPU - std::sort vs GPU - Merge sort speed test**
60
-
61
-
The example below shows a C++ benchmark comparing the performance of sorting a large array on a CPU versus a GPU. It provides a clear visual of how parallel processing can drastically outperform traditional sequential execution for data-heavy tasks.
The example below shows a C++ benchmark comparing the performance of sorting a large array on a CPU versus a GPU. It provides a clear visual of how parallel processing can drastically outperform traditional sequential execution for data-heavy tasks.
71
+
</p>
72
+
73
+
<p>
74
+
In the first cell we create the unsorted data that is going to be sorted by the CPU and GPU. We have loaded a compiled CUDA .so file beforehand.
0 commit comments