Skip to content

Workaround inclusive_scan issues in thrust 1.8.X for complex value types.

The original workaround for inclusive_scan bugs in thrust 1.8 only solved the issue for basic arithmetic types such as int, float, double. Now we go one step further and fix the problem for all types.

The solution is to provide a proper implementation of destructive_accumulate_n and make sure it exists before any includes of thrust occur.

Merge request reports