Function clCreateBuffer cannot intial buffer on kernel.

Function clCreateBuffer cannot intial buffer on kernel.

Hello all,
    I not sure for this problem cause pass parameter to arguement in clCreateBuffer. After parameter send to clCreateBuffer function. My project show segmentation fault on its. Example function which show error on my programs.

            cl_mem buffer_input = clCreateBuffer(context,
                    CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR,
                    sizeof(char)  * sizeof( * num_devices,

Debug show full stack of errorious function.  See below in context "No symbol table info available" .( You can see full stack call function at link here.)

No symbol table info available.
#5  0x00007ffff4e7d033 in Intel::OpenCL::Framework::Context::CreateBuffer(unsigned long, unsigned long, void*, Intel::OpenCL::Framework::MemoryObject**) () from /usr/lib64/OpenCL/vendors/intel/

Member function below call CreatBuffer are 5 arguments,but above function call are 4 arguements.

No symbol table info available.
#6  0x00007ffff4e70192 in Intel::OpenCL::Framework::ContextModule::CreateBuffer(_cl_context*, unsigned long, unsigned long, void*, int*) () from /usr/lib64/OpenCL/vendors/intel/
No symbol table info available.

What's mean error after try to create buffer of Kernel?

Thank in advance,
Chatsiri Rattana.

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Its hard to tell from the code snippet you posted here. Can you attach a reproducer?


Leave a Comment

Please sign in to add a comment. Not a member? Join today