Skip to content

Commit

Permalink
Workaround for inclusive scan issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sriharikarnam committed Apr 23, 2019
1 parent 4a97237 commit 33ecf4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thrust/system/cuda/detail/scan.inl
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ OutputIterator inclusive_scan(execution_policy<DerivedPolicy> &exec,

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

const Size threshold_of_parallelism = 20000;
const Size threshold_of_parallelism = 512; //Workaround for inclusive scan issue

if(n < threshold_of_parallelism)
{
Expand Down

0 comments on commit 33ecf4e

Please sign in to comment.