2019-01-23 04:04:43 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE entry SYSTEM "SamplesInfo.dtd">
<entry >
<name > reduction</name>
2020-05-19 00:52:06 +08:00
<cflags >
<flag > --std=c++11</flag>
</cflags>
2022-01-13 14:05:24 +08:00
<cuda_api_list >
2022-10-15 08:43:37 +08:00
<toolkit > cudaMemcpy</toolkit>
2022-01-13 14:05:24 +08:00
<toolkit > cudaFree</toolkit>
2022-10-15 08:43:37 +08:00
<toolkit > cudaSetDevice</toolkit>
2022-01-13 14:05:24 +08:00
<toolkit > cudaDeviceSynchronize</toolkit>
2022-10-15 08:43:37 +08:00
<toolkit > cudaGetDevice</toolkit>
2022-01-13 14:05:24 +08:00
<toolkit > cudaMalloc</toolkit>
<toolkit > cudaGetDeviceProperties</toolkit>
</cuda_api_list>
2020-05-19 00:52:06 +08:00
<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>
2019-01-23 04:04:43 +08:00
<devicecompilation > whole</devicecompilation>
<includepaths >
<path > ./</path>
<path > ../</path>
2022-01-13 14:05:24 +08:00
<path > ../../../Common</path>
2019-01-23 04:04:43 +08:00
</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>
2020-05-19 00:52:06 +08:00
<keyword > CPP11</keyword>
2019-01-23 04:04:43 +08:00
</keywords>
<libraries >
</libraries>
<librarypaths >
</librarypaths>
<nsight_eclipse > true</nsight_eclipse>
<primary_file > reduction.cpp</primary_file>
2020-05-19 00:52:06 +08:00
<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>
2019-01-23 04:04:43 +08:00
<scopes >
<scope > 1:CUDA Advanced Topics</scope>
<scope > 1:Data-Parallel Algorithms</scope>
<scope > 1:Performance Strategies</scope>
</scopes>
<sm-arch > sm50</sm-arch>
<sm-arch > sm52</sm-arch>
2022-01-13 14:05:24 +08:00
<sm-arch > sm53</sm-arch>
2019-01-23 04:04:43 +08:00
<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>
2020-05-19 00:52:06 +08:00
<sm-arch > sm80</sm-arch>
2020-09-16 02:15:56 +08:00
<sm-arch > sm86</sm-arch>
2022-01-13 14:05:24 +08:00
<sm-arch > sm87</sm-arch>
2023-02-28 06:33:19 +08:00
<sm-arch > sm89</sm-arch>
2022-10-15 08:43:37 +08:00
<sm-arch > sm90</sm-arch>
2019-01-23 04:04:43 +08:00
<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>
2022-01-13 14:05:24 +08:00
<env >
<arch > sbsa</arch>
</env>
2019-01-23 04:04:43 +08:00
<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>