mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-08-02 03:42:50 +08:00
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
This commit is contained in:
parent
719c33a7f9
commit
d0fbe2cb63
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user