2

i can't seem to find clCreateSubBuffer in cl.h or cl.hpp (only error macro). it is mentioned in the specifications, any idea about this? or any other way to create a sub buffer?

all i can think of is recreating the buffers using an incremented pointer.

omarzouk
  • 933
  • 10
  • 23
  • Related threads on official forum: https://devtalk.nvidia.com/default/topic/572548/support-for-opencl-1-2-gtx-690-ubuntu || https://devtalk.nvidia.com/default/topic/486564/nvidia-39-s-opencl-1-1-and-clcreatesubbuffer/ – Ciro Santilli OurBigBook.com Mar 29 '16 at 10:20

1 Answers1

3

Note that clCreateSubBuffer is a OpenCL 1.1 function, maybe your using/looking into openCL 1.0 header files.

What platform are you btw using? (im pretty sure that NVIDIA supports until now "only" OpenCL 1.0)

Quonux
  • 2,975
  • 1
  • 24
  • 32