mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-03-02 15:33:56 +08:00
14 lines
270 B
Cython
14 lines
270 B
Cython
|
|
# distutils: language = c++
|
||
|
|
|
||
|
|
from cereal.visionipc.visionipc cimport cl_mem
|
||
|
|
from cereal.visionipc.visionipc_pyx cimport CLContext as BaseCLContext
|
||
|
|
|
||
|
|
cdef class CLContext(BaseCLContext):
|
||
|
|
pass
|
||
|
|
|
||
|
|
cdef class CLMem:
|
||
|
|
cdef cl_mem * mem;
|
||
|
|
|
||
|
|
@staticmethod
|
||
|
|
cdef create(void*)
|