From d0fbe2cb63933a634ae508fa19bba701caabcd76 Mon Sep 17 00:00:00 2001 From: "Daniel L. Lu" Date: Tue, 15 Nov 2022 12:02:44 -0800 Subject: [PATCH] fix typo pucuda.gl --> pycuda.gl (#1379) Summary: Every time I try to run code, I get this warning: ``` warnings.warn("Can't import pucuda.gl, not importing MeshRasterizerOpenGL.") ``` Of course, `pucuda` is a typo of `pycuda`. This PR fixes the typo Pull Request resolved: https://github.com/facebookresearch/pytorch3d/pull/1379 Reviewed By: kjchalup Differential Revision: D41295562 Pulled By: bottler fbshipit-source-id: 2bfa2a2dbe20a5347861d36fbff5094994c1253d --- pytorch3d/renderer/opengl/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytorch3d/renderer/opengl/__init__.py b/pytorch3d/renderer/opengl/__init__.py index c7699cc3..f0f6b4c1 100644 --- a/pytorch3d/renderer/opengl/__init__.py +++ b/pytorch3d/renderer/opengl/__init__.py @@ -24,7 +24,7 @@ def _can_import_egl_and_pycuda(): try: import pycuda.gl except (ImportError, ImportError, ModuleNotFoundError): - warnings.warn("Can't import pucuda.gl, not importing MeshRasterizerOpenGL.") + warnings.warn("Can't import pycuda.gl, not importing MeshRasterizerOpenGL.") return False return True