Index of /wiki/ParallelComputingSpring2014/nvidia/thrust-e81f886f5b09/examples/
Name | Last Modified | Size |
---|---|---|
Parent Directory | ||
cpp_integration | 2022-06-01 22:51 | - |
cuda | 2022-06-01 22:51 | - |
include | 2022-06-01 22:51 | - |
arbitrary_transformation.cu | 2022-06-01 22:51 | 3k |
basic_vector.cu | 2022-06-01 22:51 | 1k |
bounding_box.cu | 2022-06-01 22:51 | 3k |
bucket_sort2d.cu | 2022-06-01 22:51 | 4k |
constant_iterator.cu | 2022-06-01 22:51 | 1k |
counting_iterator.cu | 2022-06-01 22:51 | 2k |
device_ptr.cu | 2022-06-01 22:51 | 2k |
discrete_voronoi.cu | 2022-06-01 22:51 | 7k |
dot_products_with_zip.cu | 2022-06-01 22:51 | 6k |
expand.cu | 2022-06-01 22:51 | 4k |
fill_copy_sequence.cu | 2022-06-01 22:51 | 1k |
histogram.cu | 2022-06-01 22:51 | 7k |
lambda.cu | 2022-06-01 22:51 | 3k |
lexicographical_sort.cu | 2022-06-01 22:51 | 3k |
max_abs_diff.cu | 2022-06-01 22:51 | 2k |
minimal_custom_backend.cu | 2022-06-01 22:51 | 3k |
minmax.cu | 2022-06-01 22:51 | 3k |
mode.cu | 2022-06-01 22:51 | 3k |
monte_carlo.cu | 2022-06-01 22:51 | 2k |
monte_carlo_disjoint_sequences.cu | 2022-06-01 22:51 | 3k |
norm.cu | 2022-06-01 22:51 | 2k |
padded_grid_reduction.cu | 2022-06-01 22:51 | 4k |
permutation_iterator.cu | 2022-06-01 22:51 | 1k |
raw_reference_cast.cu | 2022-06-01 22:51 | 4k |
remove_points2d.cu | 2022-06-01 22:51 | 3k |
repeated_range.cu | 2022-06-01 22:51 | 3k |
run_length_decoding.cu | 2022-06-01 22:51 | 2k |
run_length_encoding.cu | 2022-06-01 22:51 | 2k |
saxpy.cu | 2022-06-01 22:51 | 3k |
scan_by_key.cu | 2022-06-01 22:51 | 3k |
SConstruct | 2022-06-01 22:51 | 1k |
set_operations.cu | 2022-06-01 22:51 | 5k |
simple_moving_average.cu | 2022-06-01 22:51 | 3k |
sort.cu | 2022-06-01 22:51 | 4k |
sorting_aos_vs_soa.cu | 2022-06-01 22:51 | 3k |
sparse_vector.cu | 2022-06-01 22:51 | 4k |
stream_compaction.cu | 2022-06-01 22:51 | 3k |
strided_range.cu | 2022-06-01 22:51 | 4k |
sum.cu | 2022-06-01 22:51 | 1k |
sum_rows.cu | 2022-06-01 22:51 | 2k |
summary_statistics.cu | 2022-06-01 22:51 | 5k |
summed_area_table.cu | 2022-06-01 22:51 | 3k |
tiled_range.cu | 2022-06-01 22:51 | 3k |
transform_iterator.cu | 2022-06-01 22:51 | 4k |
version.cu | 2022-06-01 22:51 | 1k |
weld_vertices.cu | 2022-06-01 22:51 | 3k |
word_count.cu | 2022-06-01 22:51 | 3k |
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:
http://code.google.com/p/thrust/source/browse/#hg/examples
For additional information refer to the Quick Start Guide:
http://code.google.com/p/thrust/wiki/QuickStartGuide
Proudly Served by LiteSpeed Web Server at wrfranklin.org Port 443