mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2024-11-28 15:09:17 +08:00
103 lines
3.5 KiB
XML
103 lines
3.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE entry SYSTEM "SamplesInfo.dtd">
|
|
<entry>
|
|
<name>simpleVulkanMMAP</name>
|
|
<cflags>
|
|
<flag>--std=c++11</flag>
|
|
</cflags>
|
|
<cuda_api_list>
|
|
<driver>cuDeviceGetAttribute</driver>
|
|
<driver>cuMemAddressReserve</driver>
|
|
<driver>cuMemCreate</driver>
|
|
<driver>cuMemRelease</driver>
|
|
<driver>cuCtxSetCurrent</driver>
|
|
<driver>cuMemExportToShareableHandle</driver>
|
|
<driver>cuMemImportFromShareableHandle</driver>
|
|
<driver>cuMemMap</driver>
|
|
<driver>cuMemSetAccess</driver>
|
|
<driver>cuMemUnmap</driver>
|
|
<driver>cuMemAddressFree</driver>
|
|
<toolkit>cudaGetDeviceProperties</toolkit>
|
|
<toolkit>cudaImportExternalMemory</toolkit>
|
|
<toolkit>cudaExternalMemoryGetMappedBuffer</toolkit>
|
|
<toolkit>cudaImportExternalSemaphore</toolkit>
|
|
<toolkit>cudaImportExternalSemaphore</toolkit>
|
|
<toolkit>cudaSignalExternalSemaphoresAsync</toolkit>
|
|
<toolkit>cudaWaitExternalSemaphoresAsync</toolkit>
|
|
<toolkit>cudaDestroyExternalSemaphore</toolkit>
|
|
<toolkit>cudaDestroyExternalMemory</toolkit>
|
|
</cuda_api_list>
|
|
<description><![CDATA[ This sample demonstrates Vulkan CUDA Interop via cuMemMap APIs. CUDA exports buffers that Vulkan imports as vertex buffer. CUDA invokes kernels to operate on vertices and synchronizes with Vulkan through vulkan semaphores imported by CUDA. This sample depends on Vulkan SDK, GLFW3 libraries, for building this sample please refer to "Build_instructions.txt" provided in this sample's directory]]></description>
|
|
<devicecompilation>whole</devicecompilation>
|
|
<files>
|
|
<file>montecarlo.vert</file>
|
|
<file>montecarlo.frag</file>
|
|
</files>
|
|
<includepaths>
|
|
<path>./</path>
|
|
<path>../</path>
|
|
<path>../../common/inc</path>
|
|
</includepaths>
|
|
<keyconcepts>
|
|
<concept level="basic">cuMemMap IPC</concept>
|
|
<concept level="basic">MMAP</concept>
|
|
<concept level="advanced">Graphics Interop</concept>
|
|
<concept level="advanced">CUDA Vulkan Interop</concept>
|
|
<concept level="advanced">Data Parallel Algorithms</concept>
|
|
</keyconcepts>
|
|
<keywords>
|
|
<keyword>CUDA</keyword>
|
|
<keyword>CPP11</keyword>
|
|
<keyword>monte-carlo</keyword>
|
|
<keyword>Vulkan</keyword>
|
|
</keywords>
|
|
<libraries>
|
|
<library os="linux">cuda</library>
|
|
<library framework="true" os="macosx">CUDA</library>
|
|
</libraries>
|
|
<librarypaths>
|
|
</librarypaths>
|
|
<nsight_eclipse>true</nsight_eclipse>
|
|
<primary_file>main.cpp</primary_file>
|
|
<required_dependencies>
|
|
<dependency>X11</dependency>
|
|
<dependency>VULKAN</dependency>
|
|
</required_dependencies>
|
|
<scopes>
|
|
<scope>2:Graphics Interop</scope>
|
|
<scope>1:CUDA Advanced Topics</scope>
|
|
<scope>1:CUDA Vulkan Interop</scope>
|
|
</scopes>
|
|
<sm-arch>sm35</sm-arch>
|
|
<sm-arch>sm37</sm-arch>
|
|
<sm-arch>sm50</sm-arch>
|
|
<sm-arch>sm52</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>
|
|
<sources>
|
|
<extracompilation>../../Common/helper_multiprocess.cpp</extracompilation>
|
|
<extraheader>../../Common/helper_multiprocess.h</extraheader>
|
|
</sources>
|
|
<supported_envs>
|
|
<env>
|
|
<arch>x86_64</arch>
|
|
<platform>linux</platform>
|
|
</env>
|
|
<env>
|
|
<platform>windows7</platform>
|
|
</env>
|
|
<env>
|
|
<platform>aarch64</platform>
|
|
</env>
|
|
</supported_envs>
|
|
<supported_sm_architectures>
|
|
<include>all</include>
|
|
</supported_sm_architectures>
|
|
<title>Vulkan CUDA Interop PI Approximation</title>
|
|
</entry>
|