mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2024-12-01 13:19:17 +08:00
86 lines
2.7 KiB
XML
86 lines
2.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE entry SYSTEM "SamplesInfo.dtd">
|
|
<entry>
|
|
<name>EGLSync_CUDAEvent_Interop</name>
|
|
<cuda_api_list>
|
|
<driver>cuEventRecord</driver>
|
|
<driver>cuDeviceGetAttribute</driver>
|
|
<driver>cuEventCreate</driver>
|
|
<driver>cuCtxSynchronize</driver>
|
|
<driver>cuEventDestroy</driver>
|
|
<driver>cuGraphicsEGLRegisterImage</driver>
|
|
<driver>cuGraphicsSubResourceGetMappedArray</driver>
|
|
<driver>cuStreamCreate</driver>
|
|
<driver>cuStreamWaitEvent</driver>
|
|
<driver>cuGraphicsUnregisterResource</driver>
|
|
<driver>cuCtxCreate</driver>
|
|
<driver>cuSurfObjectCreate</driver>
|
|
<driver>cuEventCreateFromEGLSync</driver>
|
|
<driver>cuCtxPushCurrent</driver>
|
|
<driver>cuInit</driver>
|
|
<toolkit>cudaMemcpy</toolkit>
|
|
<toolkit>cudaGetErrorString</toolkit>
|
|
<toolkit>cudaFree</toolkit>
|
|
<toolkit>cudaDeviceSynchronize</toolkit>
|
|
<toolkit>cudaGetValueMismatch</toolkit>
|
|
<toolkit>cudaMalloc</toolkit>
|
|
</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>sm50</sm-arch>
|
|
<sm-arch>sm52</sm-arch>
|
|
<sm-arch>sm53</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>
|
|
<sm-arch>sm87</sm-arch>
|
|
<sm-arch>sm89</sm-arch>
|
|
<sm-arch>sm90</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>
|