We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2135633 commit 81dc8c7Copy full SHA for 81dc8c7
include/boost/compute/algorithm/detail/radix_sort.hpp
@@ -176,8 +176,10 @@ const char radix_sort_source[] =
176
" uint sum = 0;\n"
177
" for(uint i = 0; i < K2_BITS; i++){\n"
178
" uint x = global_offsets[i] + last_block_offsets[i];\n"
179
+" mem_fence(CLK_GLOBAL_MEM_FENCE);\n" // work around the RX 500/Vega bug, see #811
180
" global_offsets[i] = sum;\n"
181
" sum += x;\n"
182
+" mem_fence(CLK_GLOBAL_MEM_FENCE);\n" // work around the RX Vega bug, see #811
183
" }\n"
184
"}\n"
185
0 commit comments