OSDN Git Service

modified: utilsrc/src/Admin/Makefile
[eos/others.git] / utiltools / X86MAC64 / cuda / samples / 5_Simulations / nbody / NsightEclipse.xml
1 <entry>
2     <name>CUDA N-Body Simulation</name>
3     <description><![CDATA[This sample demonstrates efficient all-pairs simulation of a gravitational n-body simulation in CUDA.  This sample accompanies the GPU Gems 3 chapter "Fast N-Body Simulation with CUDA".  With CUDA 5.5, performance on Tesla K20c has increased to over 1.8TFLOP/s single precision.  Double Performance has also improved on all Kepler and Fermi GPU architectures as well.  Starting in CUDA 4.0, the nBody sample has been updated to take advantage of new features to easily scale the n-body simulation across multiple GPUs in a single PC.  Adding "-numbodies=<bodies>" to the command line will allow users to set # of bodies for simulation.  Adding “-numdevices=<N>” to the command line option will cause the sample to use N devices (if available) for simulation.  In this mode, the position and velocity data for all bodies are read from system memory using “zero copy” rather than from device memory.  For a small number of devices (4 or fewer) and a large enough number of bodies, bandwidth is not a bottleneck so we can achieve strong scaling across these devices.
4 ]]></description>
5     <whitepaper>doc/nbody_gems3_ch31.pdf</whitepaper>
6     <minspec>SM 1.0</minspec>
7     <keywords>CUDA,GPGPU,n-body,simulation,astrophysics,opengl</keywords>
8     <scope>2:Graphics Interop,1:CUDA Advanced Topics,1:Data-Parallel Algorithms,3:Physically-Based Simulation</scope>
9     <files>
10        <file>./galaxy_20K.bin</file>
11        <file>./CMakeLists.txt</file>
12     </files>
13         <qatests>
14             <qatest>-benchmark -compare -cpu</qatest>
15         </qatests>
16     <cudaapi>cudaGLSetGLDevice</cudaapi>
17     <cudaapi>cudaGraphicsMapResources</cudaapi>
18     <cudaapi>cudaGraphicsUnmapResources</cudaapi>
19     <cudaapi>cudaGraphicsResourceGetMappedPointer</cudaapi>
20     <cudaapi>cudaGraphicsRegisterResource</cudaapi>
21     <cudaapi>cudaGraphicsGLRegisterBuffer</cudaapi>
22     <cudaapi>cudaGraphicsUnregisterResource</cudaapi>
23     <keyconcepts level="advanced">Graphics Interop</keyconcepts>
24     <keyconcepts level="advanced">Data Parallel Algorithms</keyconcepts>
25     <keyconcepts level="advanced">Physically-Based Simulation</keyconcepts>
26
27     <!-- *** Additional project definition information *** -->
28     <!-- Libraries that the project should be linked against. Document may contain any number of "libraries" elements. -->
29     <!-- Attributes "os" and "arch" are optional and may be used in any combination. -->
30     <!-- "framework" attribute will be ignored on platforms other then Mac OS X -->
31     <library>GLU</library>
32     <library>GL</library>
33     <library os="macosx" framework="true">GLUT</library>
34     <library os="linux">X11</library>
35     <library os="linux">GLEW</library>
36     <library os="linux">glut</library>
37
38     <!-- Either absolute or relative to sample -->
39     <library-path os="windows" arch="x86_64">../../common/lib/x64</library-path>
40     <library-path os="windows" arch="Win32">../../common/lib/Win32</library-path>
41     <library-path os="linux" arch="x86_64">../../common/lib/linux/x86_64</library-path>
42     <library-path os="linux" arch="i686">../../common/lib/linux/i686</library-path>
43     <library-path os="macosx">../../common/lib/darwin</library-path>
44
45     <!-- Either absolute or relative to sample -->
46     <include-path>./</include-path>
47     <include-path>../</include-path>
48     <include-path>../../common/inc</include-path>
49     
50     <!-- Can be either "separate" or "whole", omitting this element means that sample can be compiled either way -->
51     <devicecompilation>whole</devicecompilation>
52
53     <!-- These options will be passed to NVCC compiler as is and for all files -->
54     
55     <nvcc-compiler file="bodysystemcuda.cu"></nvcc-compiler>
56     <sm-arch>sm10</sm-arch>
57     <sm-arch>sm20</sm-arch>
58     <sm-arch>sm30</sm-arch>
59
60     <!-- One of "exe|dll|lib" (exe is default) -->
61     <type>exe</type>
62
63     <!-- By default IDE will open file "samplename.(cu|cpp) -->
64     <primary-file>nbody.cpp</primary-file>
65
66     <!-- Collection of [OS][:arch] tokens -->
67     <supported-env>linux:x86_64, linux:i686, windows7, macosx:x86_64, macosx:i686, :arm</supported-env>
68 </entry>