We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2856cc commit 4597400Copy full SHA for 4597400
cuda_bindings/tests/test_graphics_apis.py
@@ -4,7 +4,9 @@
4
import pytest
5
from cuda.bindings import runtime as cudart
6
7
+from helpers import IS_WSL
8
9
+@pytest.mark.skipif(IS_WSL, reason="Graphics interop not supported on this platform")
10
def test_graphics_api_smoketest():
11
# Due to lazy importing in pyglet, pytest.importorskip doesn't work
12
try:
@@ -26,6 +28,7 @@ def test_graphics_api_smoketest():
26
28
assert error_name in ("cudaErrorInvalidValue", "cudaErrorUnknown", "cudaErrorOperatingSystem")
27
29
30
31
32
def test_cuda_register_image_invalid():
33
"""Exercise cudaGraphicsGLRegisterImage with dummy handle only using CUDA runtime API."""
34
fake_gl_texture_id = 1
0 commit comments