mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2024-12-01 18:39:16 +08:00
112 lines
3.3 KiB
XML
112 lines
3.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE entry SYSTEM "SamplesInfo.dtd">
|
|
<entry>
|
|
<name>fluidsGL</name>
|
|
<cuda_api_list>
|
|
<toolkit>cudaFree</toolkit>
|
|
<toolkit>cudaGraphicsMapResources</toolkit>
|
|
<toolkit>cudaFreeArray</toolkit>
|
|
<toolkit>cudaGraphicsGLRegisterBuffer</toolkit>
|
|
<toolkit>cudaGraphicsResourceGetMappedPointer</toolkit>
|
|
<toolkit>cudaDestroyTextureObject</toolkit>
|
|
<toolkit>cudaMallocPitch</toolkit>
|
|
<toolkit>cudaCreateTextureObject</toolkit>
|
|
<toolkit>cudaMalloc</toolkit>
|
|
<toolkit>cudaMallocArray</toolkit>
|
|
<toolkit>cudaGraphicsUnregisterResource</toolkit>
|
|
<toolkit>cudaGraphicsUnmapResources</toolkit>
|
|
<toolkit>cudaMemcpy</toolkit>
|
|
<toolkit>cudaGetDeviceProperties</toolkit>
|
|
</cuda_api_list>
|
|
<description><![CDATA[An example of fluid simulation using CUDA and CUFFT, with OpenGL rendering.]]></description>
|
|
<devicecompilation>whole</devicecompilation>
|
|
<files>
|
|
<file>data\ref_fluidsGL.ppm</file>
|
|
</files>
|
|
<includepaths>
|
|
<path>./</path>
|
|
<path>../</path>
|
|
<path>../../../Common</path>
|
|
</includepaths>
|
|
<keyconcepts>
|
|
<concept level="advanced">Graphics Interop</concept>
|
|
<concept level="advanced">CUFFT Library</concept>
|
|
<concept level="advanced">Physically-Based Simulation</concept>
|
|
</keyconcepts>
|
|
<keywords>
|
|
<keyword>CUDA</keyword>
|
|
<keyword>CUFFT</keyword>
|
|
<keyword>GPGPU</keyword>
|
|
<keyword>Fluid Simulation</keyword>
|
|
<keyword>FFT</keyword>
|
|
<keyword>openGL</keyword>
|
|
</keywords>
|
|
<libraries>
|
|
<library>cufft</library>
|
|
<library>GLU</library>
|
|
<library>GL</library>
|
|
<library framework="true" os="macosx">GLUT</library>
|
|
<library os="linux">GLEW</library>
|
|
<library os="linux">glut</library>
|
|
<library os="linux">X11</library>
|
|
</libraries>
|
|
<librarypaths>
|
|
<path arch="x86_64" os="linux">../../../common/lib/linux/x86_64</path>
|
|
<path arch="armv7l" os="linux">../../../common/lib/linux/armv7l</path>
|
|
<path os="macosx">../../../common/lib/darwin</path>
|
|
</librarypaths>
|
|
<nsight_eclipse>true</nsight_eclipse>
|
|
<primary_file>fluidsGL.cpp</primary_file>
|
|
<qatests>
|
|
<qatest>-file=ref_fluidsGL.ppm</qatest>
|
|
</qatests>
|
|
<required_dependencies>
|
|
<dependency>X11</dependency>
|
|
<dependency>GL</dependency>
|
|
<dependency>CUFFT</dependency>
|
|
</required_dependencies>
|
|
<scopes>
|
|
<scope>2:Graphics Interop</scope>
|
|
<scope>1:CUDA Advanced Topics</scope>
|
|
<scope>3:Physically-Based Simulation</scope>
|
|
</scopes>
|
|
<sm-arch>sm35</sm-arch>
|
|
<sm-arch>sm37</sm-arch>
|
|
<sm-arch>sm50</sm-arch>
|
|
<sm-arch>sm52</sm-arch>
|
|
<sm-arch>sm53</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>
|
|
<sm-arch>sm87</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>sbsa</arch>
|
|
</env>
|
|
</supported_envs>
|
|
<supported_sm_architectures>
|
|
<include>all</include>
|
|
</supported_sm_architectures>
|
|
<title>Fluids (OpenGL Version)</title>
|
|
<type>exe</type>
|
|
<whitepaper>doc\fluidsGL.pdf</whitepaper>
|
|
</entry>
|