Latest commit 2af0b19 Jun 8, 2016 Evghenii Gaburov Merge branch 'master' into 1.8.3
Permalink
..
Failed to load latest commit information.
cpp_integration Use portable thrust::default_random_engine in cpp_integration/host.cp… Dec 4, 2012
cuda Merge pull request #751 from thrust/1.8.3 Feb 25, 2016
include added device_ptr example Feb 5, 2012
README Point links in README at Github rather than Google Code Jan 19, 2016
SConscript Simply the examples SConscript a bit. Mar 27, 2012
arbitrary_transformation.cu Move zip_iterator and related names into thrust:: Sep 3, 2009
basic_vector.cu Small fixes to example programs and Thrust code to help Windows build… Oct 28, 2010
bounding_box.cu Apply raw_reference_cast in CUDA's reduce implementation to allow con… Feb 14, 2013
bucket_sort2d.cu replace float2 with tuple<float,float> in bucket_sort2d example Jan 22, 2012
constant_iterator.cu Introduce missing #include <iostream> into a number of example programs Nov 19, 2015
counting_iterator.cu Introduce missing #include <iostream> into a number of example programs Nov 19, 2015
device_ptr.cu Introduce missing #include <iostream> into a number of example programs Nov 19, 2015
discrete_voronoi.cu fix warnings & errors exposed by use of nvcc -x c++ compilation mode … Feb 17, 2012
dot_products_with_zip.cu Add a seed parameter and default value to random_vector function Jul 16, 2014
expand.cu Fix typo resulting in segmentation fault in expand example Feb 15, 2012
fill_copy_sequence.cu silenced some compiler warnings in the examples Oct 1, 2010
histogram.cu improved histogram example Aug 25, 2011
lambda.cu Introduce missing #include <iostream> into a number of example programs Nov 19, 2015
lexicographical_sort.cu Updated examples to use Thrust rng instead of system rng. Nov 2, 2010
max_abs_diff.cu More clang compatibility fixes: Nov 19, 2015
minimal_custom_backend.cu Move the definitions of device_execution_policy & host_execution_poli… Feb 21, 2013
minmax.cu silenced warning in minmax example Aug 17, 2011
mode.cu Avoid #including <thrust/extrema.h> in the generic implementation of … Mar 25, 2013
monte_carlo.cu Add <cmath> to monte_carlo.cu. Jan 20, 2012
monte_carlo_disjoint_sequences.cu More clang compatibility fixes: Nov 19, 2015
norm.cu Introduce missing #include <iostream> into a number of example programs Nov 19, 2015
padded_grid_reduction.cu Use fully-qualified thrust::min & thrust::max in the bounding_box and… Jan 21, 2012
permutation_iterator.cu Introduce missing #include <iostream> into a number of example programs Nov 19, 2015
raw_reference_cast.cu Introduce missing #include <iostream> into a number of example programs Nov 19, 2015
remove_points2d.cu Add __host__ __device__ to the functor in remove_points2d.cu May 3, 2012
repeated_range.cu Introduce missing #include <iostream> into a number of example programs Nov 19, 2015
run_length_decoding.cu added run_length_decoding example Dec 16, 2010
run_length_encoding.cu simplified RLE example using defaults for reduce_by_key() Mar 16, 2010
saxpy.cu improved comments in lambda and saxpy examples Oct 4, 2011
scan_by_key.cu fixed bug in scan_by_key example Dec 18, 2010
set_operations.cu Avoid leading underscores in identifier names. Oct 9, 2013
simple_moving_average.cu eliminated code duplication in fast_scan Aug 25, 2011
sort.cu made examples that use random numbers more explicit to avoid portabil… Jan 19, 2011
sorting_aos_vs_soa.cu Fix typo in sorting_aos_vs_soa.cu Mar 25, 2015
sparse_vector.cu Implement thrust::merge_by_key Nov 13, 2012
stream_compaction.cu all example functors inherit from unary_function and binary_function now Jan 17, 2010
strided_range.cu Introduce missing #include <iostream> into a number of example programs Nov 19, 2015
sum.cu Fixed small bug in sum. Nov 2, 2010
sum_rows.cu cleaned up sum_rows and minmax examples Jul 28, 2011
summary_statistics.cu Introduce missing #include <iostream> into a number of example programs Nov 19, 2015
summed_area_table.cu fixed bug in summed_area_table example Dec 18, 2010
tiled_range.cu Introduce missing #include <iostream> into a number of example programs Nov 19, 2015
transform_iterator.cu all example functors inherit from unary_function and binary_function now Jan 17, 2010
transform_output_iterator.cu modify the example to gather multiple elements, which are used as a a… Mar 14, 2016
uninitialized_vector.cu Add uninitialized_vector example May 21, 2012
version.cu Added THRUST_PATCH_NUMBER to track patches to released Thrust Jun 7, 2016
weld_vertices.cu fix warnings & errors exposed by use of nvcc -x c++ compilation mode … Feb 17, 2012
word_count.cu Removed extra semicolon from word_count example Feb 4, 2013

README

Once Thrust has been installed, these example programs can be compiled
directly with nvcc.  For example, the following command will compile the
norm example.
  $ nvcc norm.cu -o norm

These examples are also available online:
  https://github.com/thrust/thrust/tree/master/examples

For additional information refer to the Quick Start Guide:
  https://github.com/thrust/thrust/wiki/Quick-Start-Guide