lion03 / thrust

Automatically exported from code.google.com/p/thrust
Apache License 2.0
0 stars 0 forks source link

Can't use inclusive_segmented_scan with the latest thrust version #223

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Please post a short code sample which reproduces the problem:
attached

What is the expected output? What do you see instead?
The compiler can't find the segmented_scan.h header.

What version of Thrust are you using? Which version of nvcc?  Which host
compiler?  On what operating system?
The latest from hg; 3.1, 3.2; MSVC 2008/g++ 4.3.4; Win 7/Ubuntu

Original issue reported on code.google.com by JKoma...@gmail.com on 22 Sep 2010 at 10:35

Attachments:

GoogleCodeExporter commented 8 years ago
thrust::experimental::inclusive_segmented_scan is now called 
thrust::inclusive_scan_by_key and is located in <thrust/scan.h> [1]

[1] http://code.google.com/p/thrust/source/browse/thrust/scan.h#337

Original comment by jaredhoberock on 22 Sep 2010 at 11:04

GoogleCodeExporter commented 8 years ago
Just FYI, the order of the key and value sequences has been switched.

Original comment by wnbell on 23 Sep 2010 at 5:30