Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CUDA OpenGL interoperability functions #1027

Merged
merged 5 commits into from
Mar 26, 2021
Merged

Add CUDA OpenGL interoperability functions #1027

merged 5 commits into from
Mar 26, 2021

Conversation

devjeonghwan
Copy link
Member

@devjeonghwan devjeonghwan commented Mar 24, 2021

Added cuda opengl headers and info codes for GL interop.

CUresult cuGLGetDevices ( unsigned int* pCudaDeviceCount, CUdevice* pCudaDevices, unsigned int  cudaDeviceCount, CUGLDeviceList deviceList )

Gets the CUDA devices associated with the current OpenGL context.

CUresult cuGraphicsGLRegisterBuffer ( CUgraphicsResource* pCudaResource, GLuint buffer, unsigned int  Flags )

Registers an OpenGL buffer object.

CUresult cuGraphicsGLRegisterImage ( CUgraphicsResource* pCudaResource, GLuint image, GLenum target, unsigned int  Flags )

Register an OpenGL texture or renderbuffer object.

CUresult cuWGLGetDevice ( CUdevice* pDevice, HGPUNV hGpu )

Gets the CUDA device associated with hGpu.

@devjeonghwan
Copy link
Member Author

devjeonghwan commented Mar 24, 2021

linux-x86_64 build failure

Downloading Packages:
http://vault.centos.org/6.10/os/x86_64/Packages/libgfortran-4.4.7-23.el6.x86_64.rpm: [Errno 12] Timeout on http://vault.centos.org/6.10/os/x86_64/Packages/libgfortran-4.4.7-23.el6.x86_64.rpm: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.

i think there is a problem with gnu fortran distribution server(repo)

maybe temporary problem?

@devjeonghwan
Copy link
Member Author

devjeonghwan commented Mar 25, 2021

I know how to fix this errors. just give me 5 hours

@devjeonghwan
Copy link
Member Author

nice!

@saudet saudet merged commit bf638ff into bytedeco:master Mar 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants