Skip to content

Commit 87bf3c0

Browse files
authored
added missing readme section (oneapi-src#19)
Signed-off-by: Ethan Hirsch <[email protected]>
1 parent f354f92 commit 87bf3c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DirectProgramming/C++/MergesortOMP/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This code sample demonstrates how to convert a scalar implementation of merge so
2929

3030
## Key Implementation Details
3131

32-
Write some stuff here
32+
The OpenMP* version of the merge sort implementation uses #pragma omp task in its recursive calls, which allows the recursive calls to be handled by different threads. The #pragma omp taskawait preceeding the function call to merge() ensures the two recursive calls are completed before merge() is executed. Through this use of OpenMP* pragmas, the recursive sorting algorithm can effectively run in parallel, where each recursion is a unique task able to be performed by any available thread.
3333

3434

3535
## License

0 commit comments

Comments
 (0)