Skip to content

Commit 33ecf4e

Browse files
committed
Workaround for inclusive scan issue
1 parent 4a97237 commit 33ecf4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thrust/system/cuda/detail/scan.inl

+1-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ OutputIterator inclusive_scan(execution_policy<DerivedPolicy> &exec,
221221

222222
hipStream_t s = stream(thrust::detail::derived_cast(exec));
223223

224-
const Size threshold_of_parallelism = 20000;
224+
const Size threshold_of_parallelism = 512; //Workaround for inclusive scan issue
225225

226226
if(n < threshold_of_parallelism)
227227
{

0 commit comments

Comments
 (0)