2021-10-21 19:04:49 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE entry SYSTEM "SamplesInfo.dtd">
<entry >
<name > cppIntegration</name>
<cuda_api_list >
<toolkit > cudaMalloc</toolkit>
<toolkit > cudaMemcpy</toolkit>
2022-10-15 08:43:37 +08:00
<toolkit > cudaFree</toolkit>
2021-10-21 19:04:49 +08:00
</cuda_api_list>
<description > <![CDATA[This example demonstrates how to integrate CUDA into an existing C++ application, i.e. the CUDA entry point on host side is only a function which is called from C++ code and only the file containing this function is compiled with nvcc. It also demonstrates that vector types can be used from cpp.]]> </description>
<devicecompilation > whole</devicecompilation>
<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>
2022-01-13 14:05:24 +08:00
<keyconcepts >
<concept level= "basic" > CPP-CUDA Integration</concept>
</keyconcepts>
2021-10-21 19:04:49 +08:00
<keywords >
</keywords>
<libraries >
</libraries>
<librarypaths >
</librarypaths>
<nsight_eclipse > true</nsight_eclipse>
<primary_file > cppIntegration.cu</primary_file>
<scopes >
<scope > 1:CUDA Basic Topics</scope>
</scopes>
<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>
2022-10-15 08:43:37 +08:00
<sm-arch > sm90</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 > C++ Integration</title>
<type > exe</type>
</entry>