2020-05-19 00:52:06 +08:00
<?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 >
2022-01-13 14:05:24 +08:00
<driver > cuMemCreate</driver>
2022-10-15 08:43:37 +08:00
<driver > cuMemAddressReserve</driver>
2022-01-13 14:05:24 +08:00
<driver > cuMemGetAllocationGranularity</driver>
2022-10-15 08:43:37 +08:00
<driver > cuMemAddressFree</driver>
2022-01-13 14:05:24 +08:00
<driver > cuMemUnmap</driver>
2022-10-15 08:43:37 +08:00
<driver > cuMemMap</driver>
<driver > cuMemRelease</driver>
<driver > cuMemExportToShareableHandle</driver>
<driver > cuMemSetAccess</driver>
<toolkit > cudaWaitExternalSemaphoresAsync</toolkit>
2020-05-19 00:52:06 +08:00
<toolkit > cudaImportExternalSemaphore</toolkit>
2022-10-15 08:43:37 +08:00
<toolkit > cudaDeviceGetAttribute</toolkit>
2022-01-13 14:05:24 +08:00
<toolkit > cudaSetDevice</toolkit>
2022-10-15 08:43:37 +08:00
<toolkit > cudaLaunchHostFunc</toolkit>
<toolkit > cudaMallocHost</toolkit>
<toolkit > cudaSignalExternalSemaphoresAsync</toolkit>
<toolkit > cudaFreeHost</toolkit>
<toolkit > cudaMemsetAsync</toolkit>
<toolkit > cudaMemcpyAsync</toolkit>
2022-01-13 14:05:24 +08:00
<toolkit > cudaGetDeviceCount</toolkit>
2022-10-15 08:43:37 +08:00
<toolkit > cudaStreamCreateWithFlags</toolkit>
<toolkit > cudaStreamDestroy</toolkit>
<toolkit > cudaDestroyExternalSemaphore</toolkit>
2022-01-13 14:05:24 +08:00
<toolkit > cudaSignalSemaphore</toolkit>
<toolkit > cudaWaitSemaphore</toolkit>
<toolkit > cudaFree</toolkit>
2022-10-15 08:43:37 +08:00
<toolkit > cudaStreamSynchronize</toolkit>
<toolkit > cudaMalloc</toolkit>
<toolkit > cudaOccupancyMaxActiveBlocksPerMultiprocessor</toolkit>
<toolkit > cudaGetDeviceProperties</toolkit>
2020-05-19 00:52:06 +08:00
</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>
2022-01-13 14:05:24 +08:00
<path > ../../../Common</path>
2020-05-19 00:52:06 +08:00
</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 > sm50</sm-arch>
<sm-arch > sm52</sm-arch>
2022-01-13 14:05:24 +08:00
<sm-arch > sm53</sm-arch>
2020-05-19 00:52:06 +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>
2020-09-16 02:15:56 +08:00
<sm-arch > sm86</sm-arch>
2022-01-13 14:05:24 +08:00
<sm-arch > sm87</sm-arch>
2023-02-28 06:33:19 +08:00
<sm-arch > sm89</sm-arch>
2022-10-15 08:43:37 +08:00
<sm-arch > sm90</sm-arch>
2020-05-19 00:52:06 +08:00
<sources >
2022-01-13 14:05:24 +08:00
<extracompilation > ../../../Common/helper_multiprocess.cpp</extracompilation>
<extraheader > ../../../Common/helper_multiprocess.h</extraheader>
2020-05-19 00:52:06 +08:00
</sources>
<supported_envs >
<env >
<arch > x86_64</arch>
<platform > linux</platform>
</env>
<env >
<platform > windows7</platform>
</env>
<env >
<platform > aarch64</platform>
</env>
2022-01-13 14:05:24 +08:00
<env >
<platform > sbsa</platform>
</env>
2020-05-19 00:52:06 +08:00
</supported_envs>
<supported_sm_architectures >
<include > all</include>
</supported_sm_architectures>
<title > Vulkan CUDA Interop PI Approximation</title>
</entry>