mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2024-11-28 18:09:18 +08:00
88 lines
2.4 KiB
XML
88 lines
2.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE entry SYSTEM "SamplesInfo.dtd">
|
|
<entry>
|
|
<name>simpleSeparateCompilation</name>
|
|
<cflags>
|
|
<flag>-dc</flag>
|
|
</cflags>
|
|
<compilations>
|
|
<static>
|
|
<src>simpleDeviceLibrary.o</src>
|
|
<target>simpleDeviceLibrary.a</target>
|
|
</static>
|
|
</compilations>
|
|
<cuda_api_list>
|
|
<toolkit>cudaMemcpy</toolkit>
|
|
<toolkit>cudaMemcpyFromSymbol</toolkit>
|
|
<toolkit>cudaFree</toolkit>
|
|
<toolkit>cudaGetLastError</toolkit>
|
|
<toolkit>cudaMalloc</toolkit>
|
|
</cuda_api_list>
|
|
<description><![CDATA[This sample demonstrates a CUDA 5.0 feature, the ability to create a GPU device static library and use it within another CUDA kernel. This example demonstrates how to pass in a GPU device function (from the GPU device static library) as a function pointer to be called. This sample requires devices with compute capability 2.0 or higher.]]></description>
|
|
<devicecompilation>separate</devicecompilation>
|
|
<files>
|
|
<file>settings.nvlink</file>
|
|
</files>
|
|
<includepaths>
|
|
<path>./</path>
|
|
<path>../</path>
|
|
<path>../../../Common</path>
|
|
</includepaths>
|
|
<keyconcepts>
|
|
<concept level="basic">Separate Compilation</concept>
|
|
</keyconcepts>
|
|
<keywords>
|
|
<keyword>GPGPU</keyword>
|
|
</keywords>
|
|
<libraries>
|
|
</libraries>
|
|
<librarypaths>
|
|
</librarypaths>
|
|
<nsight_eclipse>true</nsight_eclipse>
|
|
<primary_file>simpleSeparateCompilation.cu</primary_file>
|
|
<scopes>
|
|
<scope>1:CUDA Basic Topics</scope>
|
|
</scopes>
|
|
<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>
|
|
<sm-arch>sm89</sm-arch>
|
|
<sm-arch>sm90</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>
|
|
<env>
|
|
<arch>ppc64le</arch>
|
|
<platform>linux</platform>
|
|
</env>
|
|
</supported_envs>
|
|
<supported_sm_architectures>
|
|
<include>all</include>
|
|
</supported_sm_architectures>
|
|
<title>Simple Static GPU Device Library</title>
|
|
<type>exe</type>
|
|
</entry>
|