From fdb308086f5f73e0026f2ffb38fbe6085d00859b Mon Sep 17 00:00:00 2001 From: Mitchell Goff Date: Thu, 20 Jul 2023 15:40:12 -0700 Subject: [PATCH] Added buf_cl attribute to cython VisionBuf definition (#501) --- visionipc/visionipc.pxd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/visionipc/visionipc.pxd b/visionipc/visionipc.pxd index 2000c254d..32baa9cc1 100644 --- a/visionipc/visionipc.pxd +++ b/visionipc/visionipc.pxd @@ -8,6 +8,9 @@ from libc.stdint cimport uint32_t, uint64_t from libcpp cimport bool, int cdef extern from "cereal/visionipc/visionbuf.h": + struct _cl_mem + ctypedef _cl_mem * cl_mem + cdef enum VisionStreamType: pass @@ -19,6 +22,7 @@ cdef extern from "cereal/visionipc/visionbuf.h": size_t height size_t stride size_t uv_offset + cl_mem buf_cl void set_frame_id(uint64_t id) cdef extern from "cereal/visionipc/visionipc.h":