2021-10-21 19:04:49 +08:00
<?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>
2022-01-13 14:05:24 +08:00
<cuda_api_list >
<toolkit > cudaFree</toolkit>
<toolkit > cudaMalloc</toolkit>
<toolkit > cudaGetLastError</toolkit>
<toolkit > cudaMemcpy</toolkit>
<toolkit > cudaMemcpyFromSymbol</toolkit>
</cuda_api_list>
2021-10-21 19:04:49 +08:00
<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>
2022-01-13 14:05:24 +08:00
<path > ../../../Common</path>
2021-10-21 19:04:49 +08:00
</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 > sm35</sm-arch>
<sm-arch > sm37</sm-arch>
<sm-arch > sm50</sm-arch>
<sm-arch > sm52</sm-arch>
2022-01-13 14:05:24 +08:00
<sm-arch > sm53</sm-arch>
2021-10-21 19:04:49 +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>
<sm-arch > sm80</sm-arch>
<sm-arch > sm86</sm-arch>
2022-01-13 14:05:24 +08:00
<sm-arch > sm87</sm-arch>
2021-10-21 19:04:49 +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>
2021-10-21 19:04:49 +08:00
<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>