Skip to content
This repository was archived by the owner on Jan 7, 2023. It is now read-only.
This repository was archived by the owner on Jan 7, 2023. It is now read-only.

clCreateFromGLBuffer not implemented #5

Description

@torokati44

I tried to run the "OpenCL Simple OpenGL Interop" code sample from the NVidia Developer site.

After some minor porting, it worked perfectly - without having the GL_INTEROP macro defined.

If said macro is defined, and CL-GL buffer sharing is actually used, I get this error:

error: Not implemented
cl_gl: <...>/beignet/src/cl_mem_gl.c:47: cl_mem_new_gl_buffer: Assertion `0' failed.
Aborted (core dumped)

I use Beignet 1.3.2, LLVM 5.0, Mesa 17.4.0, Fedora 27, Linux 4.14.14.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions