mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2024-11-25 04:59:16 +08:00
85 lines
2.4 KiB
XML
85 lines
2.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE entry SYSTEM "SamplesInfo.dtd">
|
|
<entry>
|
|
<name>reduction</name>
|
|
<cflags>
|
|
<flag>--std=c++11</flag>
|
|
</cflags>
|
|
<description><![CDATA[A parallel sum reduction that computes the sum of a large arrays of values. This sample demonstrates several important optimization strategies for Data-Parallel Algorithms like reduction using shared memory, __shfl_down_sync, __reduce_add_sync and cooperative_groups reduce.]]></description>
|
|
<devicecompilation>whole</devicecompilation>
|
|
<includepaths>
|
|
<path>./</path>
|
|
<path>../</path>
|
|
<path>../../common/inc</path>
|
|
</includepaths>
|
|
<keyconcepts>
|
|
<concept level="advanced">Data-Parallel Algorithms</concept>
|
|
<concept level="advanced">Performance Strategies</concept>
|
|
</keyconcepts>
|
|
<keywords>
|
|
<keyword>CUDA</keyword>
|
|
<keyword>GPGPU</keyword>
|
|
<keyword>Parallel Reduction</keyword>
|
|
<keyword>CPP11</keyword>
|
|
</keywords>
|
|
<libraries>
|
|
</libraries>
|
|
<librarypaths>
|
|
</librarypaths>
|
|
<nsight_eclipse>true</nsight_eclipse>
|
|
<primary_file>reduction.cpp</primary_file>
|
|
<qatests>
|
|
<qatest>-kernel 0</qatest>
|
|
<qatest>-kernel 1</qatest>
|
|
<qatest>-kernel 2</qatest>
|
|
<qatest>-kernel 3</qatest>
|
|
<qatest>-kernel 4</qatest>
|
|
<qatest>-kernel 5</qatest>
|
|
<qatest>-kernel 6</qatest>
|
|
</qatests>
|
|
<required_dependencies>
|
|
<dependency>CPP11</dependency>
|
|
</required_dependencies>
|
|
<scopes>
|
|
<scope>1:CUDA Advanced Topics</scope>
|
|
<scope>1:Data-Parallel Algorithms</scope>
|
|
<scope>1:Performance Strategies</scope>
|
|
</scopes>
|
|
<sm-arch>sm35</sm-arch>
|
|
<sm-arch>sm37</sm-arch>
|
|
<sm-arch>sm50</sm-arch>
|
|
<sm-arch>sm52</sm-arch>
|
|
<sm-arch>sm60</sm-arch>
|
|
<sm-arch>sm61</sm-arch>
|
|
<sm-arch>sm70</sm-arch>
|
|
<sm-arch>sm72</sm-arch>
|
|
<sm-arch>sm75</sm-arch>
|
|
<sm-arch>sm80</sm-arch>
|
|
<sm-arch>sm86</sm-arch>
|
|
<supported_envs>
|
|
<env>
|
|
<arch>x86_64</arch>
|
|
<platform>linux</platform>
|
|
</env>
|
|
<env>
|
|
<platform>windows7</platform>
|
|
</env>
|
|
<env>
|
|
<arch>x86_64</arch>
|
|
<platform>macosx</platform>
|
|
</env>
|
|
<env>
|
|
<arch>arm</arch>
|
|
</env>
|
|
<env>
|
|
<arch>ppc64le</arch>
|
|
<platform>linux</platform>
|
|
</env>
|
|
</supported_envs>
|
|
<supported_sm_architectures>
|
|
<include>all</include>
|
|
</supported_sm_architectures>
|
|
<title>CUDA Parallel Reduction</title>
|
|
<type>exe</type>
|
|
</entry>
|