2
0
mirror of https://github.com/boostorg/compute.git synced 2026-02-23 03:32:13 +00:00

Merge pull request #672 from haahh/pr_fix_merge_sort_gpu

Fix merge_sort_on_gpu()
This commit is contained in:
Kyle Lutz
2016-12-05 20:23:58 -08:00
committed by GitHub

View File

@@ -418,7 +418,7 @@ inline void merge_blocks_on_gpu(KeyIterator keys_first,
");\n" <<
"left_idx = equal ? mid_idx + 1 : left_idx + 1;\n" <<
"right_idx = equal ? right_idx : mid_idx;\n" <<
"upper_key = equal ? upper_key : " <<
"upper_key = " <<
keys_first[k.var<const uint_>("left_idx")] << ";\n" <<
"}\n" <<
"}\n" <<