2 <name>Simple Layered Texture</name>
3 <description><![CDATA[Simple example that demonstrates how to use a new CUDA 4.0 feature to support layered Textures in CUDA C.]]></description>
4 <whitepaper></whitepaper>
5 <minspec>SM 2.0</minspec>
7 <scope>1:CUDA Basic Topics,3:Volume Processing</scope>
9 <cudaapi>cudaMalloc</cudaapi>
10 <cudaapi>cudaMalloc3DArray</cudaapi>
11 <cudaapi>cudaMemcpy3D</cudaapi>
12 <cudaapi>cudaCreateChannelDesc</cudaapi>
13 <cudaapi>cudaBindTextureToArray</cudaapi>
14 <cudaapi>cudaMalloc</cudaapi>
15 <cudaapi>cudaFree</cudaapi>
16 <cudaapi>cudaFreeArray</cudaapi>
17 <cudaapi>cudaMemcpy</cudaapi>
19 <keyconcepts level="basic">Texture</keyconcepts>
20 <keyconcepts level="basic">Volume Processing</keyconcepts>
22 <!-- *** Additional project definition information *** -->
23 <!-- Libraries that the project should be linked against. Document may contain any number of "libraries" elements. -->
24 <!-- Attributes "os" and "arch" are optional and may be used in any combination. -->
25 <!-- "framework" attribute will be ignored on platforms other then Mac OS X -->
27 <!-- Either absolute or relative to sample -->
28 <library-path os="windows"></library-path>
30 <!-- Either absolute or relative to sample -->
31 <include-path>./</include-path>
32 <include-path>../</include-path>
33 <include-path>../../common/inc</include-path>
36 <!-- Can be either "separate" or "whole", omitting this element means that sample can be compiled either way -->
37 <devicecompilation>whole</devicecompilation>
39 <!-- These options will be passed to NVCC compiler as is and for all files -->
40 <nvcc-compiler></nvcc-compiler>
41 <nvcc-compiler file="simpleLayeredTexture.cu"></nvcc-compiler>
42 <sm-arch>sm20</sm-arch>
43 <sm-arch>sm30</sm-arch>
45 <!-- One of "exe|dll|lib" (exe is default) -->
48 <!-- By default IDE will open file "samplename.(cu|cpp) -->
49 <primary-file>simpleLayeredTexture.cu</primary-file>
51 <!-- Collection of [OS][:arch] tokens -->
52 <supported-env>linux:x86_64, linux:i686, windows7, macosx:x86_64, macosx:i686, :arm</supported-env>