dmlc / dmlc/dlpack

[DISCUSS] Add `DLDeviceType` value for OpenGL buffer?

Open
#183 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.2k
Forks
169
PR merge metrics
No merged PRs in 30d

Description

Motivation: I'm looking to add DLPack interoperability to the Perl Data Language (PDL - https://pdl.perl.org/ if interested). That currently only supports CPU-based memory, so that's fine. But PDL is about to start handling OpenGL buffers to keep computation on the GPU where possible, and it would be great to be able to describe that in DLPack terms.

Therefore, I would very much like to add a `DLDeviceType` enum value called (probably) `kDLOpenGL`. Will that be acceptable? (There may need to be two, `kDLOpenGLTexture`, `kDLOpenGLVBO`)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.