mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 10:02:06 +08:00
5033da5e27
* Added cython bindings for model runners and commonmodel * Removed cython language_level=3 * loop to set CXXFLAGS for both envs old-commit-hash: e2e39d100b32a6706e83c81a1ef3dcdd7ea4001f
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*)
|