mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2024-11-24 20:39:17 +08:00
76 lines
2.3 KiB
XML
76 lines
2.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE entry SYSTEM "SamplesInfo.dtd">
|
|
<entry>
|
|
<name>EGLSync_CUDAEvent_Interop</name>
|
|
<cuda_api_list>
|
|
<driver>cuDeviceGet</driver>
|
|
<driver>cuDeviceGetAttribute</driver>
|
|
<driver>cuDeviceComputeCapability</driver>
|
|
<driver>cuDeviceGetCount</driver>
|
|
<driver>cuDeviceGetName</driver>
|
|
<driver>cuCtxCreate</driver>
|
|
<driver>cuMemAlloc</driver>
|
|
<driver>cuMemFree</driver>
|
|
<driver>cuMemcpy3D</driver>
|
|
<driver>cuStreamCreate</driver>
|
|
<driver>cuCtxPushCurrent</driver>
|
|
<driver>cuCtxPopCurrent</driver>
|
|
<driver>cuCtxDestroy</driver>
|
|
</cuda_api_list>
|
|
<description><![CDATA[Demonstrates interoperability between CUDA Event and EGL Sync/EGL Image using which one can achieve synchronization on GPU itself for GL-EGL-CUDA operations instead of blocking CPU for synchronization.]]></description>
|
|
<devicecompilation>whole</devicecompilation>
|
|
<includepaths>
|
|
<path>./</path>
|
|
<path>../</path>
|
|
<path>../../Common</path>
|
|
</includepaths>
|
|
<keyconcepts>
|
|
<concept level="basic">EGLSync-CUDAEvent Interop</concept>
|
|
<concept level="basic">EGLImage-CUDA Interop</concept>
|
|
</keyconcepts>
|
|
<keywords>
|
|
<keyword>EGL Sync</keyword>
|
|
</keywords>
|
|
<libraries>
|
|
<library os="linux">cuda</library>
|
|
<library framework="true" os="macosx">CUDA</library>
|
|
<library>X11</library>
|
|
<library>GLESv2</library>
|
|
</libraries>
|
|
<librarypaths>
|
|
</librarypaths>
|
|
<nsight_eclipse>true</nsight_eclipse>
|
|
<primary_file>EGLSync_CUDAEvent_Interop.cu</primary_file>
|
|
<required_dependencies>
|
|
<dependency>EGL</dependency>
|
|
<dependency>EGLSync</dependency>
|
|
<dependency>X11</dependency>
|
|
<dependency>GLES</dependency>
|
|
</required_dependencies>
|
|
<scopes>
|
|
<scope>1:CUDA Basic Topics</scope>
|
|
<scope>2:Graphics 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>
|
|
<supported_envs>
|
|
<env>
|
|
<arch>arm</arch>
|
|
</env>
|
|
</supported_envs>
|
|
<supported_sm_architectures>
|
|
<include>all</include>
|
|
</supported_sm_architectures>
|
|
<title>EGLSync CUDA Event Interop</title>
|
|
<type>exe</type>
|
|
</entry>
|