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:
Daniel L. Lu 2022-11-15 12:02:44 -08:00 committed by Facebook GitHub Bot
parent 719c33a7f9
commit d0fbe2cb63

View File

@ -24,7 +24,7 @@ def _can_import_egl_and_pycuda():
try: try:
import pycuda.gl import pycuda.gl
except (ImportError, ImportError, ModuleNotFoundError): 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 False
return True return True