2021-10-21 19:04:49 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE entry SYSTEM "SamplesInfo.dtd">
<entry >
<name > simpleGLES</name>
<cflags >
<flag > -DUSE_CUDAINTEROP</flag>
<flag > -DGRAPHICS_SETUP_EGL</flag>
<flag > -DUSE_GLES</flag>
</cflags>
<cuda_api_list >
2022-10-15 08:43:37 +08:00
<toolkit > cudaGraphicsUnmapResources</toolkit>
<toolkit > cudaMemcpy</toolkit>
2022-01-13 14:05:24 +08:00
<toolkit > cudaFree</toolkit>
<toolkit > cudaGraphicsResourceGetMappedPointer</toolkit>
2022-10-15 08:43:37 +08:00
<toolkit > cudaGraphicsMapResources</toolkit>
2022-01-13 14:05:24 +08:00
<toolkit > cudaDeviceSynchronize</toolkit>
2021-10-21 19:04:49 +08:00
<toolkit > cudaGraphicsUnregisterResource</toolkit>
2022-10-15 08:43:37 +08:00
<toolkit > cudaMalloc</toolkit>
<toolkit > cudaGraphicsGLRegisterBuffer</toolkit>
2021-10-21 19:04:49 +08:00
</cuda_api_list>
<description > <![CDATA[Demonstrates data exchange between CUDA and OpenGL ES (aka Graphics interop). The program modifies vertex positions with CUDA and uses OpenGL ES to render the geometry.]]> </description>
<devicecompilation > whole</devicecompilation>
<files >
<file > data\ref_simpleGLES.bin</file>
</files>
<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>
<keyconcepts >
<concept level= "basic" > Graphics Interop</concept>
<concept level= "basic" > Vertex Buffers</concept>
<concept level= "basic" > 3D Graphics</concept>
</keyconcepts>
<keywords >
<keyword > OpenGL ES</keyword>
</keywords>
<libraries >
</libraries>
<librarypaths >
</librarypaths>
<nsight_eclipse > true</nsight_eclipse>
<primary_file > simpleGLES.cu</primary_file>
<qatests >
<qatest > -file=ref_simpleGLES.bin</qatest>
</qatests>
<required_dependencies >
<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>
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
<sources >
<ignore > graphics_interface.c</ignore>
</sources>
<supported_envs >
<env >
<arch > arm</arch>
</env>
</supported_envs>
<supported_sm_architectures >
<include > all</include>
</supported_sm_architectures>
<title > Simple OpenGLES</title>
<type > exe</type>
</entry>