2021-07-09T03:20:24,297 Created temporary directory: /tmp/pip-ephem-wheel-cache-4jsynw4_ 2021-07-09T03:20:24,300 Created temporary directory: /tmp/pip-req-tracker-wdx8ebc3 2021-07-09T03:20:24,301 Initialized build tracking at /tmp/pip-req-tracker-wdx8ebc3 2021-07-09T03:20:24,301 Created build tracker: /tmp/pip-req-tracker-wdx8ebc3 2021-07-09T03:20:24,301 Entered build tracker: /tmp/pip-req-tracker-wdx8ebc3 2021-07-09T03:20:24,302 Created temporary directory: /tmp/pip-wheel-6gt1nq2h 2021-07-09T03:20:24,334 1 location(s) to search for versions of opencl-for-python: 2021-07-09T03:20:24,334 * https://pypi.org/simple/opencl-for-python/ 2021-07-09T03:20:24,335 Fetching project page and analyzing links: https://pypi.org/simple/opencl-for-python/ 2021-07-09T03:20:24,335 Getting page https://pypi.org/simple/opencl-for-python/ 2021-07-09T03:20:24,336 Found index url https://pypi.org/simple 2021-07-09T03:20:24,540 Found link https://files.pythonhosted.org/packages/6f/a2/3493690e7f034d1a3c24618ac3125013225d4feb92f87edb141896b836cd/opencl-for-python-0.5.0-.tar.gz#sha256=5232b0df3c8c0382468eb50413db1b6db66d39a64b930f80145de9e4a5b5f78b (from https://pypi.org/simple/opencl-for-python/), version: 0.5.0- 2021-07-09T03:20:24,541 Found link https://files.pythonhosted.org/packages/4d/57/00585f59d32e69ff46bcc38059c1726b57a2f734aa9337a21d0ac80ff8fb/opencl-for-python-0.3.0.tar.gz#sha256=2f22cbfd166fb6980ff35939bb631a8d5f0c520ede0f4b208e68e41c058b023d (from https://pypi.org/simple/opencl-for-python/), version: 0.3.0 2021-07-09T03:20:24,541 Found link https://files.pythonhosted.org/packages/50/4b/c7de157f752a5f5aecf9d6a510ee9acbce9b43d4665959305d4e1dc2ed6e/opencl-for-python-0.3.1.tar.gz#sha256=293d6e5db854ef0052a4cd185f70e41771e3c546ea29364dce76e0675317e700 (from https://pypi.org/simple/opencl-for-python/), version: 0.3.1 2021-07-09T03:20:24,541 Found link https://files.pythonhosted.org/packages/2e/60/97fbda9ba44df993e710627f9f9f6839f12b691bb0847f300c240a817cf4/opencl-for-python-0.3.2.tar.gz#sha256=c8c8bcd61bc6035bcafcb09f6af4c9a84c9e139719c2a23276c6bb833336510c (from https://pypi.org/simple/opencl-for-python/), version: 0.3.2 2021-07-09T03:20:24,542 Found link https://files.pythonhosted.org/packages/b4/d8/5d01909ddf5a3c60f32193f73de9c0ce50cc91479b20e40ec21ce9bf6f72/opencl-for-python-0.3.3.tar.gz#sha256=7de7dc17efe2e31dba5ba37af846cefe41e967d8b9d80cf53b895ebd40930173 (from https://pypi.org/simple/opencl-for-python/), version: 0.3.3 2021-07-09T03:20:24,542 Found link https://files.pythonhosted.org/packages/6f/49/de79e4b4a156e2027d70edcacd2d684740db906c1f53f3331fe324f030c2/opencl-for-python-0.4.0.tar.gz#sha256=5132ae062fea6198289a4934834aacd210a49ab4a711791dc060998b138c466f (from https://pypi.org/simple/opencl-for-python/), version: 0.4.0 2021-07-09T03:20:24,542 Found link https://files.pythonhosted.org/packages/05/b1/008c09e19f97363e5dfb29c068083180008705dc093964d063ec7aed54a9/opencl-for-python-0.5.1.tar.gz#sha256=1011afb64f48ad1325bf7d07445eaefc2d4a1396baeed376eaf98640543f35cf (from https://pypi.org/simple/opencl-for-python/), version: 0.5.1 2021-07-09T03:20:24,543 Found link https://files.pythonhosted.org/packages/b7/8f/c04c187a85b74db46e0155fc8a62207412b4f784a877629abdcf83b0b6ab/opencl-for-python-0.5.2.tar.gz#sha256=2882299749e074e8e79071aa4445df8d17fe666fac81337f1891061835ee6592 (from https://pypi.org/simple/opencl-for-python/), version: 0.5.2 2021-07-09T03:20:24,543 Skipping link: not a file: https://pypi.org/simple/opencl-for-python/ 2021-07-09T03:20:24,560 Given no hashes to check 1 links for project 'opencl-for-python': discarding no candidates 2021-07-09T03:20:24,578 Collecting opencl-for-python==0.3.1 2021-07-09T03:20:24,580 Created temporary directory: /tmp/pip-unpack-5xkax5tw 2021-07-09T03:20:24,750 Downloading opencl-for-python-0.3.1.tar.gz (41 kB) 2021-07-09T03:20:24,831 Added opencl-for-python==0.3.1 from https://files.pythonhosted.org/packages/50/4b/c7de157f752a5f5aecf9d6a510ee9acbce9b43d4665959305d4e1dc2ed6e/opencl-for-python-0.3.1.tar.gz#sha256=293d6e5db854ef0052a4cd185f70e41771e3c546ea29364dce76e0675317e700 to build tracker '/tmp/pip-req-tracker-wdx8ebc3' 2021-07-09T03:20:24,832 Running setup.py (path:/tmp/pip-wheel-6gt1nq2h/opencl-for-python_c1a6ab231b0f46fe81e2d5c22234fd72/setup.py) egg_info for package opencl-for-python 2021-07-09T03:20:24,833 Created temporary directory: /tmp/pip-pip-egg-info-uddhw_ab 2021-07-09T03:20:24,833 Running command python setup.py egg_info 2021-07-09T03:20:25,674 running egg_info 2021-07-09T03:20:25,677 creating /tmp/pip-pip-egg-info-uddhw_ab/opencl_for_python.egg-info 2021-07-09T03:20:25,678 writing /tmp/pip-pip-egg-info-uddhw_ab/opencl_for_python.egg-info/PKG-INFO 2021-07-09T03:20:25,680 writing dependency_links to /tmp/pip-pip-egg-info-uddhw_ab/opencl_for_python.egg-info/dependency_links.txt 2021-07-09T03:20:25,682 writing top-level names to /tmp/pip-pip-egg-info-uddhw_ab/opencl_for_python.egg-info/top_level.txt 2021-07-09T03:20:25,684 writing manifest file '/tmp/pip-pip-egg-info-uddhw_ab/opencl_for_python.egg-info/SOURCES.txt' 2021-07-09T03:20:25,833 reading manifest file '/tmp/pip-pip-egg-info-uddhw_ab/opencl_for_python.egg-info/SOURCES.txt' 2021-07-09T03:20:25,836 writing manifest file '/tmp/pip-pip-egg-info-uddhw_ab/opencl_for_python.egg-info/SOURCES.txt' 2021-07-09T03:20:25,903 Source in /tmp/pip-wheel-6gt1nq2h/opencl-for-python_c1a6ab231b0f46fe81e2d5c22234fd72 has version 0.3.1, which satisfies requirement opencl-for-python==0.3.1 from https://files.pythonhosted.org/packages/50/4b/c7de157f752a5f5aecf9d6a510ee9acbce9b43d4665959305d4e1dc2ed6e/opencl-for-python-0.3.1.tar.gz#sha256=293d6e5db854ef0052a4cd185f70e41771e3c546ea29364dce76e0675317e700 2021-07-09T03:20:25,904 Removed opencl-for-python==0.3.1 from https://files.pythonhosted.org/packages/50/4b/c7de157f752a5f5aecf9d6a510ee9acbce9b43d4665959305d4e1dc2ed6e/opencl-for-python-0.3.1.tar.gz#sha256=293d6e5db854ef0052a4cd185f70e41771e3c546ea29364dce76e0675317e700 from build tracker '/tmp/pip-req-tracker-wdx8ebc3' 2021-07-09T03:20:25,909 Created temporary directory: /tmp/pip-unpack-v_utxdpq 2021-07-09T03:20:25,909 Building wheels for collected packages: opencl-for-python 2021-07-09T03:20:25,914 Created temporary directory: /tmp/pip-wheel-gifojjlf 2021-07-09T03:20:25,915 Building wheel for opencl-for-python (setup.py): started 2021-07-09T03:20:25,915 Destination directory: /tmp/pip-wheel-gifojjlf 2021-07-09T03:20:25,915 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-6gt1nq2h/opencl-for-python_c1a6ab231b0f46fe81e2d5c22234fd72/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-6gt1nq2h/opencl-for-python_c1a6ab231b0f46fe81e2d5c22234fd72/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-gifojjlf 2021-07-09T03:20:26,767 running bdist_wheel 2021-07-09T03:20:26,771 running build 2021-07-09T03:20:26,771 running build_py 2021-07-09T03:20:26,910 creating build 2021-07-09T03:20:26,911 creating build/lib.linux-armv7l-3.9 2021-07-09T03:20:26,911 creating build/lib.linux-armv7l-3.9/opencl 2021-07-09T03:20:26,913 copying opencl/__init__.py -> build/lib.linux-armv7l-3.9/opencl 2021-07-09T03:20:26,915 creating build/lib.linux-armv7l-3.9/opencl/test 2021-07-09T03:20:26,916 copying opencl/test/test_memobj.py -> build/lib.linux-armv7l-3.9/opencl/test 2021-07-09T03:20:26,919 copying opencl/test/__init__.py -> build/lib.linux-armv7l-3.9/opencl/test 2021-07-09T03:20:26,920 copying opencl/test/test_platform.py -> build/lib.linux-armv7l-3.9/opencl/test 2021-07-09T03:20:26,923 running build_ext 2021-07-09T03:20:26,984 cythoning opencl/program.pyx to opencl/program.c 2021-07-09T03:20:27,607 /usr/local/lib/python3.9/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-6gt1nq2h/opencl-for-python_c1a6ab231b0f46fe81e2d5c22234fd72/opencl/program.pyx 2021-07-09T03:20:27,607 tree = Parsing.p_module(s, pxd, full_module_name) 2021-07-09T03:20:28,121 Error compiling Cython file: 2021-07-09T03:20:28,121 ------------------------------------------------------------ 2021-07-09T03:20:28,122 ... 2021-07-09T03:20:28,122 import ctypes 2021-07-09T03:20:28,122 from opencl.errors import OpenCLException, BuildError 2021-07-09T03:20:28,122 from libc.stdlib cimport malloc, free 2021-07-09T03:20:28,123 from libc.stdio cimport printf 2021-07-09T03:20:28,123 from _cl cimport * 2021-07-09T03:20:28,123 ^ 2021-07-09T03:20:28,123 ------------------------------------------------------------ 2021-07-09T03:20:28,123 opencl/program.pyx:8:0: '_cl.pxd' not found 2021-07-09T03:20:28,127 Error compiling Cython file: 2021-07-09T03:20:28,127 ------------------------------------------------------------ 2021-07-09T03:20:28,127 ... 2021-07-09T03:20:28,128 from libc.stdlib cimport malloc, free 2021-07-09T03:20:28,128 from libc.stdio cimport printf 2021-07-09T03:20:28,128 from _cl cimport * 2021-07-09T03:20:28,129 from opencl.copencl cimport CyDevice_Create, CyDevice_Check, CyDevice_GetID 2021-07-09T03:20:28,129 ^ 2021-07-09T03:20:28,129 ------------------------------------------------------------ 2021-07-09T03:20:28,129 opencl/program.pyx:10:0: 'opencl/copencl.pxd' not found 2021-07-09T03:20:28,131 Error compiling Cython file: 2021-07-09T03:20:28,131 ------------------------------------------------------------ 2021-07-09T03:20:28,131 ... 2021-07-09T03:20:28,131 from libc.stdlib cimport malloc, free 2021-07-09T03:20:28,132 from libc.stdio cimport printf 2021-07-09T03:20:28,132 from _cl cimport * 2021-07-09T03:20:28,132 from opencl.copencl cimport CyDevice_Create, CyDevice_Check, CyDevice_GetID 2021-07-09T03:20:28,132 ^ 2021-07-09T03:20:28,132 ------------------------------------------------------------ 2021-07-09T03:20:28,133 opencl/program.pyx:10:0: 'opencl/copencl/CyDevice_Create.pxd' not found 2021-07-09T03:20:28,133 Error compiling Cython file: 2021-07-09T03:20:28,134 ------------------------------------------------------------ 2021-07-09T03:20:28,134 ... 2021-07-09T03:20:28,134 from libc.stdlib cimport malloc, free 2021-07-09T03:20:28,135 from libc.stdio cimport printf 2021-07-09T03:20:28,135 from _cl cimport * 2021-07-09T03:20:28,135 from opencl.copencl cimport CyDevice_Create, CyDevice_Check, CyDevice_GetID 2021-07-09T03:20:28,135 ^ 2021-07-09T03:20:28,135 ------------------------------------------------------------ 2021-07-09T03:20:28,136 opencl/program.pyx:10:0: 'opencl/copencl/CyDevice_Check.pxd' not found 2021-07-09T03:20:28,137 Error compiling Cython file: 2021-07-09T03:20:28,137 ------------------------------------------------------------ 2021-07-09T03:20:28,137 ... 2021-07-09T03:20:28,137 from libc.stdlib cimport malloc, free 2021-07-09T03:20:28,138 from libc.stdio cimport printf 2021-07-09T03:20:28,138 from _cl cimport * 2021-07-09T03:20:28,138 from opencl.copencl cimport CyDevice_Create, CyDevice_Check, CyDevice_GetID 2021-07-09T03:20:28,138 ^ 2021-07-09T03:20:28,139 ------------------------------------------------------------ 2021-07-09T03:20:28,139 opencl/program.pyx:10:0: 'opencl/copencl/CyDevice_GetID.pxd' not found 2021-07-09T03:20:28,142 Error compiling Cython file: 2021-07-09T03:20:28,142 ------------------------------------------------------------ 2021-07-09T03:20:28,143 ... 2021-07-09T03:20:28,143 from libc.stdlib cimport malloc, free 2021-07-09T03:20:28,143 from libc.stdio cimport printf 2021-07-09T03:20:28,143 from _cl cimport * 2021-07-09T03:20:28,144 from opencl.copencl cimport CyDevice_Create, CyDevice_Check, CyDevice_GetID 2021-07-09T03:20:28,144 from opencl.context cimport CyContext_GetID, CyContext_Create, CyContext_Check 2021-07-09T03:20:28,144 ^ 2021-07-09T03:20:28,144 ------------------------------------------------------------ 2021-07-09T03:20:28,144 opencl/program.pyx:11:0: 'opencl/context.pxd' not found 2021-07-09T03:20:28,146 Error compiling Cython file: 2021-07-09T03:20:28,146 ------------------------------------------------------------ 2021-07-09T03:20:28,146 ... 2021-07-09T03:20:28,146 from libc.stdlib cimport malloc, free 2021-07-09T03:20:28,146 from libc.stdio cimport printf 2021-07-09T03:20:28,147 from _cl cimport * 2021-07-09T03:20:28,147 from opencl.copencl cimport CyDevice_Create, CyDevice_Check, CyDevice_GetID 2021-07-09T03:20:28,147 from opencl.context cimport CyContext_GetID, CyContext_Create, CyContext_Check 2021-07-09T03:20:28,147 ^ 2021-07-09T03:20:28,148 ------------------------------------------------------------ 2021-07-09T03:20:28,148 opencl/program.pyx:11:0: 'opencl/context/CyContext_GetID.pxd' not found 2021-07-09T03:20:28,148 Error compiling Cython file: 2021-07-09T03:20:28,149 ------------------------------------------------------------ 2021-07-09T03:20:28,149 ... 2021-07-09T03:20:28,149 from libc.stdlib cimport malloc, free 2021-07-09T03:20:28,149 from libc.stdio cimport printf 2021-07-09T03:20:28,150 from _cl cimport * 2021-07-09T03:20:28,150 from opencl.copencl cimport CyDevice_Create, CyDevice_Check, CyDevice_GetID 2021-07-09T03:20:28,150 from opencl.context cimport CyContext_GetID, CyContext_Create, CyContext_Check 2021-07-09T03:20:28,150 ^ 2021-07-09T03:20:28,150 ------------------------------------------------------------ 2021-07-09T03:20:28,151 opencl/program.pyx:11:0: 'opencl/context/CyContext_Create.pxd' not found 2021-07-09T03:20:28,152 Error compiling Cython file: 2021-07-09T03:20:28,152 ------------------------------------------------------------ 2021-07-09T03:20:28,152 ... 2021-07-09T03:20:28,152 from libc.stdlib cimport malloc, free 2021-07-09T03:20:28,153 from libc.stdio cimport printf 2021-07-09T03:20:28,153 from _cl cimport * 2021-07-09T03:20:28,153 from opencl.copencl cimport CyDevice_Create, CyDevice_Check, CyDevice_GetID 2021-07-09T03:20:28,153 from opencl.context cimport CyContext_GetID, CyContext_Create, CyContext_Check 2021-07-09T03:20:28,153 ^ 2021-07-09T03:20:28,154 ------------------------------------------------------------ 2021-07-09T03:20:28,154 opencl/program.pyx:11:0: 'opencl/context/CyContext_Check.pxd' not found 2021-07-09T03:20:28,157 Error compiling Cython file: 2021-07-09T03:20:28,157 ------------------------------------------------------------ 2021-07-09T03:20:28,157 ... 2021-07-09T03:20:28,157 from libc.stdio cimport printf 2021-07-09T03:20:28,158 from _cl cimport * 2021-07-09T03:20:28,158 from opencl.copencl cimport CyDevice_Create, CyDevice_Check, CyDevice_GetID 2021-07-09T03:20:28,158 from opencl.context cimport CyContext_GetID, CyContext_Create, CyContext_Check 2021-07-09T03:20:28,158 from opencl.kernel cimport KernelAsPyKernel 2021-07-09T03:20:28,159 ^ 2021-07-09T03:20:28,159 ------------------------------------------------------------ 2021-07-09T03:20:28,159 opencl/program.pyx:12:0: 'opencl/kernel.pxd' not found 2021-07-09T03:20:28,160 Error compiling Cython file: 2021-07-09T03:20:28,160 ------------------------------------------------------------ 2021-07-09T03:20:28,160 ... 2021-07-09T03:20:28,160 from libc.stdio cimport printf 2021-07-09T03:20:28,161 from _cl cimport * 2021-07-09T03:20:28,161 from opencl.copencl cimport CyDevice_Create, CyDevice_Check, CyDevice_GetID 2021-07-09T03:20:28,161 from opencl.context cimport CyContext_GetID, CyContext_Create, CyContext_Check 2021-07-09T03:20:28,161 from opencl.kernel cimport KernelAsPyKernel 2021-07-09T03:20:28,161 ^ 2021-07-09T03:20:28,161 ------------------------------------------------------------ 2021-07-09T03:20:28,162 opencl/program.pyx:12:0: 'opencl/kernel/KernelAsPyKernel.pxd' not found 2021-07-09T03:20:28,162 Error compiling Cython file: 2021-07-09T03:20:28,162 ------------------------------------------------------------ 2021-07-09T03:20:28,162 ... 2021-07-09T03:20:28,162 NONE = CL_BUILD_NONE 2021-07-09T03:20:28,163 ERROR = CL_BUILD_ERROR 2021-07-09T03:20:28,163 SUCCESS = CL_BUILD_SUCCESS 2021-07-09T03:20:28,163 IN_PROGRESS = CL_BUILD_IN_PROGRESS 2021-07-09T03:20:28,163 cdef cl_program program_id 2021-07-09T03:20:28,163 ^ 2021-07-09T03:20:28,163 ------------------------------------------------------------ 2021-07-09T03:20:28,164 opencl/program.pyx:35:9: 'cl_program' is not a type identifier 2021-07-09T03:20:28,165 Error compiling Cython file: 2021-07-09T03:20:28,165 ------------------------------------------------------------ 2021-07-09T03:20:28,165 ... 2021-07-09T03:20:28,166 free(device_list) 2021-07-09T03:20:28,166 return devices 2021-07-09T03:20:28,166 cdef api object CyProgram_Create(cl_program program_id): 2021-07-09T03:20:28,166 ^ 2021-07-09T03:20:28,166 ------------------------------------------------------------ 2021-07-09T03:20:28,167 opencl/program.pyx:398:33: 'cl_program' is not a type identifier 2021-07-09T03:20:28,167 Error compiling Cython file: 2021-07-09T03:20:28,168 ------------------------------------------------------------ 2021-07-09T03:20:28,168 ... 2021-07-09T03:20:28,168 self.program_id = NULL 2021-07-09T03:20:28,168 def __init__(self, context, source=None, binaries=None, devices=None): 2021-07-09T03:20:28,168 cdef char * strings 2021-07-09T03:20:28,168 cdef cl_int err_code 2021-07-09T03:20:28,169 ^ 2021-07-09T03:20:28,169 ------------------------------------------------------------ 2021-07-09T03:20:28,169 opencl/program.pyx:48:13: 'cl_int' is not a type identifier 2021-07-09T03:20:28,169 Error compiling Cython file: 2021-07-09T03:20:28,169 ------------------------------------------------------------ 2021-07-09T03:20:28,170 ... 2021-07-09T03:20:28,170 cdef char * strings 2021-07-09T03:20:28,170 cdef cl_int err_code 2021-07-09T03:20:28,170 if not CyContext_Check(context): 2021-07-09T03:20:28,170 raise TypeError("argument 'context' must be a valid opencl.Context object") 2021-07-09T03:20:28,170 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:28,170 ^ 2021-07-09T03:20:28,171 ------------------------------------------------------------ 2021-07-09T03:20:28,171 opencl/program.pyx:52:13: 'cl_context' is not a type identifier 2021-07-09T03:20:28,171 Error compiling Cython file: 2021-07-09T03:20:28,171 ------------------------------------------------------------ 2021-07-09T03:20:28,171 ... 2021-07-09T03:20:28,172 if not CyContext_Check(context): 2021-07-09T03:20:28,172 raise TypeError("argument 'context' must be a valid opencl.Context object") 2021-07-09T03:20:28,172 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:28,172 cdef cl_uint num_devices 2021-07-09T03:20:28,172 ^ 2021-07-09T03:20:28,172 ------------------------------------------------------------ 2021-07-09T03:20:28,173 opencl/program.pyx:54:13: 'cl_uint' is not a type identifier 2021-07-09T03:20:28,173 Error compiling Cython file: 2021-07-09T03:20:28,173 ------------------------------------------------------------ 2021-07-09T03:20:28,173 ... 2021-07-09T03:20:28,173 if not CyContext_Check(context): 2021-07-09T03:20:28,173 raise TypeError("argument 'context' must be a valid opencl.Context object") 2021-07-09T03:20:28,174 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:28,174 cdef cl_uint num_devices 2021-07-09T03:20:28,174 cdef cl_device_id * device_list 2021-07-09T03:20:28,174 ^ 2021-07-09T03:20:28,174 ------------------------------------------------------------ 2021-07-09T03:20:28,174 opencl/program.pyx:55:13: 'cl_device_id' is not a type identifier 2021-07-09T03:20:28,175 Error compiling Cython file: 2021-07-09T03:20:28,175 ------------------------------------------------------------ 2021-07-09T03:20:28,175 ... 2021-07-09T03:20:28,175 cdef cl_uint num_devices 2021-07-09T03:20:28,175 cdef cl_device_id * device_list 2021-07-09T03:20:28,176 cdef size_t * lengths 2021-07-09T03:20:28,176 cdef unsigned char ** bins 2021-07-09T03:20:28,176 cdef cl_int * binary_status 2021-07-09T03:20:28,176 ^ 2021-07-09T03:20:28,176 ------------------------------------------------------------ 2021-07-09T03:20:28,176 opencl/program.pyx:58:13: 'cl_int' is not a type identifier 2021-07-09T03:20:28,177 Error compiling Cython file: 2021-07-09T03:20:28,177 ------------------------------------------------------------ 2021-07-09T03:20:28,177 ... 2021-07-09T03:20:28,177 devices or a specific device(s) in the OpenCL context associated with program. 2021-07-09T03:20:28,177 OpenCL allows program executables to be built using the source or the binary. 2021-07-09T03:20:28,177 ''' 2021-07-09T03:20:28,178 cdef cl_int err_code 2021-07-09T03:20:28,178 ^ 2021-07-09T03:20:28,178 ------------------------------------------------------------ 2021-07-09T03:20:28,178 opencl/program.pyx:120:13: 'cl_int' is not a type identifier 2021-07-09T03:20:28,179 Error compiling Cython file: 2021-07-09T03:20:28,179 ------------------------------------------------------------ 2021-07-09T03:20:28,179 ... 2021-07-09T03:20:28,179 cdef cl_int err_code 2021-07-09T03:20:28,179 str_options = options.encode() 2021-07-09T03:20:28,179 cdef char * _options = str_options 2021-07-09T03:20:28,180 cdef cl_uint num_devices = 0 2021-07-09T03:20:28,180 ^ 2021-07-09T03:20:28,180 ------------------------------------------------------------ 2021-07-09T03:20:28,180 opencl/program.pyx:125:13: 'cl_uint' is not a type identifier 2021-07-09T03:20:28,180 Error compiling Cython file: 2021-07-09T03:20:28,180 ------------------------------------------------------------ 2021-07-09T03:20:28,181 ... 2021-07-09T03:20:28,181 str_options = options.encode() 2021-07-09T03:20:28,181 cdef char * _options = str_options 2021-07-09T03:20:28,181 cdef cl_uint num_devices = 0 2021-07-09T03:20:28,181 cdef cl_device_id * device_list = NULL 2021-07-09T03:20:28,181 ^ 2021-07-09T03:20:28,182 ------------------------------------------------------------ 2021-07-09T03:20:28,182 opencl/program.pyx:126:13: 'cl_device_id' is not a type identifier 2021-07-09T03:20:28,182 Error compiling Cython file: 2021-07-09T03:20:28,182 ------------------------------------------------------------ 2021-07-09T03:20:28,182 ... 2021-07-09T03:20:28,182 err_code = clBuildProgram(self.program_id, num_devices, device_list, _options, NULL, NULL) 2021-07-09T03:20:28,183 if err_code != CL_SUCCESS: 2021-07-09T03:20:28,183 raise OpenCLException(err_code) 2021-07-09T03:20:28,183 cdef cl_build_status bld_status 2021-07-09T03:20:28,183 ^ 2021-07-09T03:20:28,183 ------------------------------------------------------------ 2021-07-09T03:20:28,184 opencl/program.pyx:133:13: 'cl_build_status' is not a type identifier 2021-07-09T03:20:28,184 Error compiling Cython file: 2021-07-09T03:20:28,184 ------------------------------------------------------------ 2021-07-09T03:20:28,184 ... 2021-07-09T03:20:28,184 if err_code != CL_SUCCESS: 2021-07-09T03:20:28,185 raise OpenCLException(err_code) 2021-07-09T03:20:28,185 cdef cl_build_status bld_status 2021-07-09T03:20:28,185 cdef cl_int bld_status_ 2021-07-09T03:20:28,185 ^ 2021-07-09T03:20:28,185 ------------------------------------------------------------ 2021-07-09T03:20:28,186 opencl/program.pyx:134:13: 'cl_int' is not a type identifier 2021-07-09T03:20:28,186 Error compiling Cython file: 2021-07-09T03:20:28,186 ------------------------------------------------------------ 2021-07-09T03:20:28,186 ... 2021-07-09T03:20:28,187 property num_devices: 2021-07-09T03:20:28,187 'number of devices to build on' 2021-07-09T03:20:28,187 def __get__(self): 2021-07-09T03:20:28,187 cdef cl_int err_code 2021-07-09T03:20:28,187 ^ 2021-07-09T03:20:28,187 ------------------------------------------------------------ 2021-07-09T03:20:28,188 opencl/program.pyx:147:17: 'cl_int' is not a type identifier 2021-07-09T03:20:28,188 Error compiling Cython file: 2021-07-09T03:20:28,188 ------------------------------------------------------------ 2021-07-09T03:20:28,188 ... 2021-07-09T03:20:28,188 property num_devices: 2021-07-09T03:20:28,188 'number of devices to build on' 2021-07-09T03:20:28,188 def __get__(self): 2021-07-09T03:20:28,189 cdef cl_int err_code 2021-07-09T03:20:28,189 cdef cl_uint value = 0 2021-07-09T03:20:28,189 ^ 2021-07-09T03:20:28,189 ------------------------------------------------------------ 2021-07-09T03:20:28,189 opencl/program.pyx:148:17: 'cl_uint' is not a type identifier 2021-07-09T03:20:28,189 Error compiling Cython file: 2021-07-09T03:20:28,189 ------------------------------------------------------------ 2021-07-09T03:20:28,190 ... 2021-07-09T03:20:28,190 return value 2021-07-09T03:20:28,190 property _reference_count: 2021-07-09T03:20:28,190 def __get__(self): 2021-07-09T03:20:28,190 cdef cl_int err_code 2021-07-09T03:20:28,190 ^ 2021-07-09T03:20:28,191 ------------------------------------------------------------ 2021-07-09T03:20:28,191 opencl/program.pyx:159:17: 'cl_int' is not a type identifier 2021-07-09T03:20:28,191 Error compiling Cython file: 2021-07-09T03:20:28,191 ------------------------------------------------------------ 2021-07-09T03:20:28,191 ... 2021-07-09T03:20:28,191 property _reference_count: 2021-07-09T03:20:28,192 def __get__(self): 2021-07-09T03:20:28,192 cdef cl_int err_code 2021-07-09T03:20:28,192 cdef cl_uint value = 0 2021-07-09T03:20:28,192 ^ 2021-07-09T03:20:28,192 ------------------------------------------------------------ 2021-07-09T03:20:28,192 opencl/program.pyx:160:17: 'cl_uint' is not a type identifier 2021-07-09T03:20:28,193 Error compiling Cython file: 2021-07-09T03:20:28,193 ------------------------------------------------------------ 2021-07-09T03:20:28,193 ... 2021-07-09T03:20:28,193 property source: 2021-07-09T03:20:28,193 'get the source code used to build this program' 2021-07-09T03:20:28,193 def __get__(self): 2021-07-09T03:20:28,193 cdef cl_int err_code 2021-07-09T03:20:28,194 ^ 2021-07-09T03:20:28,194 ------------------------------------------------------------ 2021-07-09T03:20:28,194 opencl/program.pyx:173:17: 'cl_int' is not a type identifier 2021-07-09T03:20:28,194 Error compiling Cython file: 2021-07-09T03:20:28,194 ------------------------------------------------------------ 2021-07-09T03:20:28,194 ... 2021-07-09T03:20:28,195 property binary_sizes: 2021-07-09T03:20:28,195 'return a dict of device:binary_size for each device associated with this program' 2021-07-09T03:20:28,195 def __get__(self): 2021-07-09T03:20:28,195 cdef cl_int err_code 2021-07-09T03:20:28,195 ^ 2021-07-09T03:20:28,195 ------------------------------------------------------------ 2021-07-09T03:20:28,196 opencl/program.pyx:196:17: 'cl_int' is not a type identifier 2021-07-09T03:20:28,196 Error compiling Cython file: 2021-07-09T03:20:28,196 ------------------------------------------------------------ 2021-07-09T03:20:28,196 ... 2021-07-09T03:20:28,196 ''' 2021-07-09T03:20:28,196 def __get__(self): 2021-07-09T03:20:28,197 statuses = [] 2021-07-09T03:20:28,197 cdef cl_build_status status 2021-07-09T03:20:28,197 ^ 2021-07-09T03:20:28,197 ------------------------------------------------------------ 2021-07-09T03:20:28,197 opencl/program.pyx:278:17: 'cl_build_status' is not a type identifier 2021-07-09T03:20:28,198 Error compiling Cython file: 2021-07-09T03:20:28,198 ------------------------------------------------------------ 2021-07-09T03:20:28,198 ... 2021-07-09T03:20:28,198 ''' 2021-07-09T03:20:28,198 def __get__(self): 2021-07-09T03:20:28,198 statuses = [] 2021-07-09T03:20:28,198 cdef cl_build_status status 2021-07-09T03:20:28,198 cdef cl_int err_code 2021-07-09T03:20:28,199 ^ 2021-07-09T03:20:28,199 ------------------------------------------------------------ 2021-07-09T03:20:28,199 opencl/program.pyx:279:17: 'cl_int' is not a type identifier 2021-07-09T03:20:28,199 Error compiling Cython file: 2021-07-09T03:20:28,199 ------------------------------------------------------------ 2021-07-09T03:20:28,199 ... 2021-07-09T03:20:28,199 def __get__(self): 2021-07-09T03:20:28,200 statuses = [] 2021-07-09T03:20:28,200 cdef cl_build_status status 2021-07-09T03:20:28,200 cdef cl_int err_code 2021-07-09T03:20:28,200 cdef cl_device_id device_id 2021-07-09T03:20:28,200 ^ 2021-07-09T03:20:28,200 ------------------------------------------------------------ 2021-07-09T03:20:28,200 opencl/program.pyx:280:17: 'cl_device_id' is not a type identifier 2021-07-09T03:20:28,201 Error compiling Cython file: 2021-07-09T03:20:28,201 ------------------------------------------------------------ 2021-07-09T03:20:28,201 ... 2021-07-09T03:20:28,201 def __get__(self): 2021-07-09T03:20:28,201 logs = [] 2021-07-09T03:20:28,201 cdef size_t log_len 2021-07-09T03:20:28,201 cdef char * logstr 2021-07-09T03:20:28,201 cdef cl_int err_code 2021-07-09T03:20:28,202 ^ 2021-07-09T03:20:28,202 ------------------------------------------------------------ 2021-07-09T03:20:28,202 opencl/program.pyx:308:17: 'cl_int' is not a type identifier 2021-07-09T03:20:28,202 Error compiling Cython file: 2021-07-09T03:20:28,202 ------------------------------------------------------------ 2021-07-09T03:20:28,202 ... 2021-07-09T03:20:28,203 logs = [] 2021-07-09T03:20:28,203 cdef size_t log_len 2021-07-09T03:20:28,203 cdef char * logstr 2021-07-09T03:20:28,203 cdef cl_int err_code 2021-07-09T03:20:28,203 cdef cl_device_id device_id 2021-07-09T03:20:28,203 ^ 2021-07-09T03:20:28,203 ------------------------------------------------------------ 2021-07-09T03:20:28,203 opencl/program.pyx:309:17: 'cl_device_id' is not a type identifier 2021-07-09T03:20:28,204 Error compiling Cython file: 2021-07-09T03:20:28,204 ------------------------------------------------------------ 2021-07-09T03:20:28,204 ... 2021-07-09T03:20:28,204 property context: 2021-07-09T03:20:28,204 'get the context associated with this program' 2021-07-09T03:20:28,204 def __get__(self): 2021-07-09T03:20:28,205 cdef cl_int err_code 2021-07-09T03:20:28,205 ^ 2021-07-09T03:20:28,205 ------------------------------------------------------------ 2021-07-09T03:20:28,205 opencl/program.pyx:340:17: 'cl_int' is not a type identifier 2021-07-09T03:20:28,205 Error compiling Cython file: 2021-07-09T03:20:28,205 ------------------------------------------------------------ 2021-07-09T03:20:28,205 ... 2021-07-09T03:20:28,206 property context: 2021-07-09T03:20:28,206 'get the context associated with this program' 2021-07-09T03:20:28,206 def __get__(self): 2021-07-09T03:20:28,206 cdef cl_int err_code 2021-07-09T03:20:28,206 cdef cl_context ctx = NULL 2021-07-09T03:20:28,206 ^ 2021-07-09T03:20:28,206 ------------------------------------------------------------ 2021-07-09T03:20:28,207 opencl/program.pyx:341:17: 'cl_context' is not a type identifier 2021-07-09T03:20:28,207 Error compiling Cython file: 2021-07-09T03:20:28,207 ------------------------------------------------------------ 2021-07-09T03:20:28,207 ... 2021-07-09T03:20:28,207 def kernel(self, name): 2021-07-09T03:20:28,207 ''' 2021-07-09T03:20:28,207 Return a kernel object. 2021-07-09T03:20:28,208 ''' 2021-07-09T03:20:28,208 cdef cl_int err_code 2021-07-09T03:20:28,208 ^ 2021-07-09T03:20:28,208 ------------------------------------------------------------ 2021-07-09T03:20:28,208 opencl/program.pyx:357:13: 'cl_int' is not a type identifier 2021-07-09T03:20:28,208 Error compiling Cython file: 2021-07-09T03:20:28,208 ------------------------------------------------------------ 2021-07-09T03:20:28,209 ... 2021-07-09T03:20:28,209 def kernel(self, name): 2021-07-09T03:20:28,209 ''' 2021-07-09T03:20:28,209 Return a kernel object. 2021-07-09T03:20:28,209 ''' 2021-07-09T03:20:28,209 cdef cl_int err_code 2021-07-09T03:20:28,209 cdef cl_kernel kernel_id 2021-07-09T03:20:28,209 ^ 2021-07-09T03:20:28,209 ------------------------------------------------------------ 2021-07-09T03:20:28,210 opencl/program.pyx:358:13: 'cl_kernel' is not a type identifier 2021-07-09T03:20:28,210 Error compiling Cython file: 2021-07-09T03:20:28,210 ------------------------------------------------------------ 2021-07-09T03:20:28,210 ... 2021-07-09T03:20:28,210 property devices: 2021-07-09T03:20:28,210 'returns a list of devices associate with this program.' 2021-07-09T03:20:28,211 def __get__(self): 2021-07-09T03:20:28,211 cdef cl_int err_code 2021-07-09T03:20:28,211 ^ 2021-07-09T03:20:28,211 ------------------------------------------------------------ 2021-07-09T03:20:28,211 opencl/program.pyx:375:17: 'cl_int' is not a type identifier 2021-07-09T03:20:28,211 Error compiling Cython file: 2021-07-09T03:20:28,212 ------------------------------------------------------------ 2021-07-09T03:20:28,212 ... 2021-07-09T03:20:28,212 property devices: 2021-07-09T03:20:28,212 'returns a list of devices associate with this program.' 2021-07-09T03:20:28,212 def __get__(self): 2021-07-09T03:20:28,212 cdef cl_int err_code 2021-07-09T03:20:28,212 cdef cl_device_id * device_list 2021-07-09T03:20:28,212 ^ 2021-07-09T03:20:28,213 ------------------------------------------------------------ 2021-07-09T03:20:28,213 opencl/program.pyx:376:17: 'cl_device_id' is not a type identifier 2021-07-09T03:20:28,213 Error compiling Cython file: 2021-07-09T03:20:28,213 ------------------------------------------------------------ 2021-07-09T03:20:28,213 ... 2021-07-09T03:20:28,213 def __get__(self): 2021-07-09T03:20:28,213 cdef cl_int err_code 2021-07-09T03:20:28,214 cdef cl_device_id * device_list 2021-07-09T03:20:28,214 cdef cl_uint num_devices = self.num_devices 2021-07-09T03:20:28,214 ^ 2021-07-09T03:20:28,214 ------------------------------------------------------------ 2021-07-09T03:20:28,214 opencl/program.pyx:378:17: 'cl_uint' is not a type identifier 2021-07-09T03:20:28,303 Error compiling Cython file: 2021-07-09T03:20:28,303 ------------------------------------------------------------ 2021-07-09T03:20:28,303 ... 2021-07-09T03:20:28,303 To get a kernel do `program.name` or `program.kernel('name')`. 2021-07-09T03:20:28,303 ''' 2021-07-09T03:20:28,304 NONE = CL_BUILD_NONE 2021-07-09T03:20:28,304 ^ 2021-07-09T03:20:28,304 ------------------------------------------------------------ 2021-07-09T03:20:28,304 opencl/program.pyx:30:11: undeclared name not builtin: CL_BUILD_NONE 2021-07-09T03:20:28,304 Error compiling Cython file: 2021-07-09T03:20:28,304 ------------------------------------------------------------ 2021-07-09T03:20:28,305 ... 2021-07-09T03:20:28,305 To get a kernel do `program.name` or `program.kernel('name')`. 2021-07-09T03:20:28,305 ''' 2021-07-09T03:20:28,305 NONE = CL_BUILD_NONE 2021-07-09T03:20:28,305 ERROR = CL_BUILD_ERROR 2021-07-09T03:20:28,306 ^ 2021-07-09T03:20:28,306 ------------------------------------------------------------ 2021-07-09T03:20:28,306 opencl/program.pyx:31:12: undeclared name not builtin: CL_BUILD_ERROR 2021-07-09T03:20:28,306 Error compiling Cython file: 2021-07-09T03:20:28,306 ------------------------------------------------------------ 2021-07-09T03:20:28,306 ... 2021-07-09T03:20:28,307 ''' 2021-07-09T03:20:28,307 NONE = CL_BUILD_NONE 2021-07-09T03:20:28,307 ERROR = CL_BUILD_ERROR 2021-07-09T03:20:28,307 SUCCESS = CL_BUILD_SUCCESS 2021-07-09T03:20:28,307 ^ 2021-07-09T03:20:28,307 ------------------------------------------------------------ 2021-07-09T03:20:28,308 opencl/program.pyx:32:14: undeclared name not builtin: CL_BUILD_SUCCESS 2021-07-09T03:20:28,308 Error compiling Cython file: 2021-07-09T03:20:28,308 ------------------------------------------------------------ 2021-07-09T03:20:28,308 ... 2021-07-09T03:20:28,308 ''' 2021-07-09T03:20:28,308 NONE = CL_BUILD_NONE 2021-07-09T03:20:28,308 ERROR = CL_BUILD_ERROR 2021-07-09T03:20:28,309 SUCCESS = CL_BUILD_SUCCESS 2021-07-09T03:20:28,309 IN_PROGRESS = CL_BUILD_IN_PROGRESS 2021-07-09T03:20:28,309 ^ 2021-07-09T03:20:28,309 ------------------------------------------------------------ 2021-07-09T03:20:28,309 opencl/program.pyx:33:18: undeclared name not builtin: CL_BUILD_IN_PROGRESS 2021-07-09T03:20:28,309 Error compiling Cython file: 2021-07-09T03:20:28,310 ------------------------------------------------------------ 2021-07-09T03:20:28,310 ... 2021-07-09T03:20:28,310 def __cinit__(self): 2021-07-09T03:20:28,310 self.program_id = NULL 2021-07-09T03:20:28,310 def __dealloc__(self): 2021-07-09T03:20:28,310 if self.program_id != NULL: 2021-07-09T03:20:28,310 clReleaseProgram(self.program_id) 2021-07-09T03:20:28,311 ^ 2021-07-09T03:20:28,311 ------------------------------------------------------------ 2021-07-09T03:20:28,311 opencl/program.pyx:42:12: undeclared name not builtin: clReleaseProgram 2021-07-09T03:20:28,311 Error compiling Cython file: 2021-07-09T03:20:28,311 ------------------------------------------------------------ 2021-07-09T03:20:28,311 ... 2021-07-09T03:20:28,311 def __init__(self, context, source=None, binaries=None, devices=None): 2021-07-09T03:20:28,312 cdef char * strings 2021-07-09T03:20:28,312 cdef cl_int err_code 2021-07-09T03:20:28,312 if not CyContext_Check(context): 2021-07-09T03:20:28,312 ^ 2021-07-09T03:20:28,312 ------------------------------------------------------------ 2021-07-09T03:20:28,313 opencl/program.pyx:50:15: 'CyContext_Check' is not a constant, variable or function identifier 2021-07-09T03:20:28,313 Error compiling Cython file: 2021-07-09T03:20:28,313 ------------------------------------------------------------ 2021-07-09T03:20:28,313 ... 2021-07-09T03:20:28,313 cdef char * strings 2021-07-09T03:20:28,313 cdef cl_int err_code 2021-07-09T03:20:28,313 if not CyContext_Check(context): 2021-07-09T03:20:28,314 raise TypeError("argument 'context' must be a valid opencl.Context object") 2021-07-09T03:20:28,314 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:28,314 ^ 2021-07-09T03:20:28,314 ------------------------------------------------------------ 2021-07-09T03:20:28,314 opencl/program.pyx:52:30: 'CyContext_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:28,315 Error compiling Cython file: 2021-07-09T03:20:28,315 ------------------------------------------------------------ 2021-07-09T03:20:28,315 ... 2021-07-09T03:20:28,315 if source is not None: 2021-07-09T03:20:28,315 byte_source = source.encode() 2021-07-09T03:20:28,315 strings = byte_source 2021-07-09T03:20:28,315 self.program_id = clCreateProgramWithSource(ctx, 1, & strings, NULL, & err_code) 2021-07-09T03:20:28,316 ^ 2021-07-09T03:20:28,316 ------------------------------------------------------------ 2021-07-09T03:20:28,316 opencl/program.pyx:65:30: undeclared name not builtin: clCreateProgramWithSource 2021-07-09T03:20:28,316 Error compiling Cython file: 2021-07-09T03:20:28,316 ------------------------------------------------------------ 2021-07-09T03:20:28,316 ... 2021-07-09T03:20:28,317 if source is not None: 2021-07-09T03:20:28,317 byte_source = source.encode() 2021-07-09T03:20:28,317 strings = byte_source 2021-07-09T03:20:28,317 self.program_id = clCreateProgramWithSource(ctx, 1, & strings, NULL, & err_code) 2021-07-09T03:20:28,317 ^ 2021-07-09T03:20:28,317 ------------------------------------------------------------ 2021-07-09T03:20:28,318 opencl/program.pyx:65:64: Cannot convert 'char **' to Python object 2021-07-09T03:20:28,318 Error compiling Cython file: 2021-07-09T03:20:28,318 ------------------------------------------------------------ 2021-07-09T03:20:28,318 ... 2021-07-09T03:20:28,318 if source is not None: 2021-07-09T03:20:28,318 byte_source = source.encode() 2021-07-09T03:20:28,318 strings = byte_source 2021-07-09T03:20:28,319 self.program_id = clCreateProgramWithSource(ctx, 1, & strings, NULL, & err_code) 2021-07-09T03:20:28,319 ^ 2021-07-09T03:20:28,319 ------------------------------------------------------------ 2021-07-09T03:20:28,319 opencl/program.pyx:65:75: Cannot convert 'void *' to Python object 2021-07-09T03:20:28,319 Error compiling Cython file: 2021-07-09T03:20:28,319 ------------------------------------------------------------ 2021-07-09T03:20:28,320 ... 2021-07-09T03:20:28,320 byte_source = source.encode() 2021-07-09T03:20:28,320 strings = byte_source 2021-07-09T03:20:28,320 self.program_id = clCreateProgramWithSource(ctx, 1, & strings, NULL, & err_code) 2021-07-09T03:20:28,320 if err_code != CL_SUCCESS: 2021-07-09T03:20:28,320 ^ 2021-07-09T03:20:28,320 ------------------------------------------------------------ 2021-07-09T03:20:28,321 opencl/program.pyx:67:27: undeclared name not builtin: CL_SUCCESS 2021-07-09T03:20:28,321 Error compiling Cython file: 2021-07-09T03:20:28,321 ------------------------------------------------------------ 2021-07-09T03:20:28,321 ... 2021-07-09T03:20:28,321 elif binaries is not None: 2021-07-09T03:20:28,322 num_devices = len(binaries) 2021-07-09T03:20:28,322 device_list = < cl_device_id *> malloc(sizeof(cl_device_id) * num_devices) 2021-07-09T03:20:28,322 ^ 2021-07-09T03:20:28,322 ------------------------------------------------------------ 2021-07-09T03:20:28,322 opencl/program.pyx:74:28: 'cl_device_id' is not a type identifier 2021-07-09T03:20:28,322 Error compiling Cython file: 2021-07-09T03:20:28,323 ------------------------------------------------------------ 2021-07-09T03:20:28,323 ... 2021-07-09T03:20:28,323 elif binaries is not None: 2021-07-09T03:20:28,323 num_devices = len(binaries) 2021-07-09T03:20:28,323 device_list = < cl_device_id *> malloc(sizeof(cl_device_id) * num_devices) 2021-07-09T03:20:28,323 ^ 2021-07-09T03:20:28,324 ------------------------------------------------------------ 2021-07-09T03:20:28,324 opencl/program.pyx:74:70: undeclared name not builtin: cl_device_id 2021-07-09T03:20:28,324 Error compiling Cython file: 2021-07-09T03:20:28,324 ------------------------------------------------------------ 2021-07-09T03:20:28,324 ... 2021-07-09T03:20:28,324 num_devices = len(binaries) 2021-07-09T03:20:28,325 device_list = < cl_device_id *> malloc(sizeof(cl_device_id) * num_devices) 2021-07-09T03:20:28,325 lengths = < size_t *> malloc(sizeof(size_t) * num_devices) 2021-07-09T03:20:28,325 bins = < unsigned char **> malloc(sizeof(unsigned char *) * num_devices) 2021-07-09T03:20:28,325 binary_status = < cl_int *> malloc(sizeof(cl_int) * num_devices) 2021-07-09T03:20:28,325 ^ 2021-07-09T03:20:28,325 ------------------------------------------------------------ 2021-07-09T03:20:28,325 opencl/program.pyx:77:30: 'cl_int' is not a type identifier 2021-07-09T03:20:28,326 Error compiling Cython file: 2021-07-09T03:20:28,326 ------------------------------------------------------------ 2021-07-09T03:20:28,326 ... 2021-07-09T03:20:28,326 num_devices = len(binaries) 2021-07-09T03:20:28,326 device_list = < cl_device_id *> malloc(sizeof(cl_device_id) * num_devices) 2021-07-09T03:20:28,326 lengths = < size_t *> malloc(sizeof(size_t) * num_devices) 2021-07-09T03:20:28,327 bins = < unsigned char **> malloc(sizeof(unsigned char *) * num_devices) 2021-07-09T03:20:28,327 binary_status = < cl_int *> malloc(sizeof(cl_int) * num_devices) 2021-07-09T03:20:28,327 ^ 2021-07-09T03:20:28,327 ------------------------------------------------------------ 2021-07-09T03:20:28,327 opencl/program.pyx:77:60: undeclared name not builtin: cl_int 2021-07-09T03:20:28,327 Error compiling Cython file: 2021-07-09T03:20:28,328 ------------------------------------------------------------ 2021-07-09T03:20:28,328 ... 2021-07-09T03:20:28,328 binary_status = < cl_int *> malloc(sizeof(cl_int) * num_devices) 2021-07-09T03:20:28,328 try: 2021-07-09T03:20:28,328 for i, (device, binary) in enumerate(binaries.items()): 2021-07-09T03:20:28,328 if not CyDevice_Check(device): 2021-07-09T03:20:28,328 ^ 2021-07-09T03:20:28,329 ------------------------------------------------------------ 2021-07-09T03:20:28,329 opencl/program.pyx:82:27: 'CyDevice_Check' is not a constant, variable or function identifier 2021-07-09T03:20:28,329 Error compiling Cython file: 2021-07-09T03:20:28,329 ------------------------------------------------------------ 2021-07-09T03:20:28,329 ... 2021-07-09T03:20:28,329 for i, (device, binary) in enumerate(binaries.items()): 2021-07-09T03:20:28,330 if not CyDevice_Check(device): 2021-07-09T03:20:28,330 raise TypeError("argument binaries must be a dict of device:binary pairs") 2021-07-09T03:20:28,330 device_list[i] = CyDevice_GetID(device) 2021-07-09T03:20:28,330 ^ 2021-07-09T03:20:28,330 ------------------------------------------------------------ 2021-07-09T03:20:28,330 opencl/program.pyx:85:37: 'CyDevice_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:28,331 Error compiling Cython file: 2021-07-09T03:20:28,331 ------------------------------------------------------------ 2021-07-09T03:20:28,331 ... 2021-07-09T03:20:28,331 device_list[i] = CyDevice_GetID(device) 2021-07-09T03:20:28,331 lengths[i] = len(binary) 2021-07-09T03:20:28,331 bins[i] = binary 2021-07-09T03:20:28,332 self.program_id = clCreateProgramWithBinary(ctx, num_devices, device_list, lengths, bins, binary_status, & err_code) 2021-07-09T03:20:28,332 ^ 2021-07-09T03:20:28,332 ------------------------------------------------------------ 2021-07-09T03:20:28,332 opencl/program.pyx:89:34: undeclared name not builtin: clCreateProgramWithBinary 2021-07-09T03:20:28,332 Error compiling Cython file: 2021-07-09T03:20:28,332 ------------------------------------------------------------ 2021-07-09T03:20:28,332 ... 2021-07-09T03:20:28,333 device_list[i] = CyDevice_GetID(device) 2021-07-09T03:20:28,333 lengths[i] = len(binary) 2021-07-09T03:20:28,333 bins[i] = binary 2021-07-09T03:20:28,333 self.program_id = clCreateProgramWithBinary(ctx, num_devices, device_list, lengths, bins, binary_status, & err_code) 2021-07-09T03:20:28,333 ^ 2021-07-09T03:20:28,333 ------------------------------------------------------------ 2021-07-09T03:20:28,334 opencl/program.pyx:89:91: Cannot convert 'size_t *' to Python object 2021-07-09T03:20:28,334 Error compiling Cython file: 2021-07-09T03:20:28,334 ------------------------------------------------------------ 2021-07-09T03:20:28,334 ... 2021-07-09T03:20:28,334 device_list[i] = CyDevice_GetID(device) 2021-07-09T03:20:28,334 lengths[i] = len(binary) 2021-07-09T03:20:28,335 bins[i] = binary 2021-07-09T03:20:28,335 self.program_id = clCreateProgramWithBinary(ctx, num_devices, device_list, lengths, bins, binary_status, & err_code) 2021-07-09T03:20:28,335 ^ 2021-07-09T03:20:28,335 ------------------------------------------------------------ 2021-07-09T03:20:28,335 opencl/program.pyx:89:100: Cannot convert 'unsigned char **' to Python object 2021-07-09T03:20:28,335 Error compiling Cython file: 2021-07-09T03:20:28,336 ------------------------------------------------------------ 2021-07-09T03:20:28,336 ... 2021-07-09T03:20:28,336 cdef char * _options = str_options 2021-07-09T03:20:28,336 cdef cl_uint num_devices = 0 2021-07-09T03:20:28,336 cdef cl_device_id * device_list = NULL 2021-07-09T03:20:28,336 err_code = clBuildProgram(self.program_id, num_devices, device_list, _options, NULL, NULL) 2021-07-09T03:20:28,336 ^ 2021-07-09T03:20:28,337 ------------------------------------------------------------ 2021-07-09T03:20:28,337 opencl/program.pyx:128:19: undeclared name not builtin: clBuildProgram 2021-07-09T03:20:28,337 Error compiling Cython file: 2021-07-09T03:20:28,337 ------------------------------------------------------------ 2021-07-09T03:20:28,337 ... 2021-07-09T03:20:28,337 cdef char * _options = str_options 2021-07-09T03:20:28,338 cdef cl_uint num_devices = 0 2021-07-09T03:20:28,338 cdef cl_device_id * device_list = NULL 2021-07-09T03:20:28,338 err_code = clBuildProgram(self.program_id, num_devices, device_list, _options, NULL, NULL) 2021-07-09T03:20:28,338 ^ 2021-07-09T03:20:28,338 ------------------------------------------------------------ 2021-07-09T03:20:28,338 opencl/program.pyx:128:87: Cannot convert 'void *' to Python object 2021-07-09T03:20:28,339 Error compiling Cython file: 2021-07-09T03:20:28,339 ------------------------------------------------------------ 2021-07-09T03:20:28,339 ... 2021-07-09T03:20:28,339 cdef char * _options = str_options 2021-07-09T03:20:28,339 cdef cl_uint num_devices = 0 2021-07-09T03:20:28,339 cdef cl_device_id * device_list = NULL 2021-07-09T03:20:28,340 err_code = clBuildProgram(self.program_id, num_devices, device_list, _options, NULL, NULL) 2021-07-09T03:20:28,340 ^ 2021-07-09T03:20:28,340 ------------------------------------------------------------ 2021-07-09T03:20:28,340 opencl/program.pyx:128:93: Cannot convert 'void *' to Python object 2021-07-09T03:20:28,340 Error compiling Cython file: 2021-07-09T03:20:28,340 ------------------------------------------------------------ 2021-07-09T03:20:28,341 ... 2021-07-09T03:20:28,341 cdef cl_build_status bld_status 2021-07-09T03:20:28,341 cdef cl_int bld_status_ 2021-07-09T03:20:28,341 if do_raise: 2021-07-09T03:20:28,341 for device, status in self.status.items(): 2021-07-09T03:20:28,341 bld_status_ = < cl_int > status 2021-07-09T03:20:28,341 ^ 2021-07-09T03:20:28,341 ------------------------------------------------------------ 2021-07-09T03:20:28,342 opencl/program.pyx:137:32: 'cl_int' is not a type identifier 2021-07-09T03:20:28,342 Error compiling Cython file: 2021-07-09T03:20:28,342 ------------------------------------------------------------ 2021-07-09T03:20:28,342 ... 2021-07-09T03:20:28,342 cdef cl_build_status bld_status 2021-07-09T03:20:28,342 cdef cl_int bld_status_ 2021-07-09T03:20:28,342 if do_raise: 2021-07-09T03:20:28,342 for device, status in self.status.items(): 2021-07-09T03:20:28,343 bld_status_ = < cl_int > status 2021-07-09T03:20:28,343 bld_status = < cl_build_status > bld_status_ 2021-07-09T03:20:28,343 ^ 2021-07-09T03:20:28,343 ------------------------------------------------------------ 2021-07-09T03:20:28,343 opencl/program.pyx:138:31: 'cl_build_status' is not a type identifier 2021-07-09T03:20:28,343 Error compiling Cython file: 2021-07-09T03:20:28,344 ------------------------------------------------------------ 2021-07-09T03:20:28,344 ... 2021-07-09T03:20:28,344 'number of devices to build on' 2021-07-09T03:20:28,344 def __get__(self): 2021-07-09T03:20:28,344 cdef cl_int err_code 2021-07-09T03:20:28,345 cdef cl_uint value = 0 2021-07-09T03:20:28,345 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_NUM_DEVICES, sizeof(value), & value, NULL) 2021-07-09T03:20:28,345 ^ 2021-07-09T03:20:28,345 ------------------------------------------------------------ 2021-07-09T03:20:28,345 opencl/program.pyx:149:23: undeclared name not builtin: clGetProgramInfo 2021-07-09T03:20:28,345 Error compiling Cython file: 2021-07-09T03:20:28,346 ------------------------------------------------------------ 2021-07-09T03:20:28,346 ... 2021-07-09T03:20:28,346 'number of devices to build on' 2021-07-09T03:20:28,346 def __get__(self): 2021-07-09T03:20:28,346 cdef cl_int err_code 2021-07-09T03:20:28,346 cdef cl_uint value = 0 2021-07-09T03:20:28,346 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_NUM_DEVICES, sizeof(value), & value, NULL) 2021-07-09T03:20:28,346 ^ 2021-07-09T03:20:28,347 ------------------------------------------------------------ 2021-07-09T03:20:28,347 opencl/program.pyx:149:57: undeclared name not builtin: CL_PROGRAM_NUM_DEVICES 2021-07-09T03:20:28,347 Error compiling Cython file: 2021-07-09T03:20:28,347 ------------------------------------------------------------ 2021-07-09T03:20:28,347 ... 2021-07-09T03:20:28,347 'number of devices to build on' 2021-07-09T03:20:28,348 def __get__(self): 2021-07-09T03:20:28,348 cdef cl_int err_code 2021-07-09T03:20:28,348 cdef cl_uint value = 0 2021-07-09T03:20:28,348 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_NUM_DEVICES, sizeof(value), & value, NULL) 2021-07-09T03:20:28,348 ^ 2021-07-09T03:20:28,348 ------------------------------------------------------------ 2021-07-09T03:20:28,348 opencl/program.pyx:149:105: Cannot convert 'void *' to Python object 2021-07-09T03:20:28,349 Error compiling Cython file: 2021-07-09T03:20:28,349 ------------------------------------------------------------ 2021-07-09T03:20:28,349 ... 2021-07-09T03:20:28,349 property _reference_count: 2021-07-09T03:20:28,349 def __get__(self): 2021-07-09T03:20:28,349 cdef cl_int err_code 2021-07-09T03:20:28,349 cdef cl_uint value = 0 2021-07-09T03:20:28,350 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_REFERENCE_COUNT, sizeof(value), & value, NULL) 2021-07-09T03:20:28,350 ^ 2021-07-09T03:20:28,350 ------------------------------------------------------------ 2021-07-09T03:20:28,350 opencl/program.pyx:161:57: undeclared name not builtin: CL_PROGRAM_REFERENCE_COUNT 2021-07-09T03:20:28,350 Error compiling Cython file: 2021-07-09T03:20:28,350 ------------------------------------------------------------ 2021-07-09T03:20:28,350 ... 2021-07-09T03:20:28,351 property _reference_count: 2021-07-09T03:20:28,351 def __get__(self): 2021-07-09T03:20:28,351 cdef cl_int err_code 2021-07-09T03:20:28,351 cdef cl_uint value = 0 2021-07-09T03:20:28,351 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_REFERENCE_COUNT, sizeof(value), & value, NULL) 2021-07-09T03:20:28,351 ^ 2021-07-09T03:20:28,351 ------------------------------------------------------------ 2021-07-09T03:20:28,352 opencl/program.pyx:161:109: Cannot convert 'void *' to Python object 2021-07-09T03:20:28,352 Error compiling Cython file: 2021-07-09T03:20:28,352 ------------------------------------------------------------ 2021-07-09T03:20:28,352 ... 2021-07-09T03:20:28,352 def __get__(self): 2021-07-09T03:20:28,352 cdef cl_int err_code 2021-07-09T03:20:28,352 cdef char * src = NULL 2021-07-09T03:20:28,353 cdef size_t src_len = 0 2021-07-09T03:20:28,353 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_SOURCE, 0, NULL, & src_len) 2021-07-09T03:20:28,353 ^ 2021-07-09T03:20:28,353 ------------------------------------------------------------ 2021-07-09T03:20:28,353 opencl/program.pyx:176:57: undeclared name not builtin: CL_PROGRAM_SOURCE 2021-07-09T03:20:28,353 Error compiling Cython file: 2021-07-09T03:20:28,353 ------------------------------------------------------------ 2021-07-09T03:20:28,354 ... 2021-07-09T03:20:28,354 def __get__(self): 2021-07-09T03:20:28,354 cdef cl_int err_code 2021-07-09T03:20:28,354 cdef char * src = NULL 2021-07-09T03:20:28,354 cdef size_t src_len = 0 2021-07-09T03:20:28,354 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_SOURCE, 0, NULL, & src_len) 2021-07-09T03:20:28,354 ^ 2021-07-09T03:20:28,354 ------------------------------------------------------------ 2021-07-09T03:20:28,355 opencl/program.pyx:176:79: Cannot convert 'void *' to Python object 2021-07-09T03:20:28,355 Error compiling Cython file: 2021-07-09T03:20:28,355 ------------------------------------------------------------ 2021-07-09T03:20:28,355 ... 2021-07-09T03:20:28,355 def __get__(self): 2021-07-09T03:20:28,356 cdef cl_int err_code 2021-07-09T03:20:28,356 cdef char * src = NULL 2021-07-09T03:20:28,356 cdef size_t src_len = 0 2021-07-09T03:20:28,356 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_SOURCE, 0, NULL, & src_len) 2021-07-09T03:20:28,356 ^ 2021-07-09T03:20:28,356 ------------------------------------------------------------ 2021-07-09T03:20:28,356 opencl/program.pyx:176:85: Cannot convert 'size_t *' to Python object 2021-07-09T03:20:28,357 Error compiling Cython file: 2021-07-09T03:20:28,357 ------------------------------------------------------------ 2021-07-09T03:20:28,357 ... 2021-07-09T03:20:28,357 if src_len <= 1: 2021-07-09T03:20:28,357 return None 2021-07-09T03:20:28,357 src = < char *> malloc(src_len + 1) 2021-07-09T03:20:28,358 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_SOURCE, src_len, src, NULL) 2021-07-09T03:20:28,358 ^ 2021-07-09T03:20:28,358 ------------------------------------------------------------ 2021-07-09T03:20:28,358 opencl/program.pyx:184:90: Cannot convert 'void *' to Python object 2021-07-09T03:20:28,358 Error compiling Cython file: 2021-07-09T03:20:28,358 ------------------------------------------------------------ 2021-07-09T03:20:28,358 ... 2021-07-09T03:20:28,359 def __get__(self): 2021-07-09T03:20:28,359 cdef cl_int err_code 2021-07-09T03:20:28,359 cdef size_t * sizes = NULL 2021-07-09T03:20:28,359 cdef size_t slen = 0 2021-07-09T03:20:28,359 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_BINARY_SIZES, 0, NULL, & slen) 2021-07-09T03:20:28,359 ^ 2021-07-09T03:20:28,359 ------------------------------------------------------------ 2021-07-09T03:20:28,360 opencl/program.pyx:199:57: undeclared name not builtin: CL_PROGRAM_BINARY_SIZES 2021-07-09T03:20:28,360 Error compiling Cython file: 2021-07-09T03:20:28,360 ------------------------------------------------------------ 2021-07-09T03:20:28,360 ... 2021-07-09T03:20:28,360 def __get__(self): 2021-07-09T03:20:28,360 cdef cl_int err_code 2021-07-09T03:20:28,360 cdef size_t * sizes = NULL 2021-07-09T03:20:28,361 cdef size_t slen = 0 2021-07-09T03:20:28,361 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_BINARY_SIZES, 0, NULL, & slen) 2021-07-09T03:20:28,361 ^ 2021-07-09T03:20:28,361 ------------------------------------------------------------ 2021-07-09T03:20:28,361 opencl/program.pyx:199:85: Cannot convert 'void *' to Python object 2021-07-09T03:20:28,361 Error compiling Cython file: 2021-07-09T03:20:28,362 ------------------------------------------------------------ 2021-07-09T03:20:28,362 ... 2021-07-09T03:20:28,362 def __get__(self): 2021-07-09T03:20:28,362 cdef cl_int err_code 2021-07-09T03:20:28,362 cdef size_t * sizes = NULL 2021-07-09T03:20:28,362 cdef size_t slen = 0 2021-07-09T03:20:28,362 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_BINARY_SIZES, 0, NULL, & slen) 2021-07-09T03:20:28,362 ^ 2021-07-09T03:20:28,363 ------------------------------------------------------------ 2021-07-09T03:20:28,363 opencl/program.pyx:199:91: Cannot convert 'size_t *' to Python object 2021-07-09T03:20:28,363 Error compiling Cython file: 2021-07-09T03:20:28,363 ------------------------------------------------------------ 2021-07-09T03:20:28,363 ... 2021-07-09T03:20:28,363 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_BINARY_SIZES, 0, NULL, & slen) 2021-07-09T03:20:28,363 if err_code != CL_SUCCESS: raise OpenCLException(err_code) 2021-07-09T03:20:28,364 sizes = < size_t *> malloc(slen) 2021-07-09T03:20:28,364 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_BINARY_SIZES, slen, sizes, NULL) 2021-07-09T03:20:28,364 ^ 2021-07-09T03:20:28,364 ------------------------------------------------------------ 2021-07-09T03:20:28,364 opencl/program.pyx:204:88: Cannot convert 'size_t *' to Python object 2021-07-09T03:20:28,365 Error compiling Cython file: 2021-07-09T03:20:28,365 ------------------------------------------------------------ 2021-07-09T03:20:28,365 ... 2021-07-09T03:20:28,365 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_BINARY_SIZES, 0, NULL, & slen) 2021-07-09T03:20:28,365 if err_code != CL_SUCCESS: raise OpenCLException(err_code) 2021-07-09T03:20:28,365 sizes = < size_t *> malloc(slen) 2021-07-09T03:20:28,366 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_BINARY_SIZES, slen, sizes, NULL) 2021-07-09T03:20:28,366 ^ 2021-07-09T03:20:28,366 ------------------------------------------------------------ 2021-07-09T03:20:28,366 opencl/program.pyx:204:95: Cannot convert 'void *' to Python object 2021-07-09T03:20:28,366 Error compiling Cython file: 2021-07-09T03:20:28,366 ------------------------------------------------------------ 2021-07-09T03:20:28,367 ... 2021-07-09T03:20:28,367 if size > 0: 2021-07-09T03:20:28,367 binaries[i] = < char *> malloc(sizeof(char) * size) 2021-07-09T03:20:28,367 else: 2021-07-09T03:20:28,367 binaries[i] = NULL 2021-07-09T03:20:28,367 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_BINARIES, 0, NULL, & param_size) 2021-07-09T03:20:28,367 ^ 2021-07-09T03:20:28,368 ------------------------------------------------------------ 2021-07-09T03:20:28,368 opencl/program.pyx:236:57: undeclared name not builtin: CL_PROGRAM_BINARIES 2021-07-09T03:20:28,368 Error compiling Cython file: 2021-07-09T03:20:28,368 ------------------------------------------------------------ 2021-07-09T03:20:28,368 ... 2021-07-09T03:20:28,368 if size > 0: 2021-07-09T03:20:28,368 binaries[i] = < char *> malloc(sizeof(char) * size) 2021-07-09T03:20:28,369 else: 2021-07-09T03:20:28,369 binaries[i] = NULL 2021-07-09T03:20:28,369 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_BINARIES, 0, NULL, & param_size) 2021-07-09T03:20:28,369 ^ 2021-07-09T03:20:28,369 ------------------------------------------------------------ 2021-07-09T03:20:28,369 opencl/program.pyx:236:81: Cannot convert 'void *' to Python object 2021-07-09T03:20:28,370 Error compiling Cython file: 2021-07-09T03:20:28,370 ------------------------------------------------------------ 2021-07-09T03:20:28,370 ... 2021-07-09T03:20:28,370 if size > 0: 2021-07-09T03:20:28,370 binaries[i] = < char *> malloc(sizeof(char) * size) 2021-07-09T03:20:28,370 else: 2021-07-09T03:20:28,370 binaries[i] = NULL 2021-07-09T03:20:28,370 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_BINARIES, 0, NULL, & param_size) 2021-07-09T03:20:28,371 ^ 2021-07-09T03:20:28,371 ------------------------------------------------------------ 2021-07-09T03:20:28,371 opencl/program.pyx:236:87: Cannot convert 'size_t *' to Python object 2021-07-09T03:20:28,371 Error compiling Cython file: 2021-07-09T03:20:28,371 ------------------------------------------------------------ 2021-07-09T03:20:28,371 ... 2021-07-09T03:20:28,372 binaries[i] = < char *> malloc(sizeof(char) * size) 2021-07-09T03:20:28,372 else: 2021-07-09T03:20:28,372 binaries[i] = NULL 2021-07-09T03:20:28,372 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_BINARIES, 0, NULL, & param_size) 2021-07-09T03:20:28,372 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_BINARIES, param_size, binaries, NULL) 2021-07-09T03:20:28,372 ^ 2021-07-09T03:20:28,372 ------------------------------------------------------------ 2021-07-09T03:20:28,373 opencl/program.pyx:237:90: Cannot convert 'char **' to Python object 2021-07-09T03:20:28,373 Error compiling Cython file: 2021-07-09T03:20:28,373 ------------------------------------------------------------ 2021-07-09T03:20:28,373 ... 2021-07-09T03:20:28,373 binaries[i] = < char *> malloc(sizeof(char) * size) 2021-07-09T03:20:28,373 else: 2021-07-09T03:20:28,373 binaries[i] = NULL 2021-07-09T03:20:28,374 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_BINARIES, 0, NULL, & param_size) 2021-07-09T03:20:28,374 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_BINARIES, param_size, binaries, NULL) 2021-07-09T03:20:28,374 ^ 2021-07-09T03:20:28,374 ------------------------------------------------------------ 2021-07-09T03:20:28,374 opencl/program.pyx:237:100: Cannot convert 'void *' to Python object 2021-07-09T03:20:28,374 Error compiling Cython file: 2021-07-09T03:20:28,375 ------------------------------------------------------------ 2021-07-09T03:20:28,375 ... 2021-07-09T03:20:28,375 cdef cl_int err_code 2021-07-09T03:20:28,375 cdef cl_device_id device_id 2021-07-09T03:20:28,375 for device in self.devices: 2021-07-09T03:20:28,375 device_id = CyDevice_GetID(device) 2021-07-09T03:20:28,375 ^ 2021-07-09T03:20:28,376 ------------------------------------------------------------ 2021-07-09T03:20:28,376 opencl/program.pyx:284:28: 'CyDevice_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:28,376 Error compiling Cython file: 2021-07-09T03:20:28,376 ------------------------------------------------------------ 2021-07-09T03:20:28,376 ... 2021-07-09T03:20:28,376 for device in self.devices: 2021-07-09T03:20:28,377 device_id = CyDevice_GetID(device) 2021-07-09T03:20:28,377 err_code = clGetProgramBuildInfo(self.program_id, device_id, CL_PROGRAM_BUILD_STATUS, sizeof(cl_build_status), & status, NULL) 2021-07-09T03:20:28,377 ^ 2021-07-09T03:20:28,377 ------------------------------------------------------------ 2021-07-09T03:20:28,377 opencl/program.pyx:286:27: undeclared name not builtin: clGetProgramBuildInfo 2021-07-09T03:20:28,378 Error compiling Cython file: 2021-07-09T03:20:28,378 ------------------------------------------------------------ 2021-07-09T03:20:28,378 ... 2021-07-09T03:20:28,378 for device in self.devices: 2021-07-09T03:20:28,378 device_id = CyDevice_GetID(device) 2021-07-09T03:20:28,378 err_code = clGetProgramBuildInfo(self.program_id, device_id, CL_PROGRAM_BUILD_STATUS, sizeof(cl_build_status), & status, NULL) 2021-07-09T03:20:28,379 ^ 2021-07-09T03:20:28,379 ------------------------------------------------------------ 2021-07-09T03:20:28,379 opencl/program.pyx:286:77: undeclared name not builtin: CL_PROGRAM_BUILD_STATUS 2021-07-09T03:20:28,379 Error compiling Cython file: 2021-07-09T03:20:28,379 ------------------------------------------------------------ 2021-07-09T03:20:28,379 ... 2021-07-09T03:20:28,380 for device in self.devices: 2021-07-09T03:20:28,380 device_id = CyDevice_GetID(device) 2021-07-09T03:20:28,380 err_code = clGetProgramBuildInfo(self.program_id, device_id, CL_PROGRAM_BUILD_STATUS, sizeof(cl_build_status), & status, NULL) 2021-07-09T03:20:28,380 ^ 2021-07-09T03:20:28,380 ------------------------------------------------------------ 2021-07-09T03:20:28,381 opencl/program.pyx:286:124: undeclared name not builtin: cl_build_status 2021-07-09T03:20:28,381 Error compiling Cython file: 2021-07-09T03:20:28,381 ------------------------------------------------------------ 2021-07-09T03:20:28,381 ... 2021-07-09T03:20:28,381 for device in self.devices: 2021-07-09T03:20:28,381 device_id = CyDevice_GetID(device) 2021-07-09T03:20:28,382 err_code = clGetProgramBuildInfo(self.program_id, device_id, CL_PROGRAM_BUILD_STATUS, sizeof(cl_build_status), & status, NULL) 2021-07-09T03:20:28,382 ^ 2021-07-09T03:20:28,382 ------------------------------------------------------------ 2021-07-09T03:20:28,382 opencl/program.pyx:286:137: Cannot convert 'void *' to Python object 2021-07-09T03:20:28,382 Error compiling Cython file: 2021-07-09T03:20:28,382 ------------------------------------------------------------ 2021-07-09T03:20:28,383 ... 2021-07-09T03:20:28,383 err_code = clGetProgramBuildInfo(self.program_id, device_id, CL_PROGRAM_BUILD_STATUS, sizeof(cl_build_status), & status, NULL) 2021-07-09T03:20:28,383 if err_code != CL_SUCCESS: 2021-07-09T03:20:28,383 raise OpenCLException(err_code) 2021-07-09T03:20:28,383 statuses.append(< cl_int > status) 2021-07-09T03:20:28,383 ^ 2021-07-09T03:20:28,384 ------------------------------------------------------------ 2021-07-09T03:20:28,384 opencl/program.pyx:291:34: 'cl_int' is not a type identifier 2021-07-09T03:20:28,384 Error compiling Cython file: 2021-07-09T03:20:28,384 ------------------------------------------------------------ 2021-07-09T03:20:28,384 ... 2021-07-09T03:20:28,384 cdef cl_int err_code 2021-07-09T03:20:28,384 cdef cl_device_id device_id 2021-07-09T03:20:28,385 for device in self.devices: 2021-07-09T03:20:28,385 device_id = CyDevice_GetID(device) 2021-07-09T03:20:28,385 ^ 2021-07-09T03:20:28,385 ------------------------------------------------------------ 2021-07-09T03:20:28,385 opencl/program.pyx:313:28: 'CyDevice_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:28,386 Error compiling Cython file: 2021-07-09T03:20:28,386 ------------------------------------------------------------ 2021-07-09T03:20:28,386 ... 2021-07-09T03:20:28,386 for device in self.devices: 2021-07-09T03:20:28,386 device_id = CyDevice_GetID(device) 2021-07-09T03:20:28,387 err_code = clGetProgramBuildInfo (self.program_id, device_id, CL_PROGRAM_BUILD_LOG, 0, NULL, & log_len) 2021-07-09T03:20:28,387 ^ 2021-07-09T03:20:28,387 ------------------------------------------------------------ 2021-07-09T03:20:28,387 opencl/program.pyx:315:78: undeclared name not builtin: CL_PROGRAM_BUILD_LOG 2021-07-09T03:20:28,387 Error compiling Cython file: 2021-07-09T03:20:28,387 ------------------------------------------------------------ 2021-07-09T03:20:28,387 ... 2021-07-09T03:20:28,388 for device in self.devices: 2021-07-09T03:20:28,388 device_id = CyDevice_GetID(device) 2021-07-09T03:20:28,388 err_code = clGetProgramBuildInfo (self.program_id, device_id, CL_PROGRAM_BUILD_LOG, 0, NULL, & log_len) 2021-07-09T03:20:28,388 ^ 2021-07-09T03:20:28,388 ------------------------------------------------------------ 2021-07-09T03:20:28,389 opencl/program.pyx:315:103: Cannot convert 'void *' to Python object 2021-07-09T03:20:28,389 Error compiling Cython file: 2021-07-09T03:20:28,389 ------------------------------------------------------------ 2021-07-09T03:20:28,389 ... 2021-07-09T03:20:28,389 for device in self.devices: 2021-07-09T03:20:28,389 device_id = CyDevice_GetID(device) 2021-07-09T03:20:28,390 err_code = clGetProgramBuildInfo (self.program_id, device_id, CL_PROGRAM_BUILD_LOG, 0, NULL, & log_len) 2021-07-09T03:20:28,390 ^ 2021-07-09T03:20:28,390 ------------------------------------------------------------ 2021-07-09T03:20:28,390 opencl/program.pyx:315:109: Cannot convert 'size_t *' to Python object 2021-07-09T03:20:28,390 Error compiling Cython file: 2021-07-09T03:20:28,390 ------------------------------------------------------------ 2021-07-09T03:20:28,390 ... 2021-07-09T03:20:28,391 if log_len == 0: 2021-07-09T03:20:28,391 logs.append('') 2021-07-09T03:20:28,391 continue 2021-07-09T03:20:28,391 logstr = < char *> malloc(log_len + 1) 2021-07-09T03:20:28,391 err_code = clGetProgramBuildInfo (self.program_id, device_id, CL_PROGRAM_BUILD_LOG, log_len, logstr, NULL) 2021-07-09T03:20:28,391 ^ 2021-07-09T03:20:28,391 ------------------------------------------------------------ 2021-07-09T03:20:28,392 opencl/program.pyx:324:117: Cannot convert 'void *' to Python object 2021-07-09T03:20:28,392 Error compiling Cython file: 2021-07-09T03:20:28,392 ------------------------------------------------------------ 2021-07-09T03:20:28,392 ... 2021-07-09T03:20:28,392 def __get__(self): 2021-07-09T03:20:28,392 cdef cl_int err_code 2021-07-09T03:20:28,392 cdef cl_context ctx = NULL 2021-07-09T03:20:28,393 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_CONTEXT, sizeof(cl_context), & ctx, NULL) 2021-07-09T03:20:28,393 ^ 2021-07-09T03:20:28,393 ------------------------------------------------------------ 2021-07-09T03:20:28,393 opencl/program.pyx:343:57: undeclared name not builtin: CL_PROGRAM_CONTEXT 2021-07-09T03:20:28,393 Error compiling Cython file: 2021-07-09T03:20:28,393 ------------------------------------------------------------ 2021-07-09T03:20:28,393 ... 2021-07-09T03:20:28,394 def __get__(self): 2021-07-09T03:20:28,394 cdef cl_int err_code 2021-07-09T03:20:28,394 cdef cl_context ctx = NULL 2021-07-09T03:20:28,394 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_CONTEXT, sizeof(cl_context), & ctx, NULL) 2021-07-09T03:20:28,394 ^ 2021-07-09T03:20:28,394 ------------------------------------------------------------ 2021-07-09T03:20:28,395 opencl/program.pyx:343:94: undeclared name not builtin: cl_context 2021-07-09T03:20:28,395 Error compiling Cython file: 2021-07-09T03:20:28,395 ------------------------------------------------------------ 2021-07-09T03:20:28,395 ... 2021-07-09T03:20:28,395 def __get__(self): 2021-07-09T03:20:28,395 cdef cl_int err_code 2021-07-09T03:20:28,395 cdef cl_context ctx = NULL 2021-07-09T03:20:28,396 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_CONTEXT, sizeof(cl_context), & ctx, NULL) 2021-07-09T03:20:28,396 ^ 2021-07-09T03:20:28,396 ------------------------------------------------------------ 2021-07-09T03:20:28,396 opencl/program.pyx:343:104: Cannot convert 'void *' to Python object 2021-07-09T03:20:28,396 Error compiling Cython file: 2021-07-09T03:20:28,396 ------------------------------------------------------------ 2021-07-09T03:20:28,397 ... 2021-07-09T03:20:28,397 err_code = clGetProgramInfo(self.program_id, CL_PROGRAM_CONTEXT, sizeof(cl_context), & ctx, NULL) 2021-07-09T03:20:28,397 if err_code != CL_SUCCESS: 2021-07-09T03:20:28,397 raise OpenCLException(err_code) 2021-07-09T03:20:28,397 return CyContext_Create(ctx) 2021-07-09T03:20:28,397 ^ 2021-07-09T03:20:28,397 ------------------------------------------------------------ 2021-07-09T03:20:28,398 opencl/program.pyx:348:19: 'CyContext_Create' is not a constant, variable or function identifier 2021-07-09T03:20:28,398 Error compiling Cython file: 2021-07-09T03:20:28,398 ------------------------------------------------------------ 2021-07-09T03:20:28,398 ... 2021-07-09T03:20:28,398 cdef cl_int err_code 2021-07-09T03:20:28,398 cdef cl_kernel kernel_id 2021-07-09T03:20:28,398 str_name = name.encode() 2021-07-09T03:20:28,399 cdef char * kernel_name = str_name 2021-07-09T03:20:28,399 kernel_id = clCreateKernel(self.program_id, kernel_name, & err_code) 2021-07-09T03:20:28,399 ^ 2021-07-09T03:20:28,399 ------------------------------------------------------------ 2021-07-09T03:20:28,399 opencl/program.pyx:362:20: undeclared name not builtin: clCreateKernel 2021-07-09T03:20:28,399 Error compiling Cython file: 2021-07-09T03:20:28,399 ------------------------------------------------------------ 2021-07-09T03:20:28,400 ... 2021-07-09T03:20:28,400 cdef char * kernel_name = str_name 2021-07-09T03:20:28,400 kernel_id = clCreateKernel(self.program_id, kernel_name, & err_code) 2021-07-09T03:20:28,400 if err_code != CL_SUCCESS: 2021-07-09T03:20:28,400 if err_code == CL_INVALID_KERNEL_NAME: 2021-07-09T03:20:28,400 ^ 2021-07-09T03:20:28,400 ------------------------------------------------------------ 2021-07-09T03:20:28,401 opencl/program.pyx:365:27: undeclared name not builtin: CL_INVALID_KERNEL_NAME 2021-07-09T03:20:28,401 Error compiling Cython file: 2021-07-09T03:20:28,401 ------------------------------------------------------------ 2021-07-09T03:20:28,401 ... 2021-07-09T03:20:28,401 if err_code != CL_SUCCESS: 2021-07-09T03:20:28,401 if err_code == CL_INVALID_KERNEL_NAME: 2021-07-09T03:20:28,401 raise KeyError('kernel %s not found in program' % name) 2021-07-09T03:20:28,401 raise OpenCLException(err_code, clCreateKernel_errors) 2021-07-09T03:20:28,402 return KernelAsPyKernel(kernel_id) 2021-07-09T03:20:28,402 ^ 2021-07-09T03:20:28,402 ------------------------------------------------------------ 2021-07-09T03:20:28,402 opencl/program.pyx:369:15: 'KernelAsPyKernel' is not a constant, variable or function identifier 2021-07-09T03:20:28,402 Error compiling Cython file: 2021-07-09T03:20:28,403 ------------------------------------------------------------ 2021-07-09T03:20:28,403 ... 2021-07-09T03:20:28,403 cdef cl_int err_code 2021-07-09T03:20:28,403 cdef cl_device_id * device_list 2021-07-09T03:20:28,403 cdef cl_uint num_devices = self.num_devices 2021-07-09T03:20:28,403 device_list = < cl_device_id *> malloc(sizeof(cl_device_id) * num_devices) 2021-07-09T03:20:28,403 ^ 2021-07-09T03:20:28,403 ------------------------------------------------------------ 2021-07-09T03:20:28,404 opencl/program.pyx:380:28: 'cl_device_id' is not a type identifier 2021-07-09T03:20:28,404 Error compiling Cython file: 2021-07-09T03:20:28,404 ------------------------------------------------------------ 2021-07-09T03:20:28,404 ... 2021-07-09T03:20:28,404 cdef cl_device_id * device_list 2021-07-09T03:20:28,405 cdef cl_uint num_devices = self.num_devices 2021-07-09T03:20:28,405 device_list = < cl_device_id *> malloc(sizeof(cl_device_id) * num_devices) 2021-07-09T03:20:28,405 err_code = clGetProgramInfo (self.program_id, CL_PROGRAM_DEVICES, sizeof(cl_device_id) * num_devices, device_list, NULL) 2021-07-09T03:20:28,405 ^ 2021-07-09T03:20:28,405 ------------------------------------------------------------ 2021-07-09T03:20:28,405 opencl/program.pyx:381:58: undeclared name not builtin: CL_PROGRAM_DEVICES 2021-07-09T03:20:28,406 Error compiling Cython file: 2021-07-09T03:20:28,406 ------------------------------------------------------------ 2021-07-09T03:20:28,406 ... 2021-07-09T03:20:28,406 cdef cl_device_id * device_list 2021-07-09T03:20:28,406 cdef cl_uint num_devices = self.num_devices 2021-07-09T03:20:28,406 device_list = < cl_device_id *> malloc(sizeof(cl_device_id) * num_devices) 2021-07-09T03:20:28,406 err_code = clGetProgramInfo (self.program_id, CL_PROGRAM_DEVICES, sizeof(cl_device_id) * num_devices, device_list, NULL) 2021-07-09T03:20:28,407 ^ 2021-07-09T03:20:28,407 ------------------------------------------------------------ 2021-07-09T03:20:28,407 opencl/program.pyx:381:127: Cannot convert 'void *' to Python object 2021-07-09T03:20:28,407 Error compiling Cython file: 2021-07-09T03:20:28,407 ------------------------------------------------------------ 2021-07-09T03:20:28,407 ... 2021-07-09T03:20:28,408 devices = [] 2021-07-09T03:20:28,408 for i in range(num_devices): 2021-07-09T03:20:28,408 devices.append(CyDevice_Create(device_list[i])) 2021-07-09T03:20:28,408 ^ 2021-07-09T03:20:28,408 ------------------------------------------------------------ 2021-07-09T03:20:28,408 opencl/program.pyx:391:31: 'CyDevice_Create' is not a constant, variable or function identifier 2021-07-09T03:20:28,409 Error compiling Cython file: 2021-07-09T03:20:28,409 ------------------------------------------------------------ 2021-07-09T03:20:28,409 ... 2021-07-09T03:20:28,409 cdef api object CyProgram_Create(cl_program program_id): 2021-07-09T03:20:28,409 cdef Program prog = < Program > Program.__new__(Program) 2021-07-09T03:20:28,409 prog.program_id = program_id 2021-07-09T03:20:28,409 clRetainProgram(program_id) 2021-07-09T03:20:28,409 ^ 2021-07-09T03:20:28,410 ------------------------------------------------------------ 2021-07-09T03:20:28,410 opencl/program.pyx:401:4: undeclared name not builtin: clRetainProgram 2021-07-09T03:20:28,539 cythoning opencl/errors.pyx to opencl/errors.c 2021-07-09T03:20:28,545 /usr/local/lib/python3.9/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-6gt1nq2h/opencl-for-python_c1a6ab231b0f46fe81e2d5c22234fd72/opencl/errors.pyx 2021-07-09T03:20:28,545 tree = Parsing.p_module(s, pxd, full_module_name) 2021-07-09T03:20:28,606 Error compiling Cython file: 2021-07-09T03:20:28,606 ------------------------------------------------------------ 2021-07-09T03:20:28,606 ... 2021-07-09T03:20:28,607 from _cl cimport * 2021-07-09T03:20:28,607 ^ 2021-07-09T03:20:28,607 ------------------------------------------------------------ 2021-07-09T03:20:28,607 opencl/errors.pyx:2:0: '_cl.pxd' not found 2021-07-09T03:20:28,642 Error compiling Cython file: 2021-07-09T03:20:28,642 ------------------------------------------------------------ 2021-07-09T03:20:28,642 ... 2021-07-09T03:20:28,642 from _cl cimport * 2021-07-09T03:20:28,643 all_opencl_errors = { 2021-07-09T03:20:28,643 CL_SUCCESS: 'CL_SUCCESS', 2021-07-09T03:20:28,643 ^ 2021-07-09T03:20:28,643 ------------------------------------------------------------ 2021-07-09T03:20:28,643 opencl/errors.pyx:5:0: undeclared name not builtin: CL_SUCCESS 2021-07-09T03:20:28,643 Error compiling Cython file: 2021-07-09T03:20:28,644 ------------------------------------------------------------ 2021-07-09T03:20:28,644 ... 2021-07-09T03:20:28,644 from _cl cimport * 2021-07-09T03:20:28,644 all_opencl_errors = { 2021-07-09T03:20:28,644 CL_SUCCESS: 'CL_SUCCESS', 2021-07-09T03:20:28,644 CL_INVALID_VALUE: 'CL_INVALID_VALUE', 2021-07-09T03:20:28,644 ^ 2021-07-09T03:20:28,645 ------------------------------------------------------------ 2021-07-09T03:20:28,645 opencl/errors.pyx:6:0: undeclared name not builtin: CL_INVALID_VALUE 2021-07-09T03:20:28,645 Error compiling Cython file: 2021-07-09T03:20:28,645 ------------------------------------------------------------ 2021-07-09T03:20:28,645 ... 2021-07-09T03:20:28,645 from _cl cimport * 2021-07-09T03:20:28,646 all_opencl_errors = { 2021-07-09T03:20:28,646 CL_SUCCESS: 'CL_SUCCESS', 2021-07-09T03:20:28,646 CL_INVALID_VALUE: 'CL_INVALID_VALUE', 2021-07-09T03:20:28,646 CL_INVALID_BINARY: 'CL_INVALID_BINARY', 2021-07-09T03:20:28,646 ^ 2021-07-09T03:20:28,646 ------------------------------------------------------------ 2021-07-09T03:20:28,646 opencl/errors.pyx:7:0: undeclared name not builtin: CL_INVALID_BINARY 2021-07-09T03:20:28,647 Error compiling Cython file: 2021-07-09T03:20:28,647 ------------------------------------------------------------ 2021-07-09T03:20:28,647 ... 2021-07-09T03:20:28,647 all_opencl_errors = { 2021-07-09T03:20:28,647 CL_SUCCESS: 'CL_SUCCESS', 2021-07-09T03:20:28,647 CL_INVALID_VALUE: 'CL_INVALID_VALUE', 2021-07-09T03:20:28,647 CL_INVALID_BINARY: 'CL_INVALID_BINARY', 2021-07-09T03:20:28,648 CL_INVALID_BUFFER_SIZE: 'CL_INVALID_BUFFER_SIZE', 2021-07-09T03:20:28,648 ^ 2021-07-09T03:20:28,648 ------------------------------------------------------------ 2021-07-09T03:20:28,648 opencl/errors.pyx:8:0: undeclared name not builtin: CL_INVALID_BUFFER_SIZE 2021-07-09T03:20:28,648 Error compiling Cython file: 2021-07-09T03:20:28,648 ------------------------------------------------------------ 2021-07-09T03:20:28,648 ... 2021-07-09T03:20:28,649 all_opencl_errors = { 2021-07-09T03:20:28,649 CL_SUCCESS: 'CL_SUCCESS', 2021-07-09T03:20:28,649 CL_INVALID_VALUE: 'CL_INVALID_VALUE', 2021-07-09T03:20:28,649 CL_INVALID_BINARY: 'CL_INVALID_BINARY', 2021-07-09T03:20:28,649 CL_INVALID_BUFFER_SIZE: 'CL_INVALID_BUFFER_SIZE', 2021-07-09T03:20:28,649 CL_INVALID_BUILD_OPTIONS: 'CL_INVALID_BUILD_OPTIONS', 2021-07-09T03:20:28,649 ^ 2021-07-09T03:20:28,649 ------------------------------------------------------------ 2021-07-09T03:20:28,650 opencl/errors.pyx:9:0: undeclared name not builtin: CL_INVALID_BUILD_OPTIONS 2021-07-09T03:20:28,650 Error compiling Cython file: 2021-07-09T03:20:28,650 ------------------------------------------------------------ 2021-07-09T03:20:28,650 ... 2021-07-09T03:20:28,650 CL_SUCCESS: 'CL_SUCCESS', 2021-07-09T03:20:28,650 CL_INVALID_VALUE: 'CL_INVALID_VALUE', 2021-07-09T03:20:28,650 CL_INVALID_BINARY: 'CL_INVALID_BINARY', 2021-07-09T03:20:28,650 CL_INVALID_BUFFER_SIZE: 'CL_INVALID_BUFFER_SIZE', 2021-07-09T03:20:28,651 CL_INVALID_BUILD_OPTIONS: 'CL_INVALID_BUILD_OPTIONS', 2021-07-09T03:20:28,651 CL_INVALID_CONTEXT: 'CL_INVALID_CONTEXT', 2021-07-09T03:20:28,651 ^ 2021-07-09T03:20:28,651 ------------------------------------------------------------ 2021-07-09T03:20:28,651 opencl/errors.pyx:10:0: undeclared name not builtin: CL_INVALID_CONTEXT 2021-07-09T03:20:28,651 Error compiling Cython file: 2021-07-09T03:20:28,651 ------------------------------------------------------------ 2021-07-09T03:20:28,652 ... 2021-07-09T03:20:28,652 CL_INVALID_VALUE: 'CL_INVALID_VALUE', 2021-07-09T03:20:28,652 CL_INVALID_BINARY: 'CL_INVALID_BINARY', 2021-07-09T03:20:28,652 CL_INVALID_BUFFER_SIZE: 'CL_INVALID_BUFFER_SIZE', 2021-07-09T03:20:28,652 CL_INVALID_BUILD_OPTIONS: 'CL_INVALID_BUILD_OPTIONS', 2021-07-09T03:20:28,652 CL_INVALID_CONTEXT: 'CL_INVALID_CONTEXT', 2021-07-09T03:20:28,652 CL_INVALID_DEVICE: 'CL_INVALID_DEVICE', 2021-07-09T03:20:28,652 ^ 2021-07-09T03:20:28,652 ------------------------------------------------------------ 2021-07-09T03:20:28,653 opencl/errors.pyx:11:0: undeclared name not builtin: CL_INVALID_DEVICE 2021-07-09T03:20:28,653 Error compiling Cython file: 2021-07-09T03:20:28,653 ------------------------------------------------------------ 2021-07-09T03:20:28,653 ... 2021-07-09T03:20:28,653 CL_INVALID_BINARY: 'CL_INVALID_BINARY', 2021-07-09T03:20:28,653 CL_INVALID_BUFFER_SIZE: 'CL_INVALID_BUFFER_SIZE', 2021-07-09T03:20:28,653 CL_INVALID_BUILD_OPTIONS: 'CL_INVALID_BUILD_OPTIONS', 2021-07-09T03:20:28,653 CL_INVALID_CONTEXT: 'CL_INVALID_CONTEXT', 2021-07-09T03:20:28,654 CL_INVALID_DEVICE: 'CL_INVALID_DEVICE', 2021-07-09T03:20:28,654 CL_INVALID_EVENT: 'CL_INVALID_EVENT', 2021-07-09T03:20:28,654 ^ 2021-07-09T03:20:28,654 ------------------------------------------------------------ 2021-07-09T03:20:28,654 opencl/errors.pyx:12:0: undeclared name not builtin: CL_INVALID_EVENT 2021-07-09T03:20:28,654 Error compiling Cython file: 2021-07-09T03:20:28,654 ------------------------------------------------------------ 2021-07-09T03:20:28,655 ... 2021-07-09T03:20:28,655 CL_INVALID_BUFFER_SIZE: 'CL_INVALID_BUFFER_SIZE', 2021-07-09T03:20:28,655 CL_INVALID_BUILD_OPTIONS: 'CL_INVALID_BUILD_OPTIONS', 2021-07-09T03:20:28,655 CL_INVALID_CONTEXT: 'CL_INVALID_CONTEXT', 2021-07-09T03:20:28,655 CL_INVALID_DEVICE: 'CL_INVALID_DEVICE', 2021-07-09T03:20:28,655 CL_INVALID_EVENT: 'CL_INVALID_EVENT', 2021-07-09T03:20:28,655 CL_INVALID_HOST_PTR: 'CL_INVALID_HOST_PTR', 2021-07-09T03:20:28,655 ^ 2021-07-09T03:20:28,655 ------------------------------------------------------------ 2021-07-09T03:20:28,656 opencl/errors.pyx:13:0: undeclared name not builtin: CL_INVALID_HOST_PTR 2021-07-09T03:20:28,656 Error compiling Cython file: 2021-07-09T03:20:28,656 ------------------------------------------------------------ 2021-07-09T03:20:28,656 ... 2021-07-09T03:20:28,656 CL_INVALID_BUILD_OPTIONS: 'CL_INVALID_BUILD_OPTIONS', 2021-07-09T03:20:28,656 CL_INVALID_CONTEXT: 'CL_INVALID_CONTEXT', 2021-07-09T03:20:28,656 CL_INVALID_DEVICE: 'CL_INVALID_DEVICE', 2021-07-09T03:20:28,657 CL_INVALID_EVENT: 'CL_INVALID_EVENT', 2021-07-09T03:20:28,657 CL_INVALID_HOST_PTR: 'CL_INVALID_HOST_PTR', 2021-07-09T03:20:28,657 CL_INVALID_KERNEL_NAME: 'CL_INVALID_KERNEL_NAME', 2021-07-09T03:20:28,657 ^ 2021-07-09T03:20:28,657 ------------------------------------------------------------ 2021-07-09T03:20:28,657 opencl/errors.pyx:14:0: undeclared name not builtin: CL_INVALID_KERNEL_NAME 2021-07-09T03:20:28,657 Error compiling Cython file: 2021-07-09T03:20:28,658 ------------------------------------------------------------ 2021-07-09T03:20:28,658 ... 2021-07-09T03:20:28,658 CL_INVALID_CONTEXT: 'CL_INVALID_CONTEXT', 2021-07-09T03:20:28,658 CL_INVALID_DEVICE: 'CL_INVALID_DEVICE', 2021-07-09T03:20:28,658 CL_INVALID_EVENT: 'CL_INVALID_EVENT', 2021-07-09T03:20:28,658 CL_INVALID_HOST_PTR: 'CL_INVALID_HOST_PTR', 2021-07-09T03:20:28,658 CL_INVALID_KERNEL_NAME: 'CL_INVALID_KERNEL_NAME', 2021-07-09T03:20:28,658 CL_INVALID_OPERATION: 'CL_INVALID_OPERATION', 2021-07-09T03:20:28,658 ^ 2021-07-09T03:20:28,659 ------------------------------------------------------------ 2021-07-09T03:20:28,659 opencl/errors.pyx:15:0: undeclared name not builtin: CL_INVALID_OPERATION 2021-07-09T03:20:28,659 Error compiling Cython file: 2021-07-09T03:20:28,659 ------------------------------------------------------------ 2021-07-09T03:20:28,659 ... 2021-07-09T03:20:28,659 CL_INVALID_EVENT: 'CL_INVALID_EVENT', 2021-07-09T03:20:28,659 CL_INVALID_HOST_PTR: 'CL_INVALID_HOST_PTR', 2021-07-09T03:20:28,660 CL_INVALID_KERNEL_NAME: 'CL_INVALID_KERNEL_NAME', 2021-07-09T03:20:28,660 CL_INVALID_OPERATION: 'CL_INVALID_OPERATION', 2021-07-09T03:20:28,660 CL_INVALID_KERNEL_NAME: 'CL_INVALID_KERNEL_NAME', 2021-07-09T03:20:28,660 CL_INVALID_COMMAND_QUEUE: 'CL_INVALID_COMMAND_QUEUE', 2021-07-09T03:20:28,660 ^ 2021-07-09T03:20:28,660 ------------------------------------------------------------ 2021-07-09T03:20:28,660 opencl/errors.pyx:17:0: undeclared name not builtin: CL_INVALID_COMMAND_QUEUE 2021-07-09T03:20:28,661 Error compiling Cython file: 2021-07-09T03:20:28,661 ------------------------------------------------------------ 2021-07-09T03:20:28,661 ... 2021-07-09T03:20:28,661 CL_INVALID_KERNEL_NAME: 'CL_INVALID_KERNEL_NAME', 2021-07-09T03:20:28,661 CL_INVALID_OPERATION: 'CL_INVALID_OPERATION', 2021-07-09T03:20:28,661 CL_INVALID_KERNEL_NAME: 'CL_INVALID_KERNEL_NAME', 2021-07-09T03:20:28,661 CL_INVALID_COMMAND_QUEUE: 'CL_INVALID_COMMAND_QUEUE', 2021-07-09T03:20:28,661 CL_INVALID_CONTEXT: 'CL_INVALID_CONTEXT', 2021-07-09T03:20:28,661 CL_INVALID_MEM_OBJECT: 'CL_INVALID_MEM_OBJECT', 2021-07-09T03:20:28,661 ^ 2021-07-09T03:20:28,662 ------------------------------------------------------------ 2021-07-09T03:20:28,662 opencl/errors.pyx:19:0: undeclared name not builtin: CL_INVALID_MEM_OBJECT 2021-07-09T03:20:28,662 Error compiling Cython file: 2021-07-09T03:20:28,662 ------------------------------------------------------------ 2021-07-09T03:20:28,662 ... 2021-07-09T03:20:28,662 CL_INVALID_OPERATION: 'CL_INVALID_OPERATION', 2021-07-09T03:20:28,662 CL_INVALID_KERNEL_NAME: 'CL_INVALID_KERNEL_NAME', 2021-07-09T03:20:28,663 CL_INVALID_COMMAND_QUEUE: 'CL_INVALID_COMMAND_QUEUE', 2021-07-09T03:20:28,663 CL_INVALID_CONTEXT: 'CL_INVALID_CONTEXT', 2021-07-09T03:20:28,663 CL_INVALID_MEM_OBJECT: 'CL_INVALID_MEM_OBJECT', 2021-07-09T03:20:28,663 CL_INVALID_EVENT_WAIT_LIST: 'CL_INVALID_EVENT_WAIT_LIST', 2021-07-09T03:20:28,663 ^ 2021-07-09T03:20:28,663 ------------------------------------------------------------ 2021-07-09T03:20:28,663 opencl/errors.pyx:20:0: undeclared name not builtin: CL_INVALID_EVENT_WAIT_LIST 2021-07-09T03:20:28,663 Error compiling Cython file: 2021-07-09T03:20:28,664 ------------------------------------------------------------ 2021-07-09T03:20:28,664 ... 2021-07-09T03:20:28,664 CL_INVALID_KERNEL_NAME: 'CL_INVALID_KERNEL_NAME', 2021-07-09T03:20:28,664 CL_INVALID_COMMAND_QUEUE: 'CL_INVALID_COMMAND_QUEUE', 2021-07-09T03:20:28,664 CL_INVALID_CONTEXT: 'CL_INVALID_CONTEXT', 2021-07-09T03:20:28,664 CL_INVALID_MEM_OBJECT: 'CL_INVALID_MEM_OBJECT', 2021-07-09T03:20:28,664 CL_INVALID_EVENT_WAIT_LIST: 'CL_INVALID_EVENT_WAIT_LIST', 2021-07-09T03:20:28,664 CL_INVALID_PROPERTY: 'CL_INVALID_PROPERTY', 2021-07-09T03:20:28,664 ^ 2021-07-09T03:20:28,665 ------------------------------------------------------------ 2021-07-09T03:20:28,665 opencl/errors.pyx:21:0: undeclared name not builtin: CL_INVALID_PROPERTY 2021-07-09T03:20:28,665 Error compiling Cython file: 2021-07-09T03:20:28,665 ------------------------------------------------------------ 2021-07-09T03:20:28,665 ... 2021-07-09T03:20:28,665 CL_INVALID_COMMAND_QUEUE: 'CL_INVALID_COMMAND_QUEUE', 2021-07-09T03:20:28,665 CL_INVALID_CONTEXT: 'CL_INVALID_CONTEXT', 2021-07-09T03:20:28,666 CL_INVALID_MEM_OBJECT: 'CL_INVALID_MEM_OBJECT', 2021-07-09T03:20:28,666 CL_INVALID_EVENT_WAIT_LIST: 'CL_INVALID_EVENT_WAIT_LIST', 2021-07-09T03:20:28,666 CL_INVALID_PROPERTY: 'CL_INVALID_PROPERTY', 2021-07-09T03:20:28,666 CL_INVALID_DEVICE_TYPE: 'CL_INVALID_DEVICE_TYPE', 2021-07-09T03:20:28,666 ^ 2021-07-09T03:20:28,666 ------------------------------------------------------------ 2021-07-09T03:20:28,666 opencl/errors.pyx:22:0: undeclared name not builtin: CL_INVALID_DEVICE_TYPE 2021-07-09T03:20:28,666 Error compiling Cython file: 2021-07-09T03:20:28,667 ------------------------------------------------------------ 2021-07-09T03:20:28,667 ... 2021-07-09T03:20:28,667 CL_INVALID_CONTEXT: 'CL_INVALID_CONTEXT', 2021-07-09T03:20:28,667 CL_INVALID_MEM_OBJECT: 'CL_INVALID_MEM_OBJECT', 2021-07-09T03:20:28,667 CL_INVALID_EVENT_WAIT_LIST: 'CL_INVALID_EVENT_WAIT_LIST', 2021-07-09T03:20:28,667 CL_INVALID_PROPERTY: 'CL_INVALID_PROPERTY', 2021-07-09T03:20:28,667 CL_INVALID_DEVICE_TYPE: 'CL_INVALID_DEVICE_TYPE', 2021-07-09T03:20:28,667 CL_INVALID_PROGRAM: 'CL_INVALID_PROGRAM', 2021-07-09T03:20:28,667 ^ 2021-07-09T03:20:28,668 ------------------------------------------------------------ 2021-07-09T03:20:28,668 opencl/errors.pyx:23:0: undeclared name not builtin: CL_INVALID_PROGRAM 2021-07-09T03:20:28,668 Error compiling Cython file: 2021-07-09T03:20:28,668 ------------------------------------------------------------ 2021-07-09T03:20:28,668 ... 2021-07-09T03:20:28,668 CL_INVALID_MEM_OBJECT: 'CL_INVALID_MEM_OBJECT', 2021-07-09T03:20:28,668 CL_INVALID_EVENT_WAIT_LIST: 'CL_INVALID_EVENT_WAIT_LIST', 2021-07-09T03:20:28,669 CL_INVALID_PROPERTY: 'CL_INVALID_PROPERTY', 2021-07-09T03:20:28,669 CL_INVALID_DEVICE_TYPE: 'CL_INVALID_DEVICE_TYPE', 2021-07-09T03:20:28,669 CL_INVALID_PROGRAM: 'CL_INVALID_PROGRAM', 2021-07-09T03:20:28,669 CL_INVALID_PROGRAM_EXECUTABLE: 'CL_INVALID_PROGRAM_EXECUTABLE', 2021-07-09T03:20:28,669 ^ 2021-07-09T03:20:28,669 ------------------------------------------------------------ 2021-07-09T03:20:28,669 opencl/errors.pyx:24:0: undeclared name not builtin: CL_INVALID_PROGRAM_EXECUTABLE 2021-07-09T03:20:28,669 Error compiling Cython file: 2021-07-09T03:20:28,670 ------------------------------------------------------------ 2021-07-09T03:20:28,670 ... 2021-07-09T03:20:28,670 CL_INVALID_EVENT_WAIT_LIST: 'CL_INVALID_EVENT_WAIT_LIST', 2021-07-09T03:20:28,670 CL_INVALID_PROPERTY: 'CL_INVALID_PROPERTY', 2021-07-09T03:20:28,670 CL_INVALID_DEVICE_TYPE: 'CL_INVALID_DEVICE_TYPE', 2021-07-09T03:20:28,670 CL_INVALID_PROGRAM: 'CL_INVALID_PROGRAM', 2021-07-09T03:20:28,670 CL_INVALID_PROGRAM_EXECUTABLE: 'CL_INVALID_PROGRAM_EXECUTABLE', 2021-07-09T03:20:28,670 CL_INVALID_PLATFORM: 'CL_INVALID_PLATFORM', 2021-07-09T03:20:28,670 ^ 2021-07-09T03:20:28,671 ------------------------------------------------------------ 2021-07-09T03:20:28,671 opencl/errors.pyx:25:0: undeclared name not builtin: CL_INVALID_PLATFORM 2021-07-09T03:20:28,671 Error compiling Cython file: 2021-07-09T03:20:28,671 ------------------------------------------------------------ 2021-07-09T03:20:28,671 ... 2021-07-09T03:20:28,671 CL_INVALID_PROPERTY: 'CL_INVALID_PROPERTY', 2021-07-09T03:20:28,671 CL_INVALID_DEVICE_TYPE: 'CL_INVALID_DEVICE_TYPE', 2021-07-09T03:20:28,672 CL_INVALID_PROGRAM: 'CL_INVALID_PROGRAM', 2021-07-09T03:20:28,672 CL_INVALID_PROGRAM_EXECUTABLE: 'CL_INVALID_PROGRAM_EXECUTABLE', 2021-07-09T03:20:28,672 CL_INVALID_PLATFORM: 'CL_INVALID_PLATFORM', 2021-07-09T03:20:28,672 CL_INVALID_KERNEL: 'CL_INVALID_KERNEL', 2021-07-09T03:20:28,672 ^ 2021-07-09T03:20:28,672 ------------------------------------------------------------ 2021-07-09T03:20:28,672 opencl/errors.pyx:26:0: undeclared name not builtin: CL_INVALID_KERNEL 2021-07-09T03:20:28,673 Error compiling Cython file: 2021-07-09T03:20:28,673 ------------------------------------------------------------ 2021-07-09T03:20:28,673 ... 2021-07-09T03:20:28,673 CL_INVALID_DEVICE_TYPE: 'CL_INVALID_DEVICE_TYPE', 2021-07-09T03:20:28,673 CL_INVALID_PROGRAM: 'CL_INVALID_PROGRAM', 2021-07-09T03:20:28,673 CL_INVALID_PROGRAM_EXECUTABLE: 'CL_INVALID_PROGRAM_EXECUTABLE', 2021-07-09T03:20:28,673 CL_INVALID_PLATFORM: 'CL_INVALID_PLATFORM', 2021-07-09T03:20:28,673 CL_INVALID_KERNEL: 'CL_INVALID_KERNEL', 2021-07-09T03:20:28,673 CL_INVALID_KERNEL_ARGS: 'CL_INVALID_KERNEL_ARGS', 2021-07-09T03:20:28,674 ^ 2021-07-09T03:20:28,674 ------------------------------------------------------------ 2021-07-09T03:20:28,674 opencl/errors.pyx:27:0: undeclared name not builtin: CL_INVALID_KERNEL_ARGS 2021-07-09T03:20:28,674 Error compiling Cython file: 2021-07-09T03:20:28,674 ------------------------------------------------------------ 2021-07-09T03:20:28,674 ... 2021-07-09T03:20:28,674 CL_INVALID_PROGRAM: 'CL_INVALID_PROGRAM', 2021-07-09T03:20:28,675 CL_INVALID_PROGRAM_EXECUTABLE: 'CL_INVALID_PROGRAM_EXECUTABLE', 2021-07-09T03:20:28,675 CL_INVALID_PLATFORM: 'CL_INVALID_PLATFORM', 2021-07-09T03:20:28,675 CL_INVALID_KERNEL: 'CL_INVALID_KERNEL', 2021-07-09T03:20:28,675 CL_INVALID_KERNEL_ARGS: 'CL_INVALID_KERNEL_ARGS', 2021-07-09T03:20:28,675 CL_INVALID_WORK_DIMENSION: 'CL_INVALID_WORK_DIMENSION', 2021-07-09T03:20:28,675 ^ 2021-07-09T03:20:28,675 ------------------------------------------------------------ 2021-07-09T03:20:28,675 opencl/errors.pyx:28:0: undeclared name not builtin: CL_INVALID_WORK_DIMENSION 2021-07-09T03:20:28,676 Error compiling Cython file: 2021-07-09T03:20:28,676 ------------------------------------------------------------ 2021-07-09T03:20:28,676 ... 2021-07-09T03:20:28,676 CL_INVALID_PROGRAM_EXECUTABLE: 'CL_INVALID_PROGRAM_EXECUTABLE', 2021-07-09T03:20:28,676 CL_INVALID_PLATFORM: 'CL_INVALID_PLATFORM', 2021-07-09T03:20:28,676 CL_INVALID_KERNEL: 'CL_INVALID_KERNEL', 2021-07-09T03:20:28,676 CL_INVALID_KERNEL_ARGS: 'CL_INVALID_KERNEL_ARGS', 2021-07-09T03:20:28,676 CL_INVALID_WORK_DIMENSION: 'CL_INVALID_WORK_DIMENSION', 2021-07-09T03:20:28,677 CL_INVALID_GLOBAL_WORK_SIZE: 'CL_INVALID_GLOBAL_WORK_SIZE', 2021-07-09T03:20:28,677 ^ 2021-07-09T03:20:28,677 ------------------------------------------------------------ 2021-07-09T03:20:28,677 opencl/errors.pyx:29:0: undeclared name not builtin: CL_INVALID_GLOBAL_WORK_SIZE 2021-07-09T03:20:28,677 Error compiling Cython file: 2021-07-09T03:20:28,678 ------------------------------------------------------------ 2021-07-09T03:20:28,678 ... 2021-07-09T03:20:28,678 CL_INVALID_PLATFORM: 'CL_INVALID_PLATFORM', 2021-07-09T03:20:28,678 CL_INVALID_KERNEL: 'CL_INVALID_KERNEL', 2021-07-09T03:20:28,678 CL_INVALID_KERNEL_ARGS: 'CL_INVALID_KERNEL_ARGS', 2021-07-09T03:20:28,678 CL_INVALID_WORK_DIMENSION: 'CL_INVALID_WORK_DIMENSION', 2021-07-09T03:20:28,679 CL_INVALID_GLOBAL_WORK_SIZE: 'CL_INVALID_GLOBAL_WORK_SIZE', 2021-07-09T03:20:28,679 CL_INVALID_GLOBAL_OFFSET: 'CL_INVALID_GLOBAL_OFFSET', 2021-07-09T03:20:28,679 ^ 2021-07-09T03:20:28,679 ------------------------------------------------------------ 2021-07-09T03:20:28,679 opencl/errors.pyx:30:0: undeclared name not builtin: CL_INVALID_GLOBAL_OFFSET 2021-07-09T03:20:28,679 Error compiling Cython file: 2021-07-09T03:20:28,680 ------------------------------------------------------------ 2021-07-09T03:20:28,680 ... 2021-07-09T03:20:28,680 CL_INVALID_KERNEL: 'CL_INVALID_KERNEL', 2021-07-09T03:20:28,680 CL_INVALID_KERNEL_ARGS: 'CL_INVALID_KERNEL_ARGS', 2021-07-09T03:20:28,680 CL_INVALID_WORK_DIMENSION: 'CL_INVALID_WORK_DIMENSION', 2021-07-09T03:20:28,680 CL_INVALID_GLOBAL_WORK_SIZE: 'CL_INVALID_GLOBAL_WORK_SIZE', 2021-07-09T03:20:28,680 CL_INVALID_GLOBAL_OFFSET: 'CL_INVALID_GLOBAL_OFFSET', 2021-07-09T03:20:28,680 CL_INVALID_WORK_GROUP_SIZE: 'CL_INVALID_WORK_GROUP_SIZE', 2021-07-09T03:20:28,681 ^ 2021-07-09T03:20:28,681 ------------------------------------------------------------ 2021-07-09T03:20:28,681 opencl/errors.pyx:31:0: undeclared name not builtin: CL_INVALID_WORK_GROUP_SIZE 2021-07-09T03:20:28,681 Error compiling Cython file: 2021-07-09T03:20:28,681 ------------------------------------------------------------ 2021-07-09T03:20:28,681 ... 2021-07-09T03:20:28,681 CL_INVALID_KERNEL_ARGS: 'CL_INVALID_KERNEL_ARGS', 2021-07-09T03:20:28,682 CL_INVALID_WORK_DIMENSION: 'CL_INVALID_WORK_DIMENSION', 2021-07-09T03:20:28,682 CL_INVALID_GLOBAL_WORK_SIZE: 'CL_INVALID_GLOBAL_WORK_SIZE', 2021-07-09T03:20:28,682 CL_INVALID_GLOBAL_OFFSET: 'CL_INVALID_GLOBAL_OFFSET', 2021-07-09T03:20:28,682 CL_INVALID_WORK_GROUP_SIZE: 'CL_INVALID_WORK_GROUP_SIZE', 2021-07-09T03:20:28,682 CL_INVALID_WORK_ITEM_SIZE: 'CL_INVALID_WORK_ITEM_SIZE', 2021-07-09T03:20:28,682 ^ 2021-07-09T03:20:28,683 ------------------------------------------------------------ 2021-07-09T03:20:28,683 opencl/errors.pyx:32:0: undeclared name not builtin: CL_INVALID_WORK_ITEM_SIZE 2021-07-09T03:20:28,683 Error compiling Cython file: 2021-07-09T03:20:28,683 ------------------------------------------------------------ 2021-07-09T03:20:28,684 ... 2021-07-09T03:20:28,684 CL_INVALID_WORK_DIMENSION: 'CL_INVALID_WORK_DIMENSION', 2021-07-09T03:20:28,684 CL_INVALID_GLOBAL_WORK_SIZE: 'CL_INVALID_GLOBAL_WORK_SIZE', 2021-07-09T03:20:28,684 CL_INVALID_GLOBAL_OFFSET: 'CL_INVALID_GLOBAL_OFFSET', 2021-07-09T03:20:28,684 CL_INVALID_WORK_GROUP_SIZE: 'CL_INVALID_WORK_GROUP_SIZE', 2021-07-09T03:20:28,684 CL_INVALID_WORK_ITEM_SIZE: 'CL_INVALID_WORK_ITEM_SIZE', 2021-07-09T03:20:28,684 CL_INVALID_IMAGE_SIZE: 'CL_INVALID_IMAGE_SIZE', 2021-07-09T03:20:28,684 ^ 2021-07-09T03:20:28,684 ------------------------------------------------------------ 2021-07-09T03:20:28,685 opencl/errors.pyx:33:0: undeclared name not builtin: CL_INVALID_IMAGE_SIZE 2021-07-09T03:20:28,685 Error compiling Cython file: 2021-07-09T03:20:28,685 ------------------------------------------------------------ 2021-07-09T03:20:28,685 ... 2021-07-09T03:20:28,685 CL_INVALID_GLOBAL_WORK_SIZE: 'CL_INVALID_GLOBAL_WORK_SIZE', 2021-07-09T03:20:28,685 CL_INVALID_GLOBAL_OFFSET: 'CL_INVALID_GLOBAL_OFFSET', 2021-07-09T03:20:28,685 CL_INVALID_WORK_GROUP_SIZE: 'CL_INVALID_WORK_GROUP_SIZE', 2021-07-09T03:20:28,686 CL_INVALID_WORK_ITEM_SIZE: 'CL_INVALID_WORK_ITEM_SIZE', 2021-07-09T03:20:28,686 CL_INVALID_IMAGE_SIZE: 'CL_INVALID_IMAGE_SIZE', 2021-07-09T03:20:28,686 CL_INVALID_ARG_INDEX: 'CL_INVALID_ARG_INDEX', 2021-07-09T03:20:28,686 ^ 2021-07-09T03:20:28,686 ------------------------------------------------------------ 2021-07-09T03:20:28,686 opencl/errors.pyx:34:0: undeclared name not builtin: CL_INVALID_ARG_INDEX 2021-07-09T03:20:28,686 Error compiling Cython file: 2021-07-09T03:20:28,687 ------------------------------------------------------------ 2021-07-09T03:20:28,687 ... 2021-07-09T03:20:28,687 CL_INVALID_GLOBAL_OFFSET: 'CL_INVALID_GLOBAL_OFFSET', 2021-07-09T03:20:28,687 CL_INVALID_WORK_GROUP_SIZE: 'CL_INVALID_WORK_GROUP_SIZE', 2021-07-09T03:20:28,687 CL_INVALID_WORK_ITEM_SIZE: 'CL_INVALID_WORK_ITEM_SIZE', 2021-07-09T03:20:28,687 CL_INVALID_IMAGE_SIZE: 'CL_INVALID_IMAGE_SIZE', 2021-07-09T03:20:28,687 CL_INVALID_ARG_INDEX: 'CL_INVALID_ARG_INDEX', 2021-07-09T03:20:28,687 CL_INVALID_ARG_VALUE: 'CL_INVALID_ARG_VALUE', 2021-07-09T03:20:28,687 ^ 2021-07-09T03:20:28,687 ------------------------------------------------------------ 2021-07-09T03:20:28,688 opencl/errors.pyx:35:0: undeclared name not builtin: CL_INVALID_ARG_VALUE 2021-07-09T03:20:28,688 Error compiling Cython file: 2021-07-09T03:20:28,688 ------------------------------------------------------------ 2021-07-09T03:20:28,688 ... 2021-07-09T03:20:28,688 CL_INVALID_WORK_GROUP_SIZE: 'CL_INVALID_WORK_GROUP_SIZE', 2021-07-09T03:20:28,688 CL_INVALID_WORK_ITEM_SIZE: 'CL_INVALID_WORK_ITEM_SIZE', 2021-07-09T03:20:28,688 CL_INVALID_IMAGE_SIZE: 'CL_INVALID_IMAGE_SIZE', 2021-07-09T03:20:28,689 CL_INVALID_ARG_INDEX: 'CL_INVALID_ARG_INDEX', 2021-07-09T03:20:28,689 CL_INVALID_ARG_VALUE: 'CL_INVALID_ARG_VALUE', 2021-07-09T03:20:28,689 CL_INVALID_SAMPLER: 'CL_INVALID_SAMPLER', 2021-07-09T03:20:28,689 ^ 2021-07-09T03:20:28,689 ------------------------------------------------------------ 2021-07-09T03:20:28,689 opencl/errors.pyx:36:0: undeclared name not builtin: CL_INVALID_SAMPLER 2021-07-09T03:20:28,689 Error compiling Cython file: 2021-07-09T03:20:28,690 ------------------------------------------------------------ 2021-07-09T03:20:28,690 ... 2021-07-09T03:20:28,690 CL_INVALID_WORK_ITEM_SIZE: 'CL_INVALID_WORK_ITEM_SIZE', 2021-07-09T03:20:28,690 CL_INVALID_IMAGE_SIZE: 'CL_INVALID_IMAGE_SIZE', 2021-07-09T03:20:28,690 CL_INVALID_ARG_INDEX: 'CL_INVALID_ARG_INDEX', 2021-07-09T03:20:28,690 CL_INVALID_ARG_VALUE: 'CL_INVALID_ARG_VALUE', 2021-07-09T03:20:28,690 CL_INVALID_SAMPLER: 'CL_INVALID_SAMPLER', 2021-07-09T03:20:28,690 CL_INVALID_ARG_SIZE: 'CL_INVALID_ARG_SIZE', 2021-07-09T03:20:28,690 ^ 2021-07-09T03:20:28,691 ------------------------------------------------------------ 2021-07-09T03:20:28,691 opencl/errors.pyx:37:0: undeclared name not builtin: CL_INVALID_ARG_SIZE 2021-07-09T03:20:28,691 Error compiling Cython file: 2021-07-09T03:20:28,691 ------------------------------------------------------------ 2021-07-09T03:20:28,691 ... 2021-07-09T03:20:28,691 CL_INVALID_IMAGE_SIZE: 'CL_INVALID_IMAGE_SIZE', 2021-07-09T03:20:28,691 CL_INVALID_ARG_INDEX: 'CL_INVALID_ARG_INDEX', 2021-07-09T03:20:28,691 CL_INVALID_ARG_VALUE: 'CL_INVALID_ARG_VALUE', 2021-07-09T03:20:28,692 CL_INVALID_SAMPLER: 'CL_INVALID_SAMPLER', 2021-07-09T03:20:28,692 CL_INVALID_ARG_SIZE: 'CL_INVALID_ARG_SIZE', 2021-07-09T03:20:28,692 CL_INVALID_KERNEL_DEFINITION: 'CL_INVALID_KERNEL_DEFINITION', 2021-07-09T03:20:28,692 ^ 2021-07-09T03:20:28,692 ------------------------------------------------------------ 2021-07-09T03:20:28,692 opencl/errors.pyx:38:0: undeclared name not builtin: CL_INVALID_KERNEL_DEFINITION 2021-07-09T03:20:28,693 Error compiling Cython file: 2021-07-09T03:20:28,693 ------------------------------------------------------------ 2021-07-09T03:20:28,693 ... 2021-07-09T03:20:28,693 CL_INVALID_ARG_INDEX: 'CL_INVALID_ARG_INDEX', 2021-07-09T03:20:28,693 CL_INVALID_ARG_VALUE: 'CL_INVALID_ARG_VALUE', 2021-07-09T03:20:28,693 CL_INVALID_SAMPLER: 'CL_INVALID_SAMPLER', 2021-07-09T03:20:28,693 CL_INVALID_ARG_SIZE: 'CL_INVALID_ARG_SIZE', 2021-07-09T03:20:28,693 CL_INVALID_KERNEL_DEFINITION: 'CL_INVALID_KERNEL_DEFINITION', 2021-07-09T03:20:28,693 CL_MISALIGNED_SUB_BUFFER_OFFSET: 'CL_MISALIGNED_SUB_BUFFER_OFFSET', 2021-07-09T03:20:28,693 ^ 2021-07-09T03:20:28,694 ------------------------------------------------------------ 2021-07-09T03:20:28,694 opencl/errors.pyx:39:0: undeclared name not builtin: CL_MISALIGNED_SUB_BUFFER_OFFSET 2021-07-09T03:20:28,694 Error compiling Cython file: 2021-07-09T03:20:28,694 ------------------------------------------------------------ 2021-07-09T03:20:28,694 ... 2021-07-09T03:20:28,694 CL_INVALID_ARG_VALUE: 'CL_INVALID_ARG_VALUE', 2021-07-09T03:20:28,695 CL_INVALID_SAMPLER: 'CL_INVALID_SAMPLER', 2021-07-09T03:20:28,695 CL_INVALID_ARG_SIZE: 'CL_INVALID_ARG_SIZE', 2021-07-09T03:20:28,695 CL_INVALID_KERNEL_DEFINITION: 'CL_INVALID_KERNEL_DEFINITION', 2021-07-09T03:20:28,695 CL_MISALIGNED_SUB_BUFFER_OFFSET: 'CL_MISALIGNED_SUB_BUFFER_OFFSET', 2021-07-09T03:20:28,695 CL_MEM_OBJECT_ALLOCATION_FAILURE: 'CL_MEM_OBJECT_ALLOCATION_FAILURE', 2021-07-09T03:20:28,695 ^ 2021-07-09T03:20:28,695 ------------------------------------------------------------ 2021-07-09T03:20:28,695 opencl/errors.pyx:40:0: undeclared name not builtin: CL_MEM_OBJECT_ALLOCATION_FAILURE 2021-07-09T03:20:28,696 Error compiling Cython file: 2021-07-09T03:20:28,696 ------------------------------------------------------------ 2021-07-09T03:20:28,696 ... 2021-07-09T03:20:28,696 CL_INVALID_SAMPLER: 'CL_INVALID_SAMPLER', 2021-07-09T03:20:28,696 CL_INVALID_ARG_SIZE: 'CL_INVALID_ARG_SIZE', 2021-07-09T03:20:28,696 CL_INVALID_KERNEL_DEFINITION: 'CL_INVALID_KERNEL_DEFINITION', 2021-07-09T03:20:28,696 CL_MISALIGNED_SUB_BUFFER_OFFSET: 'CL_MISALIGNED_SUB_BUFFER_OFFSET', 2021-07-09T03:20:28,696 CL_MEM_OBJECT_ALLOCATION_FAILURE: 'CL_MEM_OBJECT_ALLOCATION_FAILURE', 2021-07-09T03:20:28,697 CL_DEVICE_NOT_AVAILABLE: 'CL_DEVICE_NOT_AVAILABLE', 2021-07-09T03:20:28,697 ^ 2021-07-09T03:20:28,697 ------------------------------------------------------------ 2021-07-09T03:20:28,697 opencl/errors.pyx:41:0: undeclared name not builtin: CL_DEVICE_NOT_AVAILABLE 2021-07-09T03:20:28,697 Error compiling Cython file: 2021-07-09T03:20:28,697 ------------------------------------------------------------ 2021-07-09T03:20:28,697 ... 2021-07-09T03:20:28,698 CL_INVALID_ARG_SIZE: 'CL_INVALID_ARG_SIZE', 2021-07-09T03:20:28,698 CL_INVALID_KERNEL_DEFINITION: 'CL_INVALID_KERNEL_DEFINITION', 2021-07-09T03:20:28,698 CL_MISALIGNED_SUB_BUFFER_OFFSET: 'CL_MISALIGNED_SUB_BUFFER_OFFSET', 2021-07-09T03:20:28,698 CL_MEM_OBJECT_ALLOCATION_FAILURE: 'CL_MEM_OBJECT_ALLOCATION_FAILURE', 2021-07-09T03:20:28,698 CL_DEVICE_NOT_AVAILABLE: 'CL_DEVICE_NOT_AVAILABLE', 2021-07-09T03:20:28,698 CL_COMPILER_NOT_AVAILABLE: 'CL_COMPILER_NOT_AVAILABLE', 2021-07-09T03:20:28,698 ^ 2021-07-09T03:20:28,698 ------------------------------------------------------------ 2021-07-09T03:20:28,699 opencl/errors.pyx:42:0: undeclared name not builtin: CL_COMPILER_NOT_AVAILABLE 2021-07-09T03:20:28,699 Error compiling Cython file: 2021-07-09T03:20:28,699 ------------------------------------------------------------ 2021-07-09T03:20:28,699 ... 2021-07-09T03:20:28,699 CL_INVALID_KERNEL_DEFINITION: 'CL_INVALID_KERNEL_DEFINITION', 2021-07-09T03:20:28,699 CL_MISALIGNED_SUB_BUFFER_OFFSET: 'CL_MISALIGNED_SUB_BUFFER_OFFSET', 2021-07-09T03:20:28,699 CL_MEM_OBJECT_ALLOCATION_FAILURE: 'CL_MEM_OBJECT_ALLOCATION_FAILURE', 2021-07-09T03:20:28,699 CL_DEVICE_NOT_AVAILABLE: 'CL_DEVICE_NOT_AVAILABLE', 2021-07-09T03:20:28,700 CL_COMPILER_NOT_AVAILABLE: 'CL_COMPILER_NOT_AVAILABLE', 2021-07-09T03:20:28,700 CL_BUILD_PROGRAM_FAILURE: 'CL_BUILD_PROGRAM_FAILURE', 2021-07-09T03:20:28,700 ^ 2021-07-09T03:20:28,700 ------------------------------------------------------------ 2021-07-09T03:20:28,700 opencl/errors.pyx:43:0: undeclared name not builtin: CL_BUILD_PROGRAM_FAILURE 2021-07-09T03:20:28,700 Error compiling Cython file: 2021-07-09T03:20:28,700 ------------------------------------------------------------ 2021-07-09T03:20:28,701 ... 2021-07-09T03:20:28,701 CL_MEM_OBJECT_ALLOCATION_FAILURE: 'CL_MEM_OBJECT_ALLOCATION_FAILURE', 2021-07-09T03:20:28,701 CL_DEVICE_NOT_AVAILABLE: 'CL_DEVICE_NOT_AVAILABLE', 2021-07-09T03:20:28,701 CL_COMPILER_NOT_AVAILABLE: 'CL_COMPILER_NOT_AVAILABLE', 2021-07-09T03:20:28,701 CL_BUILD_PROGRAM_FAILURE: 'CL_BUILD_PROGRAM_FAILURE', 2021-07-09T03:20:28,701 CL_INVALID_OPERATION: 'CL_INVALID_OPERATION', 2021-07-09T03:20:28,701 CL_OUT_OF_HOST_MEMORY: 'CL_OUT_OF_HOST_MEMORY', 2021-07-09T03:20:28,701 ^ 2021-07-09T03:20:28,701 ------------------------------------------------------------ 2021-07-09T03:20:28,702 opencl/errors.pyx:45:0: undeclared name not builtin: CL_OUT_OF_HOST_MEMORY 2021-07-09T03:20:28,702 Error compiling Cython file: 2021-07-09T03:20:28,702 ------------------------------------------------------------ 2021-07-09T03:20:28,702 ... 2021-07-09T03:20:28,702 CL_DEVICE_NOT_AVAILABLE: 'CL_DEVICE_NOT_AVAILABLE', 2021-07-09T03:20:28,702 CL_COMPILER_NOT_AVAILABLE: 'CL_COMPILER_NOT_AVAILABLE', 2021-07-09T03:20:28,702 CL_BUILD_PROGRAM_FAILURE: 'CL_BUILD_PROGRAM_FAILURE', 2021-07-09T03:20:28,702 CL_INVALID_OPERATION: 'CL_INVALID_OPERATION', 2021-07-09T03:20:28,703 CL_OUT_OF_HOST_MEMORY: 'CL_OUT_OF_HOST_MEMORY', 2021-07-09T03:20:28,703 CL_OUT_OF_RESOURCES: 'CL_OUT_OF_RESOURCES', 2021-07-09T03:20:28,703 ^ 2021-07-09T03:20:28,703 ------------------------------------------------------------ 2021-07-09T03:20:28,703 opencl/errors.pyx:46:0: undeclared name not builtin: CL_OUT_OF_RESOURCES 2021-07-09T03:20:28,703 Error compiling Cython file: 2021-07-09T03:20:28,703 ------------------------------------------------------------ 2021-07-09T03:20:28,704 ... 2021-07-09T03:20:28,704 CL_COMPILER_NOT_AVAILABLE: 'CL_COMPILER_NOT_AVAILABLE', 2021-07-09T03:20:28,704 CL_BUILD_PROGRAM_FAILURE: 'CL_BUILD_PROGRAM_FAILURE', 2021-07-09T03:20:28,704 CL_INVALID_OPERATION: 'CL_INVALID_OPERATION', 2021-07-09T03:20:28,704 CL_OUT_OF_HOST_MEMORY: 'CL_OUT_OF_HOST_MEMORY', 2021-07-09T03:20:28,704 CL_OUT_OF_RESOURCES: 'CL_OUT_OF_RESOURCES', 2021-07-09T03:20:28,704 CL_DEVICE_NOT_FOUND: 'CL_DEVICE_NOT_FOUND', 2021-07-09T03:20:28,704 ^ 2021-07-09T03:20:28,704 ------------------------------------------------------------ 2021-07-09T03:20:28,705 opencl/errors.pyx:47:0: undeclared name not builtin: CL_DEVICE_NOT_FOUND 2021-07-09T03:20:28,705 Error compiling Cython file: 2021-07-09T03:20:28,705 ------------------------------------------------------------ 2021-07-09T03:20:28,705 ... 2021-07-09T03:20:28,705 CL_BUILD_PROGRAM_FAILURE: 'CL_BUILD_PROGRAM_FAILURE', 2021-07-09T03:20:28,705 CL_INVALID_OPERATION: 'CL_INVALID_OPERATION', 2021-07-09T03:20:28,705 CL_OUT_OF_HOST_MEMORY: 'CL_OUT_OF_HOST_MEMORY', 2021-07-09T03:20:28,706 CL_OUT_OF_RESOURCES: 'CL_OUT_OF_RESOURCES', 2021-07-09T03:20:28,706 CL_DEVICE_NOT_FOUND: 'CL_DEVICE_NOT_FOUND', 2021-07-09T03:20:28,706 CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST: 'CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST', 2021-07-09T03:20:28,706 ^ 2021-07-09T03:20:28,706 ------------------------------------------------------------ 2021-07-09T03:20:28,706 opencl/errors.pyx:48:0: undeclared name not builtin: CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST 2021-07-09T03:20:28,706 cythoning opencl/queue.pyx to opencl/queue.c 2021-07-09T03:20:28,706 /usr/local/lib/python3.9/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-6gt1nq2h/opencl-for-python_c1a6ab231b0f46fe81e2d5c22234fd72/opencl/queue.pyx 2021-07-09T03:20:28,707 tree = Parsing.p_module(s, pxd, full_module_name) 2021-07-09T03:20:29,162 Error compiling Cython file: 2021-07-09T03:20:29,162 ------------------------------------------------------------ 2021-07-09T03:20:29,162 ... 2021-07-09T03:20:29,162 from opencl.errors import OpenCLException 2021-07-09T03:20:29,162 import weakref 2021-07-09T03:20:29,163 from _cl cimport * 2021-07-09T03:20:29,163 ^ 2021-07-09T03:20:29,163 ------------------------------------------------------------ 2021-07-09T03:20:29,163 opencl/queue.pyx:5:0: '_cl.pxd' not found 2021-07-09T03:20:30,951 Error compiling Cython file: 2021-07-09T03:20:30,951 ------------------------------------------------------------ 2021-07-09T03:20:30,952 ... 2021-07-09T03:20:30,952 from libc.stdlib cimport malloc, free 2021-07-09T03:20:30,952 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:30,952 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:30,952 from opencl.copencl cimport CyDevice_GetID, CyDevice_Create 2021-07-09T03:20:30,952 ^ 2021-07-09T03:20:30,952 ------------------------------------------------------------ 2021-07-09T03:20:30,953 opencl/queue.pyx:11:0: 'opencl/copencl.pxd' not found 2021-07-09T03:20:30,953 Error compiling Cython file: 2021-07-09T03:20:30,953 ------------------------------------------------------------ 2021-07-09T03:20:30,953 ... 2021-07-09T03:20:30,954 from libc.stdlib cimport malloc, free 2021-07-09T03:20:30,954 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:30,954 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:30,954 from opencl.copencl cimport CyDevice_GetID, CyDevice_Create 2021-07-09T03:20:30,955 ^ 2021-07-09T03:20:30,955 ------------------------------------------------------------ 2021-07-09T03:20:30,955 opencl/queue.pyx:11:0: 'opencl/copencl/CyDevice_GetID.pxd' not found 2021-07-09T03:20:30,955 Error compiling Cython file: 2021-07-09T03:20:30,956 ------------------------------------------------------------ 2021-07-09T03:20:30,956 ... 2021-07-09T03:20:30,956 from libc.stdlib cimport malloc, free 2021-07-09T03:20:30,956 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:30,956 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:30,957 from opencl.copencl cimport CyDevice_GetID, CyDevice_Create 2021-07-09T03:20:30,957 ^ 2021-07-09T03:20:30,957 ------------------------------------------------------------ 2021-07-09T03:20:30,957 opencl/queue.pyx:11:0: 'opencl/copencl/CyDevice_Create.pxd' not found 2021-07-09T03:20:30,959 Error compiling Cython file: 2021-07-09T03:20:30,959 ------------------------------------------------------------ 2021-07-09T03:20:30,959 ... 2021-07-09T03:20:30,959 from libc.stdlib cimport malloc, free 2021-07-09T03:20:30,959 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:30,960 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:30,960 from opencl.copencl cimport CyDevice_GetID, CyDevice_Create 2021-07-09T03:20:30,960 from opencl.event cimport PyEvent_New, cl_eventFrom_PyEvent, PyEvent_Check 2021-07-09T03:20:30,960 ^ 2021-07-09T03:20:30,960 ------------------------------------------------------------ 2021-07-09T03:20:30,961 opencl/queue.pyx:12:0: 'opencl/event.pxd' not found 2021-07-09T03:20:30,962 Error compiling Cython file: 2021-07-09T03:20:30,962 ------------------------------------------------------------ 2021-07-09T03:20:30,962 ... 2021-07-09T03:20:30,962 from libc.stdlib cimport malloc, free 2021-07-09T03:20:30,962 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:30,963 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:30,963 from opencl.copencl cimport CyDevice_GetID, CyDevice_Create 2021-07-09T03:20:30,963 from opencl.event cimport PyEvent_New, cl_eventFrom_PyEvent, PyEvent_Check 2021-07-09T03:20:30,963 ^ 2021-07-09T03:20:30,963 ------------------------------------------------------------ 2021-07-09T03:20:30,964 opencl/queue.pyx:12:0: 'opencl/event/PyEvent_New.pxd' not found 2021-07-09T03:20:30,965 Error compiling Cython file: 2021-07-09T03:20:30,965 ------------------------------------------------------------ 2021-07-09T03:20:30,965 ... 2021-07-09T03:20:30,965 from libc.stdlib cimport malloc, free 2021-07-09T03:20:30,965 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:30,965 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:30,966 from opencl.copencl cimport CyDevice_GetID, CyDevice_Create 2021-07-09T03:20:30,966 from opencl.event cimport PyEvent_New, cl_eventFrom_PyEvent, PyEvent_Check 2021-07-09T03:20:30,966 ^ 2021-07-09T03:20:30,966 ------------------------------------------------------------ 2021-07-09T03:20:30,966 opencl/queue.pyx:12:0: 'opencl/event/cl_eventFrom_PyEvent.pxd' not found 2021-07-09T03:20:30,967 Error compiling Cython file: 2021-07-09T03:20:30,967 ------------------------------------------------------------ 2021-07-09T03:20:30,968 ... 2021-07-09T03:20:30,968 from libc.stdlib cimport malloc, free 2021-07-09T03:20:30,968 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:30,968 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:30,968 from opencl.copencl cimport CyDevice_GetID, CyDevice_Create 2021-07-09T03:20:30,968 from opencl.event cimport PyEvent_New, cl_eventFrom_PyEvent, PyEvent_Check 2021-07-09T03:20:30,968 ^ 2021-07-09T03:20:30,969 ------------------------------------------------------------ 2021-07-09T03:20:30,969 opencl/queue.pyx:12:0: 'opencl/event/PyEvent_Check.pxd' not found 2021-07-09T03:20:30,969 Error compiling Cython file: 2021-07-09T03:20:30,969 ------------------------------------------------------------ 2021-07-09T03:20:30,969 ... 2021-07-09T03:20:30,970 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:30,970 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:30,970 from opencl.copencl cimport CyDevice_GetID, CyDevice_Create 2021-07-09T03:20:30,970 from opencl.event cimport PyEvent_New, cl_eventFrom_PyEvent, PyEvent_Check 2021-07-09T03:20:30,970 from opencl.context cimport CyContext_GetID, CyContext_Create, CyContext_Check 2021-07-09T03:20:30,970 ^ 2021-07-09T03:20:30,971 ------------------------------------------------------------ 2021-07-09T03:20:30,971 opencl/queue.pyx:13:0: 'opencl/context.pxd' not found 2021-07-09T03:20:30,971 Error compiling Cython file: 2021-07-09T03:20:30,971 ------------------------------------------------------------ 2021-07-09T03:20:30,971 ... 2021-07-09T03:20:30,972 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:30,972 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:30,972 from opencl.copencl cimport CyDevice_GetID, CyDevice_Create 2021-07-09T03:20:30,972 from opencl.event cimport PyEvent_New, cl_eventFrom_PyEvent, PyEvent_Check 2021-07-09T03:20:30,972 from opencl.context cimport CyContext_GetID, CyContext_Create, CyContext_Check 2021-07-09T03:20:30,972 ^ 2021-07-09T03:20:30,973 ------------------------------------------------------------ 2021-07-09T03:20:30,973 opencl/queue.pyx:13:0: 'opencl/context/CyContext_GetID.pxd' not found 2021-07-09T03:20:30,973 Error compiling Cython file: 2021-07-09T03:20:30,973 ------------------------------------------------------------ 2021-07-09T03:20:30,973 ... 2021-07-09T03:20:30,973 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:30,974 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:30,974 from opencl.copencl cimport CyDevice_GetID, CyDevice_Create 2021-07-09T03:20:30,974 from opencl.event cimport PyEvent_New, cl_eventFrom_PyEvent, PyEvent_Check 2021-07-09T03:20:30,974 from opencl.context cimport CyContext_GetID, CyContext_Create, CyContext_Check 2021-07-09T03:20:30,975 ^ 2021-07-09T03:20:30,975 ------------------------------------------------------------ 2021-07-09T03:20:30,975 opencl/queue.pyx:13:0: 'opencl/context/CyContext_Create.pxd' not found 2021-07-09T03:20:30,976 Error compiling Cython file: 2021-07-09T03:20:30,976 ------------------------------------------------------------ 2021-07-09T03:20:30,976 ... 2021-07-09T03:20:30,976 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:30,976 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:30,977 from opencl.copencl cimport CyDevice_GetID, CyDevice_Create 2021-07-09T03:20:30,977 from opencl.event cimport PyEvent_New, cl_eventFrom_PyEvent, PyEvent_Check 2021-07-09T03:20:30,977 from opencl.context cimport CyContext_GetID, CyContext_Create, CyContext_Check 2021-07-09T03:20:30,977 ^ 2021-07-09T03:20:30,977 ------------------------------------------------------------ 2021-07-09T03:20:30,978 opencl/queue.pyx:13:0: 'opencl/context/CyContext_Check.pxd' not found 2021-07-09T03:20:30,978 Error compiling Cython file: 2021-07-09T03:20:30,978 ------------------------------------------------------------ 2021-07-09T03:20:30,978 ... 2021-07-09T03:20:30,979 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:30,979 from opencl.copencl cimport CyDevice_GetID, CyDevice_Create 2021-07-09T03:20:30,979 from opencl.event cimport PyEvent_New, cl_eventFrom_PyEvent, PyEvent_Check 2021-07-09T03:20:30,979 from opencl.context cimport CyContext_GetID, CyContext_Create, CyContext_Check 2021-07-09T03:20:30,980 from opencl.kernel cimport KernelFromPyKernel 2021-07-09T03:20:30,980 ^ 2021-07-09T03:20:30,980 ------------------------------------------------------------ 2021-07-09T03:20:30,980 opencl/queue.pyx:14:0: 'opencl/kernel.pxd' not found 2021-07-09T03:20:30,981 Error compiling Cython file: 2021-07-09T03:20:30,981 ------------------------------------------------------------ 2021-07-09T03:20:30,981 ... 2021-07-09T03:20:30,981 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:30,982 from opencl.copencl cimport CyDevice_GetID, CyDevice_Create 2021-07-09T03:20:30,982 from opencl.event cimport PyEvent_New, cl_eventFrom_PyEvent, PyEvent_Check 2021-07-09T03:20:30,982 from opencl.context cimport CyContext_GetID, CyContext_Create, CyContext_Check 2021-07-09T03:20:30,982 from opencl.kernel cimport KernelFromPyKernel 2021-07-09T03:20:30,982 ^ 2021-07-09T03:20:30,982 ------------------------------------------------------------ 2021-07-09T03:20:30,983 opencl/queue.pyx:14:0: 'opencl/kernel/KernelFromPyKernel.pxd' not found 2021-07-09T03:20:30,983 Error compiling Cython file: 2021-07-09T03:20:30,983 ------------------------------------------------------------ 2021-07-09T03:20:30,984 ... 2021-07-09T03:20:30,984 from opencl.copencl cimport CyDevice_GetID, CyDevice_Create 2021-07-09T03:20:30,984 from opencl.event cimport PyEvent_New, cl_eventFrom_PyEvent, PyEvent_Check 2021-07-09T03:20:30,984 from opencl.context cimport CyContext_GetID, CyContext_Create, CyContext_Check 2021-07-09T03:20:30,984 from opencl.kernel cimport KernelFromPyKernel 2021-07-09T03:20:30,985 from opencl.cl_mem cimport CyMemoryObject_GetID, CyMemoryObject_Check, CyView_GetPyBuffer, CyView_GetBuffer, CyImage_GetBuffer 2021-07-09T03:20:30,985 ^ 2021-07-09T03:20:30,985 ------------------------------------------------------------ 2021-07-09T03:20:30,985 opencl/queue.pyx:15:0: 'opencl/cl_mem.pxd' not found 2021-07-09T03:20:30,986 Error compiling Cython file: 2021-07-09T03:20:30,986 ------------------------------------------------------------ 2021-07-09T03:20:30,986 ... 2021-07-09T03:20:30,987 from opencl.copencl cimport CyDevice_GetID, CyDevice_Create 2021-07-09T03:20:30,987 from opencl.event cimport PyEvent_New, cl_eventFrom_PyEvent, PyEvent_Check 2021-07-09T03:20:30,987 from opencl.context cimport CyContext_GetID, CyContext_Create, CyContext_Check 2021-07-09T03:20:30,987 from opencl.kernel cimport KernelFromPyKernel 2021-07-09T03:20:30,987 from opencl.cl_mem cimport CyMemoryObject_GetID, CyMemoryObject_Check, CyView_GetPyBuffer, CyView_GetBuffer, CyImage_GetBuffer 2021-07-09T03:20:30,988 ^ 2021-07-09T03:20:30,988 ------------------------------------------------------------ 2021-07-09T03:20:30,988 opencl/queue.pyx:15:0: 'opencl/cl_mem/CyMemoryObject_GetID.pxd' not found 2021-07-09T03:20:30,989 Error compiling Cython file: 2021-07-09T03:20:30,989 ------------------------------------------------------------ 2021-07-09T03:20:30,989 ... 2021-07-09T03:20:30,990 from opencl.copencl cimport CyDevice_GetID, CyDevice_Create 2021-07-09T03:20:30,990 from opencl.event cimport PyEvent_New, cl_eventFrom_PyEvent, PyEvent_Check 2021-07-09T03:20:30,990 from opencl.context cimport CyContext_GetID, CyContext_Create, CyContext_Check 2021-07-09T03:20:30,990 from opencl.kernel cimport KernelFromPyKernel 2021-07-09T03:20:30,990 from opencl.cl_mem cimport CyMemoryObject_GetID, CyMemoryObject_Check, CyView_GetPyBuffer, CyView_GetBuffer, CyImage_GetBuffer 2021-07-09T03:20:30,990 ^ 2021-07-09T03:20:30,990 ------------------------------------------------------------ 2021-07-09T03:20:30,991 opencl/queue.pyx:15:0: 'opencl/cl_mem/CyMemoryObject_Check.pxd' not found 2021-07-09T03:20:30,992 Error compiling Cython file: 2021-07-09T03:20:30,992 ------------------------------------------------------------ 2021-07-09T03:20:30,992 ... 2021-07-09T03:20:30,992 from opencl.copencl cimport CyDevice_GetID, CyDevice_Create 2021-07-09T03:20:30,992 from opencl.event cimport PyEvent_New, cl_eventFrom_PyEvent, PyEvent_Check 2021-07-09T03:20:30,993 from opencl.context cimport CyContext_GetID, CyContext_Create, CyContext_Check 2021-07-09T03:20:30,993 from opencl.kernel cimport KernelFromPyKernel 2021-07-09T03:20:30,993 from opencl.cl_mem cimport CyMemoryObject_GetID, CyMemoryObject_Check, CyView_GetPyBuffer, CyView_GetBuffer, CyImage_GetBuffer 2021-07-09T03:20:30,993 ^ 2021-07-09T03:20:30,993 ------------------------------------------------------------ 2021-07-09T03:20:30,993 opencl/queue.pyx:15:0: 'opencl/cl_mem/CyView_GetPyBuffer.pxd' not found 2021-07-09T03:20:30,994 Error compiling Cython file: 2021-07-09T03:20:30,995 ------------------------------------------------------------ 2021-07-09T03:20:30,995 ... 2021-07-09T03:20:30,995 from opencl.copencl cimport CyDevice_GetID, CyDevice_Create 2021-07-09T03:20:30,995 from opencl.event cimport PyEvent_New, cl_eventFrom_PyEvent, PyEvent_Check 2021-07-09T03:20:30,995 from opencl.context cimport CyContext_GetID, CyContext_Create, CyContext_Check 2021-07-09T03:20:30,996 from opencl.kernel cimport KernelFromPyKernel 2021-07-09T03:20:30,996 from opencl.cl_mem cimport CyMemoryObject_GetID, CyMemoryObject_Check, CyView_GetPyBuffer, CyView_GetBuffer, CyImage_GetBuffer 2021-07-09T03:20:30,996 ^ 2021-07-09T03:20:30,996 ------------------------------------------------------------ 2021-07-09T03:20:30,996 opencl/queue.pyx:15:0: 'opencl/cl_mem/CyView_GetBuffer.pxd' not found 2021-07-09T03:20:30,997 Error compiling Cython file: 2021-07-09T03:20:30,997 ------------------------------------------------------------ 2021-07-09T03:20:30,997 ... 2021-07-09T03:20:30,998 from opencl.copencl cimport CyDevice_GetID, CyDevice_Create 2021-07-09T03:20:30,998 from opencl.event cimport PyEvent_New, cl_eventFrom_PyEvent, PyEvent_Check 2021-07-09T03:20:30,998 from opencl.context cimport CyContext_GetID, CyContext_Create, CyContext_Check 2021-07-09T03:20:30,998 from opencl.kernel cimport KernelFromPyKernel 2021-07-09T03:20:30,998 from opencl.cl_mem cimport CyMemoryObject_GetID, CyMemoryObject_Check, CyView_GetPyBuffer, CyView_GetBuffer, CyImage_GetBuffer 2021-07-09T03:20:30,998 ^ 2021-07-09T03:20:30,998 ------------------------------------------------------------ 2021-07-09T03:20:30,999 opencl/queue.pyx:15:0: 'opencl/cl_mem/CyImage_GetBuffer.pxd' not found 2021-07-09T03:20:31,000 Error compiling Cython file: 2021-07-09T03:20:31,000 ------------------------------------------------------------ 2021-07-09T03:20:31,000 ... 2021-07-09T03:20:31,000 :param context: An opencl.Context object 2021-07-09T03:20:31,000 :param device: if None use the first device in the context [default None] 2021-07-09T03:20:31,000 :param out_of_order_exec_mode: enable out_of_order_exec_mode [default False] 2021-07-09T03:20:31,000 :param profiling: enable profiling [default False] 2021-07-09T03:20:31,000 ''' 2021-07-09T03:20:31,000 cdef cl_command_queue queue_id 2021-07-09T03:20:31,001 ^ 2021-07-09T03:20:31,001 ------------------------------------------------------------ 2021-07-09T03:20:31,001 opencl/queue.pyx:140:9: 'cl_command_queue' is not a type identifier 2021-07-09T03:20:31,002 Error compiling Cython file: 2021-07-09T03:20:31,002 ------------------------------------------------------------ 2021-07-09T03:20:31,002 ... 2021-07-09T03:20:31,002 raise OpenCLException(err_code, nd_range_kernel_errors) 2021-07-09T03:20:31,003 return PyEvent_New(event_id) 2021-07-09T03:20:31,003 def enqueue_nd_range_kernel(self, kernel, cl_uint work_dim, 2021-07-09T03:20:31,003 ^ 2021-07-09T03:20:31,003 ------------------------------------------------------------ 2021-07-09T03:20:31,003 opencl/queue.pyx:387:46: 'cl_uint' is not a type identifier 2021-07-09T03:20:31,004 Error compiling Cython file: 2021-07-09T03:20:31,004 ------------------------------------------------------------ 2021-07-09T03:20:31,004 ... 2021-07-09T03:20:31,004 if err_code != CL_SUCCESS: 2021-07-09T03:20:31,004 raise OpenCLException(err_code, _enqueue_copy_buffer_errors) 2021-07-09T03:20:31,004 return PyEvent_New(event_id) 2021-07-09T03:20:31,005 def enqueue_read_buffer(self, source, dest, size_t src_offset=0, size_t size=0, wait_on=(), cl_bool blocking_read=0): 2021-07-09T03:20:31,005 ^ 2021-07-09T03:20:31,005 ------------------------------------------------------------ 2021-07-09T03:20:31,005 opencl/queue.pyx:502:96: 'cl_bool' is not a type identifier 2021-07-09T03:20:31,005 Error compiling Cython file: 2021-07-09T03:20:31,005 ------------------------------------------------------------ 2021-07-09T03:20:31,006 ... 2021-07-09T03:20:31,006 if err_code != CL_SUCCESS: 2021-07-09T03:20:31,006 raise OpenCLException(err_code, _enqueue_copy_buffer_errors) 2021-07-09T03:20:31,006 return PyEvent_New(event_id) 2021-07-09T03:20:31,006 def enqueue_write_buffer(self, source, dest, size_t src_offset=0, size_t size=0, wait_on=(), cl_bool blocking_read=0): 2021-07-09T03:20:31,006 ^ 2021-07-09T03:20:31,006 ------------------------------------------------------------ 2021-07-09T03:20:31,007 opencl/queue.pyx:539:97: 'cl_bool' is not a type identifier 2021-07-09T03:20:31,007 Error compiling Cython file: 2021-07-09T03:20:31,007 ------------------------------------------------------------ 2021-07-09T03:20:31,007 ... 2021-07-09T03:20:31,007 cdef class MemoryViewMap: 2021-07-09T03:20:31,007 ''' 2021-07-09T03:20:31,008 context manager for mapping and unmapping buffers. 2021-07-09T03:20:31,008 ''' 2021-07-09T03:20:31,008 cdef cl_command_queue command_queue 2021-07-09T03:20:31,008 ^ 2021-07-09T03:20:31,008 ------------------------------------------------------------ 2021-07-09T03:20:31,008 opencl/queue.pyx:649:9: 'cl_command_queue' is not a type identifier 2021-07-09T03:20:31,009 Error compiling Cython file: 2021-07-09T03:20:31,009 ------------------------------------------------------------ 2021-07-09T03:20:31,009 ... 2021-07-09T03:20:31,009 ''' 2021-07-09T03:20:31,009 cdef cl_command_queue command_queue 2021-07-09T03:20:31,009 cdef public object dview 2021-07-09T03:20:31,009 cdef cl_bool blocking_map 2021-07-09T03:20:31,010 ^ 2021-07-09T03:20:31,010 ------------------------------------------------------------ 2021-07-09T03:20:31,010 opencl/queue.pyx:652:9: 'cl_bool' is not a type identifier 2021-07-09T03:20:31,010 Error compiling Cython file: 2021-07-09T03:20:31,010 ------------------------------------------------------------ 2021-07-09T03:20:31,010 ... 2021-07-09T03:20:31,011 cdef cl_command_queue command_queue 2021-07-09T03:20:31,011 cdef public object dview 2021-07-09T03:20:31,011 cdef cl_bool blocking_map 2021-07-09T03:20:31,011 cdef cl_map_flags map_flags 2021-07-09T03:20:31,011 ^ 2021-07-09T03:20:31,011 ------------------------------------------------------------ 2021-07-09T03:20:31,011 opencl/queue.pyx:653:9: 'cl_map_flags' is not a type identifier 2021-07-09T03:20:31,012 Error compiling Cython file: 2021-07-09T03:20:31,012 ------------------------------------------------------------ 2021-07-09T03:20:31,012 ... 2021-07-09T03:20:31,012 cdef cl_map_flags map_flags 2021-07-09T03:20:31,012 cdef size_t offset 2021-07-09T03:20:31,012 cdef size_t cb 2021-07-09T03:20:31,012 cdef void * bytes 2021-07-09T03:20:31,013 def __init__(self, queue, dview, cl_bool blocking_map, cl_map_flags map_flags): 2021-07-09T03:20:31,013 ^ 2021-07-09T03:20:31,013 ------------------------------------------------------------ 2021-07-09T03:20:31,013 opencl/queue.pyx:658:37: 'cl_bool' is not a type identifier 2021-07-09T03:20:31,013 Error compiling Cython file: 2021-07-09T03:20:31,013 ------------------------------------------------------------ 2021-07-09T03:20:31,013 ... 2021-07-09T03:20:31,014 cdef cl_map_flags map_flags 2021-07-09T03:20:31,014 cdef size_t offset 2021-07-09T03:20:31,014 cdef size_t cb 2021-07-09T03:20:31,014 cdef void * bytes 2021-07-09T03:20:31,014 def __init__(self, queue, dview, cl_bool blocking_map, cl_map_flags map_flags): 2021-07-09T03:20:31,014 ^ 2021-07-09T03:20:31,014 ------------------------------------------------------------ 2021-07-09T03:20:31,015 opencl/queue.pyx:658:59: 'cl_map_flags' is not a type identifier 2021-07-09T03:20:31,015 Error compiling Cython file: 2021-07-09T03:20:31,015 ------------------------------------------------------------ 2021-07-09T03:20:31,015 ... 2021-07-09T03:20:31,015 def __releasebuffer__(self, Py_buffer * view): 2021-07-09T03:20:31,015 pass 2021-07-09T03:20:31,016 cdef class ImageMap: 2021-07-09T03:20:31,016 cdef cl_command_queue command_queue 2021-07-09T03:20:31,016 ^ 2021-07-09T03:20:31,016 ------------------------------------------------------------ 2021-07-09T03:20:31,016 opencl/queue.pyx:730:9: 'cl_command_queue' is not a type identifier 2021-07-09T03:20:31,017 Error compiling Cython file: 2021-07-09T03:20:31,017 ------------------------------------------------------------ 2021-07-09T03:20:31,017 ... 2021-07-09T03:20:31,017 cdef class ImageMap: 2021-07-09T03:20:31,017 cdef cl_command_queue command_queue 2021-07-09T03:20:31,017 cdef public object dview 2021-07-09T03:20:31,018 cdef cl_bool blocking_map 2021-07-09T03:20:31,018 ^ 2021-07-09T03:20:31,018 ------------------------------------------------------------ 2021-07-09T03:20:31,018 opencl/queue.pyx:733:9: 'cl_bool' is not a type identifier 2021-07-09T03:20:31,018 Error compiling Cython file: 2021-07-09T03:20:31,018 ------------------------------------------------------------ 2021-07-09T03:20:31,018 ... 2021-07-09T03:20:31,019 cdef cl_command_queue command_queue 2021-07-09T03:20:31,019 cdef public object dview 2021-07-09T03:20:31,019 cdef cl_bool blocking_map 2021-07-09T03:20:31,019 cdef cl_map_flags map_flags 2021-07-09T03:20:31,019 ^ 2021-07-09T03:20:31,019 ------------------------------------------------------------ 2021-07-09T03:20:31,020 opencl/queue.pyx:734:9: 'cl_map_flags' is not a type identifier 2021-07-09T03:20:31,020 Error compiling Cython file: 2021-07-09T03:20:31,020 ------------------------------------------------------------ 2021-07-09T03:20:31,020 ... 2021-07-09T03:20:31,020 cdef size_t offset 2021-07-09T03:20:31,020 cdef size_t image_row_pitch 2021-07-09T03:20:31,020 cdef size_t image_slice_pitch 2021-07-09T03:20:31,021 cdef void * bytes 2021-07-09T03:20:31,021 def __init__(self, queue, dview, cl_bool blocking_map, cl_map_flags map_flags): 2021-07-09T03:20:31,021 ^ 2021-07-09T03:20:31,021 ------------------------------------------------------------ 2021-07-09T03:20:31,021 opencl/queue.pyx:740:37: 'cl_bool' is not a type identifier 2021-07-09T03:20:31,022 Error compiling Cython file: 2021-07-09T03:20:31,022 ------------------------------------------------------------ 2021-07-09T03:20:31,022 ... 2021-07-09T03:20:31,022 cdef size_t offset 2021-07-09T03:20:31,022 cdef size_t image_row_pitch 2021-07-09T03:20:31,022 cdef size_t image_slice_pitch 2021-07-09T03:20:31,022 cdef void * bytes 2021-07-09T03:20:31,023 def __init__(self, queue, dview, cl_bool blocking_map, cl_map_flags map_flags): 2021-07-09T03:20:31,023 ^ 2021-07-09T03:20:31,023 ------------------------------------------------------------ 2021-07-09T03:20:31,023 opencl/queue.pyx:740:59: 'cl_map_flags' is not a type identifier 2021-07-09T03:20:31,023 Error compiling Cython file: 2021-07-09T03:20:31,023 ------------------------------------------------------------ 2021-07-09T03:20:31,024 ... 2021-07-09T03:20:31,024 view.buf = self.bytes 2021-07-09T03:20:31,024 def __releasebuffer__(self, Py_buffer * view): 2021-07-09T03:20:31,024 pass 2021-07-09T03:20:31,024 cdef api cl_uint _make_wait_list(wait_on, cl_event ** event_wait_list_ptr): 2021-07-09T03:20:31,024 ^ 2021-07-09T03:20:31,025 ------------------------------------------------------------ 2021-07-09T03:20:31,025 opencl/queue.pyx:826:9: 'cl_uint' is not a type identifier 2021-07-09T03:20:31,025 Error compiling Cython file: 2021-07-09T03:20:31,025 ------------------------------------------------------------ 2021-07-09T03:20:31,025 ... 2021-07-09T03:20:31,025 view.buf = self.bytes 2021-07-09T03:20:31,026 def __releasebuffer__(self, Py_buffer * view): 2021-07-09T03:20:31,026 pass 2021-07-09T03:20:31,026 cdef api cl_uint _make_wait_list(wait_on, cl_event ** event_wait_list_ptr): 2021-07-09T03:20:31,026 ^ 2021-07-09T03:20:31,026 ------------------------------------------------------------ 2021-07-09T03:20:31,027 opencl/queue.pyx:826:42: 'cl_event' is not a type identifier 2021-07-09T03:20:31,027 Error compiling Cython file: 2021-07-09T03:20:31,027 ------------------------------------------------------------ 2021-07-09T03:20:31,027 ... 2021-07-09T03:20:31,027 cdef api int CyQueue_Check(object queue): 2021-07-09T03:20:31,028 return isinstance(queue, Queue) 2021-07-09T03:20:31,028 cdef api cl_command_queue CyQueue_GetID(object queue): 2021-07-09T03:20:31,028 ^ 2021-07-09T03:20:31,028 ------------------------------------------------------------ 2021-07-09T03:20:31,028 opencl/queue.pyx:850:9: 'cl_command_queue' is not a type identifier 2021-07-09T03:20:31,028 Error compiling Cython file: 2021-07-09T03:20:31,029 ------------------------------------------------------------ 2021-07-09T03:20:31,029 ... 2021-07-09T03:20:31,029 return isinstance(queue, Queue) 2021-07-09T03:20:31,029 cdef api cl_command_queue CyQueue_GetID(object queue): 2021-07-09T03:20:31,029 return (< Queue > queue).queue_id 2021-07-09T03:20:31,029 cdef api object CyQueue_Create(cl_command_queue queue_id): 2021-07-09T03:20:31,030 ^ 2021-07-09T03:20:31,030 ------------------------------------------------------------ 2021-07-09T03:20:31,030 opencl/queue.pyx:853:31: 'cl_command_queue' is not a type identifier 2021-07-09T03:20:31,030 Error compiling Cython file: 2021-07-09T03:20:31,030 ------------------------------------------------------------ 2021-07-09T03:20:31,030 ... 2021-07-09T03:20:31,031 if device is None: 2021-07-09T03:20:31,031 if context.num_devices != 1: 2021-07-09T03:20:31,031 raise TypeError("must specify a device. context does does not contain a unique device (has %i)" % (context.num_devices)) 2021-07-09T03:20:31,031 device = context.devices[0] 2021-07-09T03:20:31,031 cdef cl_command_queue_properties properties = 0 2021-07-09T03:20:31,031 ^ 2021-07-09T03:20:31,031 ------------------------------------------------------------ 2021-07-09T03:20:31,032 opencl/queue.pyx:160:13: 'cl_command_queue_properties' is not a type identifier 2021-07-09T03:20:31,032 Error compiling Cython file: 2021-07-09T03:20:31,032 ------------------------------------------------------------ 2021-07-09T03:20:31,032 ... 2021-07-09T03:20:31,032 cdef cl_command_queue_properties properties = 0 2021-07-09T03:20:31,032 properties |= CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE if out_of_order_exec_mode else 0 2021-07-09T03:20:31,033 properties |= CL_QUEUE_PROFILING_ENABLE if profiling else 0 2021-07-09T03:20:31,033 cdef cl_int err_code = CL_SUCCESS 2021-07-09T03:20:31,033 ^ 2021-07-09T03:20:31,033 ------------------------------------------------------------ 2021-07-09T03:20:31,033 opencl/queue.pyx:165:13: 'cl_int' is not a type identifier 2021-07-09T03:20:31,034 Error compiling Cython file: 2021-07-09T03:20:31,034 ------------------------------------------------------------ 2021-07-09T03:20:31,034 ... 2021-07-09T03:20:31,034 properties |= CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE if out_of_order_exec_mode else 0 2021-07-09T03:20:31,034 properties |= CL_QUEUE_PROFILING_ENABLE if profiling else 0 2021-07-09T03:20:31,034 cdef cl_int err_code = CL_SUCCESS 2021-07-09T03:20:31,035 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:31,035 ^ 2021-07-09T03:20:31,035 ------------------------------------------------------------ 2021-07-09T03:20:31,035 opencl/queue.pyx:167:13: 'cl_context' is not a type identifier 2021-07-09T03:20:31,035 Error compiling Cython file: 2021-07-09T03:20:31,036 ------------------------------------------------------------ 2021-07-09T03:20:31,036 ... 2021-07-09T03:20:31,036 properties |= CL_QUEUE_PROFILING_ENABLE if profiling else 0 2021-07-09T03:20:31,036 cdef cl_int err_code = CL_SUCCESS 2021-07-09T03:20:31,036 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:31,036 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:31,037 ^ 2021-07-09T03:20:31,037 ------------------------------------------------------------ 2021-07-09T03:20:31,037 opencl/queue.pyx:168:13: 'cl_device_id' is not a type identifier 2021-07-09T03:20:31,037 Error compiling Cython file: 2021-07-09T03:20:31,037 ------------------------------------------------------------ 2021-07-09T03:20:31,037 ... 2021-07-09T03:20:31,037 property device: 2021-07-09T03:20:31,038 ''' 2021-07-09T03:20:31,038 Return the device associated with this queue 2021-07-09T03:20:31,038 ''' 2021-07-09T03:20:31,038 def __get__(self): 2021-07-09T03:20:31,038 cdef cl_int err_code 2021-07-09T03:20:31,038 ^ 2021-07-09T03:20:31,038 ------------------------------------------------------------ 2021-07-09T03:20:31,038 opencl/queue.pyx:179:17: 'cl_int' is not a type identifier 2021-07-09T03:20:31,039 Error compiling Cython file: 2021-07-09T03:20:31,039 ------------------------------------------------------------ 2021-07-09T03:20:31,039 ... 2021-07-09T03:20:31,039 ''' 2021-07-09T03:20:31,039 Return the device associated with this queue 2021-07-09T03:20:31,039 ''' 2021-07-09T03:20:31,039 def __get__(self): 2021-07-09T03:20:31,039 cdef cl_int err_code 2021-07-09T03:20:31,040 cdef cl_device_id device_id 2021-07-09T03:20:31,040 ^ 2021-07-09T03:20:31,040 ------------------------------------------------------------ 2021-07-09T03:20:31,040 opencl/queue.pyx:180:17: 'cl_device_id' is not a type identifier 2021-07-09T03:20:31,040 Error compiling Cython file: 2021-07-09T03:20:31,040 ------------------------------------------------------------ 2021-07-09T03:20:31,040 ... 2021-07-09T03:20:31,041 ''' 2021-07-09T03:20:31,041 Return the context that this queue was created with 2021-07-09T03:20:31,041 ''' 2021-07-09T03:20:31,041 def __get__(self): 2021-07-09T03:20:31,041 cdef cl_int err_code 2021-07-09T03:20:31,041 ^ 2021-07-09T03:20:31,041 ------------------------------------------------------------ 2021-07-09T03:20:31,042 opencl/queue.pyx:195:17: 'cl_int' is not a type identifier 2021-07-09T03:20:31,042 Error compiling Cython file: 2021-07-09T03:20:31,042 ------------------------------------------------------------ 2021-07-09T03:20:31,042 ... 2021-07-09T03:20:31,042 Return the context that this queue was created with 2021-07-09T03:20:31,042 ''' 2021-07-09T03:20:31,043 def __get__(self): 2021-07-09T03:20:31,043 cdef cl_int err_code 2021-07-09T03:20:31,043 cdef cl_context context_id 2021-07-09T03:20:31,043 ^ 2021-07-09T03:20:31,043 ------------------------------------------------------------ 2021-07-09T03:20:31,043 opencl/queue.pyx:196:17: 'cl_context' is not a type identifier 2021-07-09T03:20:31,043 Error compiling Cython file: 2021-07-09T03:20:31,044 ------------------------------------------------------------ 2021-07-09T03:20:31,044 ... 2021-07-09T03:20:31,044 Enqueues a barrier operation. 2021-07-09T03:20:31,044 The queue.barrier command ensures that all queued 2021-07-09T03:20:31,044 commands in command_queue have finished execution before the next batch of commands can 2021-07-09T03:20:31,044 begin execution. The queue.barrier command is a synchronization point 2021-07-09T03:20:31,044 ''' 2021-07-09T03:20:31,044 cdef cl_int err_code 2021-07-09T03:20:31,044 ^ 2021-07-09T03:20:31,045 ------------------------------------------------------------ 2021-07-09T03:20:31,045 opencl/queue.pyx:214:13: 'cl_int' is not a type identifier 2021-07-09T03:20:31,045 Error compiling Cython file: 2021-07-09T03:20:31,045 ------------------------------------------------------------ 2021-07-09T03:20:31,045 ... 2021-07-09T03:20:31,045 The queue.barrier command ensures that all queued 2021-07-09T03:20:31,045 commands in command_queue have finished execution before the next batch of commands can 2021-07-09T03:20:31,046 begin execution. The queue.barrier command is a synchronization point 2021-07-09T03:20:31,046 ''' 2021-07-09T03:20:31,046 cdef cl_int err_code 2021-07-09T03:20:31,046 cdef cl_command_queue queue_id = self.queue_id 2021-07-09T03:20:31,046 ^ 2021-07-09T03:20:31,046 ------------------------------------------------------------ 2021-07-09T03:20:31,046 opencl/queue.pyx:215:13: 'cl_command_queue' is not a type identifier 2021-07-09T03:20:31,047 Error compiling Cython file: 2021-07-09T03:20:31,047 ------------------------------------------------------------ 2021-07-09T03:20:31,047 ... 2021-07-09T03:20:31,047 with command_queue. clFlush only guarantees that all queued commands to command_queue 2021-07-09T03:20:31,047 will eventually be submitted to the appropriate device. There is no guarantee that they will be 2021-07-09T03:20:31,047 complete after clFlush returns. 2021-07-09T03:20:31,047 ''' 2021-07-09T03:20:31,048 cdef cl_int err_code 2021-07-09T03:20:31,048 ^ 2021-07-09T03:20:31,048 ------------------------------------------------------------ 2021-07-09T03:20:31,048 opencl/queue.pyx:233:13: 'cl_int' is not a type identifier 2021-07-09T03:20:31,048 Error compiling Cython file: 2021-07-09T03:20:31,048 ------------------------------------------------------------ 2021-07-09T03:20:31,048 ... 2021-07-09T03:20:31,049 Blocks until all previously queued OpenCL commands in command_queue are issued to the 2021-07-09T03:20:31,049 associated device and have completed. clFinish does not return until all queued commands in 2021-07-09T03:20:31,049 command_queue have been processed and completed. clFinish is also a synchronization point 2021-07-09T03:20:31,049 ''' 2021-07-09T03:20:31,049 cdef cl_int err_code 2021-07-09T03:20:31,049 ^ 2021-07-09T03:20:31,049 ------------------------------------------------------------ 2021-07-09T03:20:31,050 opencl/queue.pyx:249:13: 'cl_int' is not a type identifier 2021-07-09T03:20:31,050 Error compiling Cython file: 2021-07-09T03:20:31,050 ------------------------------------------------------------ 2021-07-09T03:20:31,050 ... 2021-07-09T03:20:31,050 associated device and have completed. clFinish does not return until all queued commands in 2021-07-09T03:20:31,050 command_queue have been processed and completed. clFinish is also a synchronization point 2021-07-09T03:20:31,050 ''' 2021-07-09T03:20:31,051 cdef cl_int err_code 2021-07-09T03:20:31,051 cdef cl_command_queue queue_id = self.queue_id 2021-07-09T03:20:31,051 ^ 2021-07-09T03:20:31,051 ------------------------------------------------------------ 2021-07-09T03:20:31,051 opencl/queue.pyx:250:13: 'cl_command_queue' is not a type identifier 2021-07-09T03:20:31,051 Error compiling Cython file: 2021-07-09T03:20:31,051 ------------------------------------------------------------ 2021-07-09T03:20:31,052 ... 2021-07-09T03:20:31,052 all commands enqueued before it have completed. The marker command returns an event which 2021-07-09T03:20:31,052 can be waited on, i.e. this event can be waited on to insure that all commands, which have been 2021-07-09T03:20:31,052 queued before the marker command, have been completed. 2021-07-09T03:20:31,052 ''' 2021-07-09T03:20:31,052 cdef cl_event event_id = NULL 2021-07-09T03:20:31,052 ^ 2021-07-09T03:20:31,052 ------------------------------------------------------------ 2021-07-09T03:20:31,053 opencl/queue.pyx:267:13: 'cl_event' is not a type identifier 2021-07-09T03:20:31,053 Error compiling Cython file: 2021-07-09T03:20:31,053 ------------------------------------------------------------ 2021-07-09T03:20:31,053 ... 2021-07-09T03:20:31,053 can be waited on, i.e. this event can be waited on to insure that all commands, which have been 2021-07-09T03:20:31,053 queued before the marker command, have been completed. 2021-07-09T03:20:31,053 ''' 2021-07-09T03:20:31,054 cdef cl_event event_id = NULL 2021-07-09T03:20:31,054 cdef cl_int err_code 2021-07-09T03:20:31,054 ^ 2021-07-09T03:20:31,054 ------------------------------------------------------------ 2021-07-09T03:20:31,054 opencl/queue.pyx:268:13: 'cl_int' is not a type identifier 2021-07-09T03:20:31,055 Error compiling Cython file: 2021-07-09T03:20:31,055 ------------------------------------------------------------ 2021-07-09T03:20:31,055 ... 2021-07-09T03:20:31,055 if isinstance(events[0], (list, tuple)): 2021-07-09T03:20:31,055 events = events[0] 2021-07-09T03:20:31,055 else: 2021-07-09T03:20:31,055 events = (events[0],) 2021-07-09T03:20:31,056 cdef cl_event * event_wait_list 2021-07-09T03:20:31,056 ^ 2021-07-09T03:20:31,056 ------------------------------------------------------------ 2021-07-09T03:20:31,056 opencl/queue.pyx:296:13: 'cl_event' is not a type identifier 2021-07-09T03:20:31,056 Error compiling Cython file: 2021-07-09T03:20:31,056 ------------------------------------------------------------ 2021-07-09T03:20:31,056 ... 2021-07-09T03:20:31,057 events = events[0] 2021-07-09T03:20:31,057 else: 2021-07-09T03:20:31,057 events = (events[0],) 2021-07-09T03:20:31,057 cdef cl_event * event_wait_list 2021-07-09T03:20:31,057 cdef cl_uint num_events_in_wait_list = _make_wait_list(events, & event_wait_list) 2021-07-09T03:20:31,057 ^ 2021-07-09T03:20:31,057 ------------------------------------------------------------ 2021-07-09T03:20:31,058 opencl/queue.pyx:297:13: 'cl_uint' is not a type identifier 2021-07-09T03:20:31,058 Error compiling Cython file: 2021-07-09T03:20:31,058 ------------------------------------------------------------ 2021-07-09T03:20:31,058 ... 2021-07-09T03:20:31,058 cdef cl_uint num_events_in_wait_list = _make_wait_list(events, & event_wait_list) 2021-07-09T03:20:31,058 if event_wait_list == < cl_event *> 1: 2021-07-09T03:20:31,059 raise Exception("One of the items in argument 'wait_on' is not a valid event") 2021-07-09T03:20:31,059 cdef cl_uint err_code 2021-07-09T03:20:31,059 ^ 2021-07-09T03:20:31,059 ------------------------------------------------------------ 2021-07-09T03:20:31,059 opencl/queue.pyx:302:13: 'cl_uint' is not a type identifier 2021-07-09T03:20:31,059 Error compiling Cython file: 2021-07-09T03:20:31,060 ------------------------------------------------------------ 2021-07-09T03:20:31,060 ... 2021-07-09T03:20:31,060 user_data.function = function 2021-07-09T03:20:31,060 user_data.args = args 2021-07-09T03:20:31,060 user_data.kwargs = kwargs 2021-07-09T03:20:31,060 cdef cl_mem * mem_list = NULL 2021-07-09T03:20:31,060 ^ 2021-07-09T03:20:31,061 ------------------------------------------------------------ 2021-07-09T03:20:31,061 opencl/queue.pyx:330:13: 'cl_mem' is not a type identifier 2021-07-09T03:20:31,061 Error compiling Cython file: 2021-07-09T03:20:31,061 ------------------------------------------------------------ 2021-07-09T03:20:31,061 ... 2021-07-09T03:20:31,061 cdef int nbuffers = 0 2021-07-09T03:20:31,061 user_data.args_mem_loc = NULL 2021-07-09T03:20:31,062 Py_INCREF(user_data) 2021-07-09T03:20:31,062 cdef cl_int err_code 2021-07-09T03:20:31,062 ^ 2021-07-09T03:20:31,062 ------------------------------------------------------------ 2021-07-09T03:20:31,062 opencl/queue.pyx:337:13: 'cl_int' is not a type identifier 2021-07-09T03:20:31,063 Error compiling Cython file: 2021-07-09T03:20:31,063 ------------------------------------------------------------ 2021-07-09T03:20:31,063 ... 2021-07-09T03:20:31,063 user_data.args_mem_loc = NULL 2021-07-09T03:20:31,063 Py_INCREF(user_data) 2021-07-09T03:20:31,063 cdef cl_int err_code 2021-07-09T03:20:31,064 cdef cl_event event_id 2021-07-09T03:20:31,064 ^ 2021-07-09T03:20:31,064 ------------------------------------------------------------ 2021-07-09T03:20:31,064 opencl/queue.pyx:338:13: 'cl_event' is not a type identifier 2021-07-09T03:20:31,064 Error compiling Cython file: 2021-07-09T03:20:31,064 ------------------------------------------------------------ 2021-07-09T03:20:31,065 ... 2021-07-09T03:20:31,065 Py_INCREF(user_data) 2021-07-09T03:20:31,065 cdef cl_int err_code 2021-07-09T03:20:31,065 cdef cl_event event_id 2021-07-09T03:20:31,065 cdef cl_uint num_events_in_wait_list = 0 2021-07-09T03:20:31,065 ^ 2021-07-09T03:20:31,065 ------------------------------------------------------------ 2021-07-09T03:20:31,066 opencl/queue.pyx:339:13: 'cl_uint' is not a type identifier 2021-07-09T03:20:31,066 Error compiling Cython file: 2021-07-09T03:20:31,066 ------------------------------------------------------------ 2021-07-09T03:20:31,066 ... 2021-07-09T03:20:31,066 Py_INCREF(user_data) 2021-07-09T03:20:31,066 cdef cl_int err_code 2021-07-09T03:20:31,067 cdef cl_event event_id 2021-07-09T03:20:31,067 cdef cl_uint num_events_in_wait_list = 0 2021-07-09T03:20:31,067 cdef cl_event * event_wait_list = NULL 2021-07-09T03:20:31,067 ^ 2021-07-09T03:20:31,067 ------------------------------------------------------------ 2021-07-09T03:20:31,067 opencl/queue.pyx:340:13: 'cl_event' is not a type identifier 2021-07-09T03:20:31,067 Error compiling Cython file: 2021-07-09T03:20:31,067 ------------------------------------------------------------ 2021-07-09T03:20:31,068 ... 2021-07-09T03:20:31,068 :param kernel: an opencl kernel. 2021-07-09T03:20:31,068 :param wait_on: a list of events 2021-07-09T03:20:31,068 ''' 2021-07-09T03:20:31,068 cdef cl_event * event_wait_list 2021-07-09T03:20:31,068 ^ 2021-07-09T03:20:31,068 ------------------------------------------------------------ 2021-07-09T03:20:31,069 opencl/queue.pyx:372:13: 'cl_event' is not a type identifier 2021-07-09T03:20:31,069 Error compiling Cython file: 2021-07-09T03:20:31,069 ------------------------------------------------------------ 2021-07-09T03:20:31,069 ... 2021-07-09T03:20:31,069 :param kernel: an opencl kernel. 2021-07-09T03:20:31,069 :param wait_on: a list of events 2021-07-09T03:20:31,069 ''' 2021-07-09T03:20:31,070 cdef cl_event * event_wait_list 2021-07-09T03:20:31,070 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:31,070 ^ 2021-07-09T03:20:31,070 ------------------------------------------------------------ 2021-07-09T03:20:31,070 opencl/queue.pyx:373:13: 'cl_uint' is not a type identifier 2021-07-09T03:20:31,070 Error compiling Cython file: 2021-07-09T03:20:31,071 ------------------------------------------------------------ 2021-07-09T03:20:31,071 ... 2021-07-09T03:20:31,071 :param wait_on: a list of events 2021-07-09T03:20:31,071 ''' 2021-07-09T03:20:31,071 cdef cl_event * event_wait_list 2021-07-09T03:20:31,071 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:31,071 cdef cl_int err_code 2021-07-09T03:20:31,072 ^ 2021-07-09T03:20:31,072 ------------------------------------------------------------ 2021-07-09T03:20:31,072 opencl/queue.pyx:374:13: 'cl_int' is not a type identifier 2021-07-09T03:20:31,072 Error compiling Cython file: 2021-07-09T03:20:31,072 ------------------------------------------------------------ 2021-07-09T03:20:31,072 ... 2021-07-09T03:20:31,072 cdef cl_event * event_wait_list 2021-07-09T03:20:31,073 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:31,073 cdef cl_int err_code 2021-07-09T03:20:31,073 cdef cl_kernel kernel_id = KernelFromPyKernel(kernel) 2021-07-09T03:20:31,073 ^ 2021-07-09T03:20:31,073 ------------------------------------------------------------ 2021-07-09T03:20:31,073 opencl/queue.pyx:376:13: 'cl_kernel' is not a type identifier 2021-07-09T03:20:31,074 Error compiling Cython file: 2021-07-09T03:20:31,074 ------------------------------------------------------------ 2021-07-09T03:20:31,074 ... 2021-07-09T03:20:31,074 cdef cl_event * event_wait_list 2021-07-09T03:20:31,074 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:31,074 cdef cl_int err_code 2021-07-09T03:20:31,074 cdef cl_kernel kernel_id = KernelFromPyKernel(kernel) 2021-07-09T03:20:31,075 cdef cl_event event_id = NULL 2021-07-09T03:20:31,075 ^ 2021-07-09T03:20:31,075 ------------------------------------------------------------ 2021-07-09T03:20:31,075 opencl/queue.pyx:377:13: 'cl_event' is not a type identifier 2021-07-09T03:20:31,075 Error compiling Cython file: 2021-07-09T03:20:31,075 ------------------------------------------------------------ 2021-07-09T03:20:31,075 ... 2021-07-09T03:20:31,076 appropriate work-group instances 2021-07-09T03:20:31,076 :param wait_on: A list of events 2021-07-09T03:20:31,076 ''' 2021-07-09T03:20:31,076 cdef cl_kernel kernel_id = KernelFromPyKernel(kernel) 2021-07-09T03:20:31,076 ^ 2021-07-09T03:20:31,076 ------------------------------------------------------------ 2021-07-09T03:20:31,077 opencl/queue.pyx:407:13: 'cl_kernel' is not a type identifier 2021-07-09T03:20:31,077 Error compiling Cython file: 2021-07-09T03:20:31,077 ------------------------------------------------------------ 2021-07-09T03:20:31,077 ... 2021-07-09T03:20:31,077 ''' 2021-07-09T03:20:31,077 cdef cl_kernel kernel_id = KernelFromPyKernel(kernel) 2021-07-09T03:20:31,078 cdef cl_event event_id = NULL 2021-07-09T03:20:31,078 ^ 2021-07-09T03:20:31,078 ------------------------------------------------------------ 2021-07-09T03:20:31,078 opencl/queue.pyx:409:13: 'cl_event' is not a type identifier 2021-07-09T03:20:31,078 Error compiling Cython file: 2021-07-09T03:20:31,078 ------------------------------------------------------------ 2021-07-09T03:20:31,079 ... 2021-07-09T03:20:31,079 for i in range(work_dim): 2021-07-09T03:20:31,079 gsize[i] = < size_t > global_work_size[i] 2021-07-09T03:20:31,079 if goffset != NULL: goffset[i] = < size_t > global_work_offset[i] 2021-07-09T03:20:31,079 if lsize != NULL: lsize[i] = < size_t > local_work_size[i] 2021-07-09T03:20:31,079 cdef cl_event * event_wait_list 2021-07-09T03:20:31,079 ^ 2021-07-09T03:20:31,079 ------------------------------------------------------------ 2021-07-09T03:20:31,080 opencl/queue.pyx:430:13: 'cl_event' is not a type identifier 2021-07-09T03:20:31,080 Error compiling Cython file: 2021-07-09T03:20:31,080 ------------------------------------------------------------ 2021-07-09T03:20:31,080 ... 2021-07-09T03:20:31,080 gsize[i] = < size_t > global_work_size[i] 2021-07-09T03:20:31,080 if goffset != NULL: goffset[i] = < size_t > global_work_offset[i] 2021-07-09T03:20:31,080 if lsize != NULL: lsize[i] = < size_t > local_work_size[i] 2021-07-09T03:20:31,081 cdef cl_event * event_wait_list 2021-07-09T03:20:31,081 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:31,081 ^ 2021-07-09T03:20:31,081 ------------------------------------------------------------ 2021-07-09T03:20:31,081 opencl/queue.pyx:431:13: 'cl_uint' is not a type identifier 2021-07-09T03:20:31,081 Error compiling Cython file: 2021-07-09T03:20:31,082 ------------------------------------------------------------ 2021-07-09T03:20:31,082 ... 2021-07-09T03:20:31,082 if goffset != NULL: goffset[i] = < size_t > global_work_offset[i] 2021-07-09T03:20:31,082 if lsize != NULL: lsize[i] = < size_t > local_work_size[i] 2021-07-09T03:20:31,082 cdef cl_event * event_wait_list 2021-07-09T03:20:31,082 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:31,082 cdef cl_int err_code 2021-07-09T03:20:31,082 ^ 2021-07-09T03:20:31,083 ------------------------------------------------------------ 2021-07-09T03:20:31,083 opencl/queue.pyx:432:13: 'cl_int' is not a type identifier 2021-07-09T03:20:31,083 Error compiling Cython file: 2021-07-09T03:20:31,083 ------------------------------------------------------------ 2021-07-09T03:20:31,083 ... 2021-07-09T03:20:31,083 :param src_offset: refers to the offset where to begin copying data from src 2021-07-09T03:20:31,083 :param dst_offset: refers to the offset where to begin copying data into dest 2021-07-09T03:20:31,084 :param size: number of bytes to copy 2021-07-09T03:20:31,084 :param wait_on: a sequence of events to wait for before submitting this command. 2021-07-09T03:20:31,084 ''' 2021-07-09T03:20:31,084 cdef cl_int err_code 2021-07-09T03:20:31,084 ^ 2021-07-09T03:20:31,084 ------------------------------------------------------------ 2021-07-09T03:20:31,084 opencl/queue.pyx:481:13: 'cl_int' is not a type identifier 2021-07-09T03:20:31,085 Error compiling Cython file: 2021-07-09T03:20:31,085 ------------------------------------------------------------ 2021-07-09T03:20:31,085 ... 2021-07-09T03:20:31,085 :param dst_offset: refers to the offset where to begin copying data into dest 2021-07-09T03:20:31,085 :param size: number of bytes to copy 2021-07-09T03:20:31,085 :param wait_on: a sequence of events to wait for before submitting this command. 2021-07-09T03:20:31,085 ''' 2021-07-09T03:20:31,085 cdef cl_int err_code 2021-07-09T03:20:31,085 cdef cl_event event_id = NULL 2021-07-09T03:20:31,086 ^ 2021-07-09T03:20:31,086 ------------------------------------------------------------ 2021-07-09T03:20:31,086 opencl/queue.pyx:482:13: 'cl_event' is not a type identifier 2021-07-09T03:20:31,086 Error compiling Cython file: 2021-07-09T03:20:31,086 ------------------------------------------------------------ 2021-07-09T03:20:31,087 ... 2021-07-09T03:20:31,087 :param size: number of bytes to copy 2021-07-09T03:20:31,087 :param wait_on: a sequence of events to wait for before submitting this command. 2021-07-09T03:20:31,087 ''' 2021-07-09T03:20:31,087 cdef cl_int err_code 2021-07-09T03:20:31,087 cdef cl_event event_id = NULL 2021-07-09T03:20:31,088 cdef cl_event * event_wait_list 2021-07-09T03:20:31,088 ^ 2021-07-09T03:20:31,088 ------------------------------------------------------------ 2021-07-09T03:20:31,088 opencl/queue.pyx:483:13: 'cl_event' is not a type identifier 2021-07-09T03:20:31,089 Error compiling Cython file: 2021-07-09T03:20:31,089 ------------------------------------------------------------ 2021-07-09T03:20:31,089 ... 2021-07-09T03:20:31,089 :param wait_on: a sequence of events to wait for before submitting this command. 2021-07-09T03:20:31,089 ''' 2021-07-09T03:20:31,089 cdef cl_int err_code 2021-07-09T03:20:31,089 cdef cl_event event_id = NULL 2021-07-09T03:20:31,090 cdef cl_event * event_wait_list 2021-07-09T03:20:31,090 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:31,090 ^ 2021-07-09T03:20:31,090 ------------------------------------------------------------ 2021-07-09T03:20:31,090 opencl/queue.pyx:484:13: 'cl_uint' is not a type identifier 2021-07-09T03:20:31,091 Error compiling Cython file: 2021-07-09T03:20:31,091 ------------------------------------------------------------ 2021-07-09T03:20:31,091 ... 2021-07-09T03:20:31,091 if not CyMemoryObject_Check(source): 2021-07-09T03:20:31,091 raise TypeError("Argument 'source' must be a valid memory object") 2021-07-09T03:20:31,091 if not CyMemoryObject_Check(dest): 2021-07-09T03:20:31,091 raise TypeError("Argument 'dest' must be a valid memory object") 2021-07-09T03:20:31,091 cdef cl_mem src_buffer = CyMemoryObject_GetID(source) 2021-07-09T03:20:31,092 ^ 2021-07-09T03:20:31,092 ------------------------------------------------------------ 2021-07-09T03:20:31,092 opencl/queue.pyx:491:13: 'cl_mem' is not a type identifier 2021-07-09T03:20:31,092 Error compiling Cython file: 2021-07-09T03:20:31,092 ------------------------------------------------------------ 2021-07-09T03:20:31,092 ... 2021-07-09T03:20:31,092 raise TypeError("Argument 'source' must be a valid memory object") 2021-07-09T03:20:31,093 if not CyMemoryObject_Check(dest): 2021-07-09T03:20:31,093 raise TypeError("Argument 'dest' must be a valid memory object") 2021-07-09T03:20:31,093 cdef cl_mem src_buffer = CyMemoryObject_GetID(source) 2021-07-09T03:20:31,093 cdef cl_mem dst_buffer = CyMemoryObject_GetID(dest) 2021-07-09T03:20:31,093 ^ 2021-07-09T03:20:31,093 ------------------------------------------------------------ 2021-07-09T03:20:31,093 opencl/queue.pyx:492:13: 'cl_mem' is not a type identifier 2021-07-09T03:20:31,094 Error compiling Cython file: 2021-07-09T03:20:31,094 ------------------------------------------------------------ 2021-07-09T03:20:31,094 ... 2021-07-09T03:20:31,094 ''' 2021-07-09T03:20:31,094 queue.enqueue_read_buffer(source, dest, offset=0, size=0, wait_on=(), blocking_read=False) 2021-07-09T03:20:31,094 Read a buffer object to host memory. 2021-07-09T03:20:31,094 ''' 2021-07-09T03:20:31,095 cdef cl_int err_code 2021-07-09T03:20:31,095 ^ 2021-07-09T03:20:31,095 ------------------------------------------------------------ 2021-07-09T03:20:31,095 opencl/queue.pyx:508:13: 'cl_int' is not a type identifier 2021-07-09T03:20:31,095 Error compiling Cython file: 2021-07-09T03:20:31,095 ------------------------------------------------------------ 2021-07-09T03:20:31,095 ... 2021-07-09T03:20:31,096 queue.enqueue_read_buffer(source, dest, offset=0, size=0, wait_on=(), blocking_read=False) 2021-07-09T03:20:31,096 Read a buffer object to host memory. 2021-07-09T03:20:31,096 ''' 2021-07-09T03:20:31,096 cdef cl_int err_code 2021-07-09T03:20:31,096 cdef cl_event event_id = NULL 2021-07-09T03:20:31,096 ^ 2021-07-09T03:20:31,096 ------------------------------------------------------------ 2021-07-09T03:20:31,096 opencl/queue.pyx:509:13: 'cl_event' is not a type identifier 2021-07-09T03:20:31,097 Error compiling Cython file: 2021-07-09T03:20:31,097 ------------------------------------------------------------ 2021-07-09T03:20:31,097 ... 2021-07-09T03:20:31,097 Read a buffer object to host memory. 2021-07-09T03:20:31,097 ''' 2021-07-09T03:20:31,097 cdef cl_int err_code 2021-07-09T03:20:31,097 cdef cl_event event_id = NULL 2021-07-09T03:20:31,098 cdef cl_event * event_wait_list 2021-07-09T03:20:31,098 ^ 2021-07-09T03:20:31,098 ------------------------------------------------------------ 2021-07-09T03:20:31,098 opencl/queue.pyx:510:13: 'cl_event' is not a type identifier 2021-07-09T03:20:31,098 Error compiling Cython file: 2021-07-09T03:20:31,098 ------------------------------------------------------------ 2021-07-09T03:20:31,098 ... 2021-07-09T03:20:31,099 Read a buffer object to host memory. 2021-07-09T03:20:31,099 ''' 2021-07-09T03:20:31,099 cdef cl_int err_code 2021-07-09T03:20:31,099 cdef cl_event event_id = NULL 2021-07-09T03:20:31,099 cdef cl_event * event_wait_list 2021-07-09T03:20:31,099 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:31,099 ^ 2021-07-09T03:20:31,099 ------------------------------------------------------------ 2021-07-09T03:20:31,099 opencl/queue.pyx:511:13: 'cl_uint' is not a type identifier 2021-07-09T03:20:31,100 Error compiling Cython file: 2021-07-09T03:20:31,100 ------------------------------------------------------------ 2021-07-09T03:20:31,100 ... 2021-07-09T03:20:31,100 cdef cl_int err_code 2021-07-09T03:20:31,100 cdef cl_event event_id = NULL 2021-07-09T03:20:31,100 cdef cl_event * event_wait_list 2021-07-09T03:20:31,100 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:31,101 cdef cl_mem src_buffer = CyMemoryObject_GetID(source) 2021-07-09T03:20:31,101 ^ 2021-07-09T03:20:31,101 ------------------------------------------------------------ 2021-07-09T03:20:31,101 opencl/queue.pyx:513:13: 'cl_mem' is not a type identifier 2021-07-09T03:20:31,101 Error compiling Cython file: 2021-07-09T03:20:31,101 ------------------------------------------------------------ 2021-07-09T03:20:31,101 ... 2021-07-09T03:20:31,102 Write host memory into a buffer object. 2021-07-09T03:20:31,102 ''' 2021-07-09T03:20:31,102 cdef cl_int err_code 2021-07-09T03:20:31,102 ^ 2021-07-09T03:20:31,102 ------------------------------------------------------------ 2021-07-09T03:20:31,103 opencl/queue.pyx:547:13: 'cl_int' is not a type identifier 2021-07-09T03:20:31,103 Error compiling Cython file: 2021-07-09T03:20:31,103 ------------------------------------------------------------ 2021-07-09T03:20:31,103 ... 2021-07-09T03:20:31,103 Write host memory into a buffer object. 2021-07-09T03:20:31,103 ''' 2021-07-09T03:20:31,104 cdef cl_int err_code 2021-07-09T03:20:31,104 cdef cl_event event_id = NULL 2021-07-09T03:20:31,104 ^ 2021-07-09T03:20:31,104 ------------------------------------------------------------ 2021-07-09T03:20:31,104 opencl/queue.pyx:548:13: 'cl_event' is not a type identifier 2021-07-09T03:20:31,104 Error compiling Cython file: 2021-07-09T03:20:31,104 ------------------------------------------------------------ 2021-07-09T03:20:31,105 ... 2021-07-09T03:20:31,105 ''' 2021-07-09T03:20:31,105 cdef cl_int err_code 2021-07-09T03:20:31,105 cdef cl_event event_id = NULL 2021-07-09T03:20:31,105 cdef cl_event * event_wait_list 2021-07-09T03:20:31,105 ^ 2021-07-09T03:20:31,105 ------------------------------------------------------------ 2021-07-09T03:20:31,106 opencl/queue.pyx:549:13: 'cl_event' is not a type identifier 2021-07-09T03:20:31,106 Error compiling Cython file: 2021-07-09T03:20:31,106 ------------------------------------------------------------ 2021-07-09T03:20:31,106 ... 2021-07-09T03:20:31,106 ''' 2021-07-09T03:20:31,106 cdef cl_int err_code 2021-07-09T03:20:31,106 cdef cl_event event_id = NULL 2021-07-09T03:20:31,107 cdef cl_event * event_wait_list 2021-07-09T03:20:31,107 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:31,107 ^ 2021-07-09T03:20:31,107 ------------------------------------------------------------ 2021-07-09T03:20:31,107 opencl/queue.pyx:550:13: 'cl_uint' is not a type identifier 2021-07-09T03:20:31,107 Error compiling Cython file: 2021-07-09T03:20:31,107 ------------------------------------------------------------ 2021-07-09T03:20:31,108 ... 2021-07-09T03:20:31,108 cdef cl_int err_code 2021-07-09T03:20:31,108 cdef cl_event event_id = NULL 2021-07-09T03:20:31,108 cdef cl_event * event_wait_list 2021-07-09T03:20:31,108 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:31,108 cdef cl_mem src_buffer = CyMemoryObject_GetID(source) 2021-07-09T03:20:31,108 ^ 2021-07-09T03:20:31,108 ------------------------------------------------------------ 2021-07-09T03:20:31,109 opencl/queue.pyx:552:13: 'cl_mem' is not a type identifier 2021-07-09T03:20:31,109 Error compiling Cython file: 2021-07-09T03:20:31,109 ------------------------------------------------------------ 2021-07-09T03:20:31,109 ... 2021-07-09T03:20:31,109 dst_row_pitch=0, dst_slice_pitch=0, wait_on=()) 2021-07-09T03:20:31,109 TODO: document this. 2021-07-09T03:20:31,109 ''' 2021-07-09T03:20:31,110 cdef cl_int err_code 2021-07-09T03:20:31,110 ^ 2021-07-09T03:20:31,110 ------------------------------------------------------------ 2021-07-09T03:20:31,110 opencl/queue.pyx:595:13: 'cl_int' is not a type identifier 2021-07-09T03:20:31,110 Error compiling Cython file: 2021-07-09T03:20:31,110 ------------------------------------------------------------ 2021-07-09T03:20:31,111 ... 2021-07-09T03:20:31,111 TODO: document this. 2021-07-09T03:20:31,111 ''' 2021-07-09T03:20:31,111 cdef cl_int err_code 2021-07-09T03:20:31,111 cdef cl_event event_id = NULL 2021-07-09T03:20:31,111 ^ 2021-07-09T03:20:31,111 ------------------------------------------------------------ 2021-07-09T03:20:31,112 opencl/queue.pyx:596:13: 'cl_event' is not a type identifier 2021-07-09T03:20:31,112 Error compiling Cython file: 2021-07-09T03:20:31,112 ------------------------------------------------------------ 2021-07-09T03:20:31,112 ... 2021-07-09T03:20:31,112 TODO: document this. 2021-07-09T03:20:31,112 ''' 2021-07-09T03:20:31,112 cdef cl_int err_code 2021-07-09T03:20:31,113 cdef cl_event event_id = NULL 2021-07-09T03:20:31,113 cdef cl_event * event_wait_list 2021-07-09T03:20:31,113 ^ 2021-07-09T03:20:31,113 ------------------------------------------------------------ 2021-07-09T03:20:31,113 opencl/queue.pyx:597:13: 'cl_event' is not a type identifier 2021-07-09T03:20:31,113 Error compiling Cython file: 2021-07-09T03:20:31,113 ------------------------------------------------------------ 2021-07-09T03:20:31,114 ... 2021-07-09T03:20:31,114 cdef cl_int err_code 2021-07-09T03:20:31,114 cdef cl_event event_id = NULL 2021-07-09T03:20:31,114 cdef cl_event * event_wait_list 2021-07-09T03:20:31,114 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:31,114 ^ 2021-07-09T03:20:31,114 ------------------------------------------------------------ 2021-07-09T03:20:31,115 opencl/queue.pyx:599:13: 'cl_uint' is not a type identifier 2021-07-09T03:20:31,115 Error compiling Cython file: 2021-07-09T03:20:31,115 ------------------------------------------------------------ 2021-07-09T03:20:31,115 ... 2021-07-09T03:20:31,115 cdef cl_event event_id = NULL 2021-07-09T03:20:31,115 cdef cl_event * event_wait_list 2021-07-09T03:20:31,115 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:31,116 cdef cl_mem src_buffer = CyMemoryObject_GetID(source) 2021-07-09T03:20:31,116 ^ 2021-07-09T03:20:31,116 ------------------------------------------------------------ 2021-07-09T03:20:31,116 opencl/queue.pyx:601:13: 'cl_mem' is not a type identifier 2021-07-09T03:20:31,116 Error compiling Cython file: 2021-07-09T03:20:31,116 ------------------------------------------------------------ 2021-07-09T03:20:31,117 ... 2021-07-09T03:20:31,117 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:31,117 cdef cl_mem src_buffer = CyMemoryObject_GetID(source) 2021-07-09T03:20:31,117 cdef cl_mem dst_buffer = CyMemoryObject_GetID(dest) 2021-07-09T03:20:31,117 ^ 2021-07-09T03:20:31,117 ------------------------------------------------------------ 2021-07-09T03:20:31,118 opencl/queue.pyx:603:13: 'cl_mem' is not a type identifier 2021-07-09T03:20:31,118 Error compiling Cython file: 2021-07-09T03:20:31,118 ------------------------------------------------------------ 2021-07-09T03:20:31,118 ... 2021-07-09T03:20:31,118 self.blocking_map = blocking_map 2021-07-09T03:20:31,118 self.map_flags = map_flags 2021-07-09T03:20:31,118 def __enter__(self): 2021-07-09T03:20:31,119 cdef void * bytes 2021-07-09T03:20:31,119 cdef cl_uint num_events_in_wait_list = 0 2021-07-09T03:20:31,119 ^ 2021-07-09T03:20:31,119 ------------------------------------------------------------ 2021-07-09T03:20:31,119 opencl/queue.pyx:669:13: 'cl_uint' is not a type identifier 2021-07-09T03:20:31,119 Error compiling Cython file: 2021-07-09T03:20:31,119 ------------------------------------------------------------ 2021-07-09T03:20:31,119 ... 2021-07-09T03:20:31,120 self.map_flags = map_flags 2021-07-09T03:20:31,120 def __enter__(self): 2021-07-09T03:20:31,120 cdef void * bytes 2021-07-09T03:20:31,120 cdef cl_uint num_events_in_wait_list = 0 2021-07-09T03:20:31,120 cdef cl_event * event_wait_list = NULL 2021-07-09T03:20:31,120 ^ 2021-07-09T03:20:31,120 ------------------------------------------------------------ 2021-07-09T03:20:31,121 opencl/queue.pyx:670:13: 'cl_event' is not a type identifier 2021-07-09T03:20:31,121 Error compiling Cython file: 2021-07-09T03:20:31,121 ------------------------------------------------------------ 2021-07-09T03:20:31,121 ... 2021-07-09T03:20:31,121 def __enter__(self): 2021-07-09T03:20:31,121 cdef void * bytes 2021-07-09T03:20:31,121 cdef cl_uint num_events_in_wait_list = 0 2021-07-09T03:20:31,121 cdef cl_event * event_wait_list = NULL 2021-07-09T03:20:31,122 cdef cl_int err_code 2021-07-09T03:20:31,122 ^ 2021-07-09T03:20:31,122 ------------------------------------------------------------ 2021-07-09T03:20:31,122 opencl/queue.pyx:672:13: 'cl_int' is not a type identifier 2021-07-09T03:20:31,122 Error compiling Cython file: 2021-07-09T03:20:31,122 ------------------------------------------------------------ 2021-07-09T03:20:31,122 ... 2021-07-09T03:20:31,123 cdef cl_uint num_events_in_wait_list = 0 2021-07-09T03:20:31,123 cdef cl_event * event_wait_list = NULL 2021-07-09T03:20:31,123 cdef cl_int err_code 2021-07-09T03:20:31,123 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,123 ^ 2021-07-09T03:20:31,123 ------------------------------------------------------------ 2021-07-09T03:20:31,124 opencl/queue.pyx:674:13: 'cl_mem' is not a type identifier 2021-07-09T03:20:31,124 Error compiling Cython file: 2021-07-09T03:20:31,124 ------------------------------------------------------------ 2021-07-09T03:20:31,124 ... 2021-07-09T03:20:31,124 self.bytes = bytes 2021-07-09T03:20:31,124 return memoryview(self) 2021-07-09T03:20:31,124 def __exit__(self, *args): 2021-07-09T03:20:31,125 cdef cl_int err_code 2021-07-09T03:20:31,125 ^ 2021-07-09T03:20:31,125 ------------------------------------------------------------ 2021-07-09T03:20:31,125 opencl/queue.pyx:690:13: 'cl_int' is not a type identifier 2021-07-09T03:20:31,125 Error compiling Cython file: 2021-07-09T03:20:31,125 ------------------------------------------------------------ 2021-07-09T03:20:31,125 ... 2021-07-09T03:20:31,126 def __exit__(self, *args): 2021-07-09T03:20:31,126 cdef cl_int err_code 2021-07-09T03:20:31,126 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,126 ^ 2021-07-09T03:20:31,126 ------------------------------------------------------------ 2021-07-09T03:20:31,127 opencl/queue.pyx:692:13: 'cl_mem' is not a type identifier 2021-07-09T03:20:31,127 Error compiling Cython file: 2021-07-09T03:20:31,127 ------------------------------------------------------------ 2021-07-09T03:20:31,127 ... 2021-07-09T03:20:31,127 cdef Py_buffer buffer 2021-07-09T03:20:31,127 CyView_GetBuffer(self.dview(), & buffer) 2021-07-09T03:20:31,128 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,128 ^ 2021-07-09T03:20:31,128 ------------------------------------------------------------ 2021-07-09T03:20:31,128 opencl/queue.pyx:709:13: 'cl_mem' is not a type identifier 2021-07-09T03:20:31,128 Error compiling Cython file: 2021-07-09T03:20:31,128 ------------------------------------------------------------ 2021-07-09T03:20:31,128 ... 2021-07-09T03:20:31,129 self.blocking_map = blocking_map 2021-07-09T03:20:31,129 self.map_flags = map_flags 2021-07-09T03:20:31,129 def __enter__(self): 2021-07-09T03:20:31,129 cdef void * bytes 2021-07-09T03:20:31,129 cdef cl_uint num_events_in_wait_list = 0 2021-07-09T03:20:31,129 ^ 2021-07-09T03:20:31,129 ------------------------------------------------------------ 2021-07-09T03:20:31,129 opencl/queue.pyx:751:13: 'cl_uint' is not a type identifier 2021-07-09T03:20:31,130 Error compiling Cython file: 2021-07-09T03:20:31,130 ------------------------------------------------------------ 2021-07-09T03:20:31,130 ... 2021-07-09T03:20:31,130 self.map_flags = map_flags 2021-07-09T03:20:31,130 def __enter__(self): 2021-07-09T03:20:31,130 cdef void * bytes 2021-07-09T03:20:31,130 cdef cl_uint num_events_in_wait_list = 0 2021-07-09T03:20:31,131 cdef cl_event * event_wait_list = NULL 2021-07-09T03:20:31,131 ^ 2021-07-09T03:20:31,131 ------------------------------------------------------------ 2021-07-09T03:20:31,131 opencl/queue.pyx:752:13: 'cl_event' is not a type identifier 2021-07-09T03:20:31,131 Error compiling Cython file: 2021-07-09T03:20:31,131 ------------------------------------------------------------ 2021-07-09T03:20:31,131 ... 2021-07-09T03:20:31,132 def __enter__(self): 2021-07-09T03:20:31,132 cdef void * bytes 2021-07-09T03:20:31,132 cdef cl_uint num_events_in_wait_list = 0 2021-07-09T03:20:31,132 cdef cl_event * event_wait_list = NULL 2021-07-09T03:20:31,132 cdef cl_int err_code 2021-07-09T03:20:31,132 ^ 2021-07-09T03:20:31,132 ------------------------------------------------------------ 2021-07-09T03:20:31,133 opencl/queue.pyx:754:13: 'cl_int' is not a type identifier 2021-07-09T03:20:31,133 Error compiling Cython file: 2021-07-09T03:20:31,133 ------------------------------------------------------------ 2021-07-09T03:20:31,133 ... 2021-07-09T03:20:31,133 cdef cl_uint num_events_in_wait_list = 0 2021-07-09T03:20:31,133 cdef cl_event * event_wait_list = NULL 2021-07-09T03:20:31,133 cdef cl_int err_code 2021-07-09T03:20:31,134 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,134 ^ 2021-07-09T03:20:31,134 ------------------------------------------------------------ 2021-07-09T03:20:31,134 opencl/queue.pyx:756:13: 'cl_mem' is not a type identifier 2021-07-09T03:20:31,134 Error compiling Cython file: 2021-07-09T03:20:31,134 ------------------------------------------------------------ 2021-07-09T03:20:31,134 ... 2021-07-09T03:20:31,135 return memoryview(self) 2021-07-09T03:20:31,135 def __exit__(self, *args): 2021-07-09T03:20:31,135 cdef cl_int err_code 2021-07-09T03:20:31,135 ^ 2021-07-09T03:20:31,135 ------------------------------------------------------------ 2021-07-09T03:20:31,136 opencl/queue.pyx:794:13: 'cl_int' is not a type identifier 2021-07-09T03:20:31,136 Error compiling Cython file: 2021-07-09T03:20:31,136 ------------------------------------------------------------ 2021-07-09T03:20:31,136 ... 2021-07-09T03:20:31,136 def __exit__(self, *args): 2021-07-09T03:20:31,136 cdef cl_int err_code 2021-07-09T03:20:31,137 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,137 ^ 2021-07-09T03:20:31,137 ------------------------------------------------------------ 2021-07-09T03:20:31,137 opencl/queue.pyx:796:13: 'cl_mem' is not a type identifier 2021-07-09T03:20:31,137 Error compiling Cython file: 2021-07-09T03:20:31,137 ------------------------------------------------------------ 2021-07-09T03:20:31,137 ... 2021-07-09T03:20:31,138 cdef api cl_uint _make_wait_list(wait_on, cl_event ** event_wait_list_ptr): 2021-07-09T03:20:31,138 if not wait_on: 2021-07-09T03:20:31,138 event_wait_list_ptr[0] = NULL 2021-07-09T03:20:31,138 return 0 2021-07-09T03:20:31,138 cdef cl_uint num_events = len(wait_on) 2021-07-09T03:20:31,138 ^ 2021-07-09T03:20:31,138 ------------------------------------------------------------ 2021-07-09T03:20:31,138 opencl/queue.pyx:830:9: 'cl_uint' is not a type identifier 2021-07-09T03:20:31,139 Error compiling Cython file: 2021-07-09T03:20:31,139 ------------------------------------------------------------ 2021-07-09T03:20:31,139 ... 2021-07-09T03:20:31,139 cdef api cl_uint _make_wait_list(wait_on, cl_event ** event_wait_list_ptr): 2021-07-09T03:20:31,139 if not wait_on: 2021-07-09T03:20:31,139 event_wait_list_ptr[0] = NULL 2021-07-09T03:20:31,139 return 0 2021-07-09T03:20:31,139 cdef cl_uint num_events = len(wait_on) 2021-07-09T03:20:31,140 cdef cl_event event_id = NULL 2021-07-09T03:20:31,140 ^ 2021-07-09T03:20:31,140 ------------------------------------------------------------ 2021-07-09T03:20:31,140 opencl/queue.pyx:831:9: 'cl_event' is not a type identifier 2021-07-09T03:20:31,140 Error compiling Cython file: 2021-07-09T03:20:31,140 ------------------------------------------------------------ 2021-07-09T03:20:31,140 ... 2021-07-09T03:20:31,140 event_wait_list_ptr[0] = NULL 2021-07-09T03:20:31,141 return 0 2021-07-09T03:20:31,141 cdef cl_uint num_events = len(wait_on) 2021-07-09T03:20:31,141 cdef cl_event event_id = NULL 2021-07-09T03:20:31,141 cdef cl_event * event_wait_list = < cl_event *> malloc(sizeof(cl_event) * num_events) 2021-07-09T03:20:31,141 ^ 2021-07-09T03:20:31,141 ------------------------------------------------------------ 2021-07-09T03:20:31,141 opencl/queue.pyx:833:9: 'cl_event' is not a type identifier 2021-07-09T03:20:31,293 Error compiling Cython file: 2021-07-09T03:20:31,293 ------------------------------------------------------------ 2021-07-09T03:20:31,294 ... 2021-07-09T03:20:31,294 return 2021-07-09T03:20:31,294 _enqueue_copy_buffer_errors = { 2021-07-09T03:20:31,294 CL_INVALID_COMMAND_QUEUE: 'if command_queue is not a valid command-queue.', 2021-07-09T03:20:31,294 ^ 2021-07-09T03:20:31,295 ------------------------------------------------------------ 2021-07-09T03:20:31,295 opencl/queue.pyx:61:4: undeclared name not builtin: CL_INVALID_COMMAND_QUEUE 2021-07-09T03:20:31,295 Error compiling Cython file: 2021-07-09T03:20:31,295 ------------------------------------------------------------ 2021-07-09T03:20:31,295 ... 2021-07-09T03:20:31,295 _enqueue_copy_buffer_errors = { 2021-07-09T03:20:31,296 CL_INVALID_COMMAND_QUEUE: 'if command_queue is not a valid command-queue.', 2021-07-09T03:20:31,296 CL_INVALID_CONTEXT: ('The context associated with command_queue, src_buffer and ' 2021-07-09T03:20:31,296 ^ 2021-07-09T03:20:31,296 ------------------------------------------------------------ 2021-07-09T03:20:31,296 opencl/queue.pyx:63:4: undeclared name not builtin: CL_INVALID_CONTEXT 2021-07-09T03:20:31,297 Error compiling Cython file: 2021-07-09T03:20:31,297 ------------------------------------------------------------ 2021-07-09T03:20:31,297 ... 2021-07-09T03:20:31,297 CL_INVALID_CONTEXT: ('The context associated with command_queue, src_buffer and ' 2021-07-09T03:20:31,297 'dst_buffer are not the same or if the context associated with command_queue and events ' 2021-07-09T03:20:31,297 'in event_wait_list are not the same.'), 2021-07-09T03:20:31,298 CL_INVALID_MEM_OBJECT: 'source and dest are not valid buffer objects.', 2021-07-09T03:20:31,298 ^ 2021-07-09T03:20:31,298 ------------------------------------------------------------ 2021-07-09T03:20:31,298 opencl/queue.pyx:67:4: undeclared name not builtin: CL_INVALID_MEM_OBJECT 2021-07-09T03:20:31,298 Error compiling Cython file: 2021-07-09T03:20:31,298 ------------------------------------------------------------ 2021-07-09T03:20:31,298 ... 2021-07-09T03:20:31,299 'dst_buffer are not the same or if the context associated with command_queue and events ' 2021-07-09T03:20:31,299 'in event_wait_list are not the same.'), 2021-07-09T03:20:31,299 CL_INVALID_MEM_OBJECT: 'source and dest are not valid buffer objects.', 2021-07-09T03:20:31,299 CL_INVALID_VALUE : ('source, dest, size, src_offset / cb or dst_offset / cb ' 2021-07-09T03:20:31,299 ^ 2021-07-09T03:20:31,299 ------------------------------------------------------------ 2021-07-09T03:20:31,300 opencl/queue.pyx:69:4: undeclared name not builtin: CL_INVALID_VALUE 2021-07-09T03:20:31,300 Error compiling Cython file: 2021-07-09T03:20:31,300 ------------------------------------------------------------ 2021-07-09T03:20:31,300 ... 2021-07-09T03:20:31,300 CL_INVALID_MEM_OBJECT: 'source and dest are not valid buffer objects.', 2021-07-09T03:20:31,300 CL_INVALID_VALUE : ('source, dest, size, src_offset / cb or dst_offset / cb ' 2021-07-09T03:20:31,300 'require accessing elements outside the src_buffer and dst_buffer buffer objects ' 2021-07-09T03:20:31,301 'respectively. '), 2021-07-09T03:20:31,301 CL_INVALID_EVENT_WAIT_LIST :('event_wait_list is NULL and ' 2021-07-09T03:20:31,301 ^ 2021-07-09T03:20:31,301 ------------------------------------------------------------ 2021-07-09T03:20:31,301 opencl/queue.pyx:72:4: undeclared name not builtin: CL_INVALID_EVENT_WAIT_LIST 2021-07-09T03:20:31,301 Error compiling Cython file: 2021-07-09T03:20:31,301 ------------------------------------------------------------ 2021-07-09T03:20:31,302 ... 2021-07-09T03:20:31,302 'num_events_in_wait_list > 0, or event_wait_list is not NULL and ' 2021-07-09T03:20:31,302 'num_events_in_wait_list is 0, or if event objects in event_wait_list are not valid events.'), 2021-07-09T03:20:31,302 } 2021-07-09T03:20:31,302 nd_range_kernel_errors = { 2021-07-09T03:20:31,302 CL_INVALID_PROGRAM_EXECUTABLE : ('There is no successfully built program ' 2021-07-09T03:20:31,302 ^ 2021-07-09T03:20:31,302 ------------------------------------------------------------ 2021-07-09T03:20:31,303 opencl/queue.pyx:78:4: undeclared name not builtin: CL_INVALID_PROGRAM_EXECUTABLE 2021-07-09T03:20:31,303 Error compiling Cython file: 2021-07-09T03:20:31,303 ------------------------------------------------------------ 2021-07-09T03:20:31,303 ... 2021-07-09T03:20:31,303 nd_range_kernel_errors = { 2021-07-09T03:20:31,303 CL_INVALID_PROGRAM_EXECUTABLE : ('There is no successfully built program ' 2021-07-09T03:20:31,304 'executable available for device associated with command_queue.'), 2021-07-09T03:20:31,304 CL_INVALID_COMMAND_QUEUE : 'command_queue is not a valid command-queue.', 2021-07-09T03:20:31,304 CL_INVALID_KERNEL :'kernel is not a valid kernel object', 2021-07-09T03:20:31,304 ^ 2021-07-09T03:20:31,304 ------------------------------------------------------------ 2021-07-09T03:20:31,304 opencl/queue.pyx:81:4: undeclared name not builtin: CL_INVALID_KERNEL 2021-07-09T03:20:31,305 Error compiling Cython file: 2021-07-09T03:20:31,305 ------------------------------------------------------------ 2021-07-09T03:20:31,305 ... 2021-07-09T03:20:31,305 CL_INVALID_COMMAND_QUEUE : 'command_queue is not a valid command-queue.', 2021-07-09T03:20:31,305 CL_INVALID_KERNEL :'kernel is not a valid kernel object', 2021-07-09T03:20:31,305 CL_INVALID_CONTEXT: ('Context associated with command_queue and kernel are not ' 2021-07-09T03:20:31,305 'the same or if the context associated with command_queue and events in event_wait_list ' 2021-07-09T03:20:31,305 'are not the same.'), 2021-07-09T03:20:31,305 CL_INVALID_KERNEL_ARGS : 'The kernel argument values have not been specified.', 2021-07-09T03:20:31,306 ^ 2021-07-09T03:20:31,306 ------------------------------------------------------------ 2021-07-09T03:20:31,306 opencl/queue.pyx:85:4: undeclared name not builtin: CL_INVALID_KERNEL_ARGS 2021-07-09T03:20:31,306 Error compiling Cython file: 2021-07-09T03:20:31,306 ------------------------------------------------------------ 2021-07-09T03:20:31,306 ... 2021-07-09T03:20:31,306 CL_INVALID_KERNEL :'kernel is not a valid kernel object', 2021-07-09T03:20:31,307 CL_INVALID_CONTEXT: ('Context associated with command_queue and kernel are not ' 2021-07-09T03:20:31,307 'the same or if the context associated with command_queue and events in event_wait_list ' 2021-07-09T03:20:31,307 'are not the same.'), 2021-07-09T03:20:31,307 CL_INVALID_KERNEL_ARGS : 'The kernel argument values have not been specified.', 2021-07-09T03:20:31,307 CL_INVALID_WORK_DIMENSION : 'work_dim is not a valid value', 2021-07-09T03:20:31,307 ^ 2021-07-09T03:20:31,307 ------------------------------------------------------------ 2021-07-09T03:20:31,307 opencl/queue.pyx:86:4: undeclared name not builtin: CL_INVALID_WORK_DIMENSION 2021-07-09T03:20:31,308 Error compiling Cython file: 2021-07-09T03:20:31,308 ------------------------------------------------------------ 2021-07-09T03:20:31,308 ... 2021-07-09T03:20:31,308 CL_INVALID_CONTEXT: ('Context associated with command_queue and kernel are not ' 2021-07-09T03:20:31,308 'the same or if the context associated with command_queue and events in event_wait_list ' 2021-07-09T03:20:31,308 'are not the same.'), 2021-07-09T03:20:31,308 CL_INVALID_KERNEL_ARGS : 'The kernel argument values have not been specified.', 2021-07-09T03:20:31,308 CL_INVALID_WORK_DIMENSION : 'work_dim is not a valid value', 2021-07-09T03:20:31,309 CL_INVALID_GLOBAL_WORK_SIZE : ('global_work_size is NULL, or if any of the ' 2021-07-09T03:20:31,309 ^ 2021-07-09T03:20:31,309 ------------------------------------------------------------ 2021-07-09T03:20:31,309 opencl/queue.pyx:87:4: undeclared name not builtin: CL_INVALID_GLOBAL_WORK_SIZE 2021-07-09T03:20:31,309 Error compiling Cython file: 2021-07-09T03:20:31,309 ------------------------------------------------------------ 2021-07-09T03:20:31,309 ... 2021-07-09T03:20:31,310 CL_INVALID_GLOBAL_WORK_SIZE : ('global_work_size is NULL, or if any of the ' 2021-07-09T03:20:31,310 'values specified in global_work_size[0], ... ' 2021-07-09T03:20:31,310 'global_work_size[work_dim - 1] are 0 or ' 2021-07-09T03:20:31,310 'exceed the range given by the sizeof(size_t) for the device on which the kernel ' 2021-07-09T03:20:31,310 'execution will be enqueued.'), 2021-07-09T03:20:31,310 CL_INVALID_GLOBAL_OFFSET : ('The value specified in global_work_size + the ' 2021-07-09T03:20:31,310 ^ 2021-07-09T03:20:31,310 ------------------------------------------------------------ 2021-07-09T03:20:31,311 opencl/queue.pyx:92:4: undeclared name not builtin: CL_INVALID_GLOBAL_OFFSET 2021-07-09T03:20:31,311 Error compiling Cython file: 2021-07-09T03:20:31,311 ------------------------------------------------------------ 2021-07-09T03:20:31,311 ... 2021-07-09T03:20:31,311 'exceed the range given by the sizeof(size_t) for the device on which the kernel ' 2021-07-09T03:20:31,311 'execution will be enqueued.'), 2021-07-09T03:20:31,311 CL_INVALID_GLOBAL_OFFSET : ('The value specified in global_work_size + the ' 2021-07-09T03:20:31,312 'corresponding values in global_work_offset for any dimensions is greater than the ' 2021-07-09T03:20:31,312 'sizeof(size t) for the device on which the kernel execution will be enqueued. '), 2021-07-09T03:20:31,312 CL_INVALID_WORK_GROUP_SIZE :('local_work_size is specified and number of workitems specified by global_work_size is not evenly divisible by size of work-group given ' 2021-07-09T03:20:31,312 ^ 2021-07-09T03:20:31,312 ------------------------------------------------------------ 2021-07-09T03:20:31,312 opencl/queue.pyx:95:4: undeclared name not builtin: CL_INVALID_WORK_GROUP_SIZE 2021-07-09T03:20:31,312 Error compiling Cython file: 2021-07-09T03:20:31,313 ------------------------------------------------------------ 2021-07-09T03:20:31,313 ... 2021-07-09T03:20:31,313 'of work-items in the work-group computed as local_work_size[0] * ... ' 2021-07-09T03:20:31,313 'local_work_size[work_dim - 1] is greater than the value specified by CL_DEVICE_MAX_WORK_GROUP_SIZE'), 2021-07-09T03:20:31,313 CL_INVALID_WORK_GROUP_SIZE : ('local_work_size is NULL and the ' 2021-07-09T03:20:31,313 '__attribute__((reqd_work_group_size(X, Y, Z))) qualifier is used to ' 2021-07-09T03:20:31,313 'declare the work-group size for kernel in the program source. '), 2021-07-09T03:20:31,313 CL_INVALID_WORK_ITEM_SIZE :('The number of work-items specified in any of ' 2021-07-09T03:20:31,313 ^ 2021-07-09T03:20:31,314 ------------------------------------------------------------ 2021-07-09T03:20:31,314 opencl/queue.pyx:103:4: undeclared name not builtin: CL_INVALID_WORK_ITEM_SIZE 2021-07-09T03:20:31,314 Error compiling Cython file: 2021-07-09T03:20:31,314 ------------------------------------------------------------ 2021-07-09T03:20:31,314 ... 2021-07-09T03:20:31,314 '__attribute__((reqd_work_group_size(X, Y, Z))) qualifier is used to ' 2021-07-09T03:20:31,315 'declare the work-group size for kernel in the program source. '), 2021-07-09T03:20:31,315 CL_INVALID_WORK_ITEM_SIZE :('The number of work-items specified in any of ' 2021-07-09T03:20:31,315 'local_work_size[0], ... local_work_size[work_dim - 1] is greater than the ' 2021-07-09T03:20:31,315 'corresponding values specified by CL_DEVICE_MAX_WORK_ITEM_SIZES[0], ...CL_DEVICE_MAX_WORK_ITEM_SIZES[work_dim - 1].'), 2021-07-09T03:20:31,315 CL_MISALIGNED_SUB_BUFFER_OFFSET : ('A sub-buffer object is specified as the value ' 2021-07-09T03:20:31,315 ^ 2021-07-09T03:20:31,315 ------------------------------------------------------------ 2021-07-09T03:20:31,316 opencl/queue.pyx:106:4: undeclared name not builtin: CL_MISALIGNED_SUB_BUFFER_OFFSET 2021-07-09T03:20:31,316 Error compiling Cython file: 2021-07-09T03:20:31,316 ------------------------------------------------------------ 2021-07-09T03:20:31,316 ... 2021-07-09T03:20:31,316 'corresponding values specified by CL_DEVICE_MAX_WORK_ITEM_SIZES[0], ...CL_DEVICE_MAX_WORK_ITEM_SIZES[work_dim - 1].'), 2021-07-09T03:20:31,316 CL_MISALIGNED_SUB_BUFFER_OFFSET : ('A sub-buffer object is specified as the value ' 2021-07-09T03:20:31,316 'for an argument that is a buffer object and the offset specified when the sub-buffer object ' 2021-07-09T03:20:31,317 'is created is not aligned to CL_DEVICE_MEM_BASE_ADDR_ALIGN value for device ' 2021-07-09T03:20:31,317 'associated with queue.'), 2021-07-09T03:20:31,317 CL_INVALID_IMAGE_SIZE : ('An image object is specified as an argument value and the ' 2021-07-09T03:20:31,317 ^ 2021-07-09T03:20:31,317 ------------------------------------------------------------ 2021-07-09T03:20:31,317 opencl/queue.pyx:110:4: undeclared name not builtin: CL_INVALID_IMAGE_SIZE 2021-07-09T03:20:31,317 Error compiling Cython file: 2021-07-09T03:20:31,318 ------------------------------------------------------------ 2021-07-09T03:20:31,318 ... 2021-07-09T03:20:31,318 'is created is not aligned to CL_DEVICE_MEM_BASE_ADDR_ALIGN value for device ' 2021-07-09T03:20:31,318 'associated with queue.'), 2021-07-09T03:20:31,318 CL_INVALID_IMAGE_SIZE : ('An image object is specified as an argument value and the ' 2021-07-09T03:20:31,318 'image dimensions (image width, height, specified or compute row and/or slice pitch) are ' 2021-07-09T03:20:31,318 'not supported by device associated with queue.'), 2021-07-09T03:20:31,318 CL_OUT_OF_RESOURCES : 'CL_OUT_OF_RESOURCES, There is a failure to queue the execution instance of kernel ', 2021-07-09T03:20:31,318 ^ 2021-07-09T03:20:31,319 ------------------------------------------------------------ 2021-07-09T03:20:31,319 opencl/queue.pyx:113:4: undeclared name not builtin: CL_OUT_OF_RESOURCES 2021-07-09T03:20:31,319 Error compiling Cython file: 2021-07-09T03:20:31,319 ------------------------------------------------------------ 2021-07-09T03:20:31,319 ... 2021-07-09T03:20:31,319 'associated with queue.'), 2021-07-09T03:20:31,320 CL_INVALID_IMAGE_SIZE : ('An image object is specified as an argument value and the ' 2021-07-09T03:20:31,320 'image dimensions (image width, height, specified or compute row and/or slice pitch) are ' 2021-07-09T03:20:31,320 'not supported by device associated with queue.'), 2021-07-09T03:20:31,320 CL_OUT_OF_RESOURCES : 'CL_OUT_OF_RESOURCES, There is a failure to queue the execution instance of kernel ', 2021-07-09T03:20:31,320 CL_MEM_OBJECT_ALLOCATION_FAILURE :('There is a failure to allocate memory for ' 2021-07-09T03:20:31,320 ^ 2021-07-09T03:20:31,320 ------------------------------------------------------------ 2021-07-09T03:20:31,320 opencl/queue.pyx:114:4: undeclared name not builtin: CL_MEM_OBJECT_ALLOCATION_FAILURE 2021-07-09T03:20:31,321 Error compiling Cython file: 2021-07-09T03:20:31,321 ------------------------------------------------------------ 2021-07-09T03:20:31,321 ... 2021-07-09T03:20:31,321 CL_MEM_OBJECT_ALLOCATION_FAILURE :('There is a failure to allocate memory for ' 2021-07-09T03:20:31,321 'data store associated with image or buffer objects specified as arguments to kernel. '), 2021-07-09T03:20:31,321 CL_INVALID_EVENT_WAIT_LIST: ('event_wait_list is NULL and ' 2021-07-09T03:20:31,321 'num_events_in_wait_list > 0, or event_wait_list is not NULL and ' 2021-07-09T03:20:31,321 'num_events_in_wait_list is 0, or if event objects in event_wait_list are not valid events. '), 2021-07-09T03:20:31,322 CL_OUT_OF_HOST_MEMORY : ('There is a failure to allocate resources required by the' 2021-07-09T03:20:31,322 ^ 2021-07-09T03:20:31,322 ------------------------------------------------------------ 2021-07-09T03:20:31,322 opencl/queue.pyx:119:4: undeclared name not builtin: CL_OUT_OF_HOST_MEMORY 2021-07-09T03:20:31,322 Error compiling Cython file: 2021-07-09T03:20:31,322 ------------------------------------------------------------ 2021-07-09T03:20:31,322 ... 2021-07-09T03:20:31,323 def __cinit__(self): 2021-07-09T03:20:31,323 self.queue_id = NULL 2021-07-09T03:20:31,323 def __dealloc__(self): 2021-07-09T03:20:31,323 if self.queue_id != NULL: 2021-07-09T03:20:31,323 clReleaseCommandQueue(self.queue_id) 2021-07-09T03:20:31,323 ^ 2021-07-09T03:20:31,323 ------------------------------------------------------------ 2021-07-09T03:20:31,324 opencl/queue.pyx:147:12: undeclared name not builtin: clReleaseCommandQueue 2021-07-09T03:20:31,324 Error compiling Cython file: 2021-07-09T03:20:31,324 ------------------------------------------------------------ 2021-07-09T03:20:31,324 ... 2021-07-09T03:20:31,324 clReleaseCommandQueue(self.queue_id) 2021-07-09T03:20:31,324 self.queue_id = NULL 2021-07-09T03:20:31,325 def __init__(self, context, device=None, out_of_order_exec_mode=False, profiling=False): 2021-07-09T03:20:31,325 if not CyContext_Check(context): 2021-07-09T03:20:31,325 ^ 2021-07-09T03:20:31,325 ------------------------------------------------------------ 2021-07-09T03:20:31,325 opencl/queue.pyx:152:15: 'CyContext_Check' is not a constant, variable or function identifier 2021-07-09T03:20:31,326 Error compiling Cython file: 2021-07-09T03:20:31,326 ------------------------------------------------------------ 2021-07-09T03:20:31,326 ... 2021-07-09T03:20:31,326 raise TypeError("must specify a device. context does does not contain a unique device (has %i)" % (context.num_devices)) 2021-07-09T03:20:31,326 device = context.devices[0] 2021-07-09T03:20:31,326 cdef cl_command_queue_properties properties = 0 2021-07-09T03:20:31,327 properties |= CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE if out_of_order_exec_mode else 0 2021-07-09T03:20:31,327 ^ 2021-07-09T03:20:31,327 ------------------------------------------------------------ 2021-07-09T03:20:31,327 opencl/queue.pyx:162:22: undeclared name not builtin: CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE 2021-07-09T03:20:31,327 Error compiling Cython file: 2021-07-09T03:20:31,327 ------------------------------------------------------------ 2021-07-09T03:20:31,327 ... 2021-07-09T03:20:31,328 device = context.devices[0] 2021-07-09T03:20:31,328 cdef cl_command_queue_properties properties = 0 2021-07-09T03:20:31,328 properties |= CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE if out_of_order_exec_mode else 0 2021-07-09T03:20:31,328 properties |= CL_QUEUE_PROFILING_ENABLE if profiling else 0 2021-07-09T03:20:31,328 ^ 2021-07-09T03:20:31,328 ------------------------------------------------------------ 2021-07-09T03:20:31,329 opencl/queue.pyx:163:22: undeclared name not builtin: CL_QUEUE_PROFILING_ENABLE 2021-07-09T03:20:31,329 Error compiling Cython file: 2021-07-09T03:20:31,329 ------------------------------------------------------------ 2021-07-09T03:20:31,329 ... 2021-07-09T03:20:31,329 cdef cl_command_queue_properties properties = 0 2021-07-09T03:20:31,329 properties |= CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE if out_of_order_exec_mode else 0 2021-07-09T03:20:31,330 properties |= CL_QUEUE_PROFILING_ENABLE if profiling else 0 2021-07-09T03:20:31,330 cdef cl_int err_code = CL_SUCCESS 2021-07-09T03:20:31,330 ^ 2021-07-09T03:20:31,330 ------------------------------------------------------------ 2021-07-09T03:20:31,330 opencl/queue.pyx:165:31: undeclared name not builtin: CL_SUCCESS 2021-07-09T03:20:31,330 Error compiling Cython file: 2021-07-09T03:20:31,331 ------------------------------------------------------------ 2021-07-09T03:20:31,331 ... 2021-07-09T03:20:31,331 properties |= CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE if out_of_order_exec_mode else 0 2021-07-09T03:20:31,331 properties |= CL_QUEUE_PROFILING_ENABLE if profiling else 0 2021-07-09T03:20:31,331 cdef cl_int err_code = CL_SUCCESS 2021-07-09T03:20:31,331 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:31,331 ^ 2021-07-09T03:20:31,332 ------------------------------------------------------------ 2021-07-09T03:20:31,332 opencl/queue.pyx:167:30: 'CyContext_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:31,332 Error compiling Cython file: 2021-07-09T03:20:31,332 ------------------------------------------------------------ 2021-07-09T03:20:31,332 ... 2021-07-09T03:20:31,332 properties |= CL_QUEUE_PROFILING_ENABLE if profiling else 0 2021-07-09T03:20:31,333 cdef cl_int err_code = CL_SUCCESS 2021-07-09T03:20:31,333 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:31,333 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:31,333 ^ 2021-07-09T03:20:31,333 ------------------------------------------------------------ 2021-07-09T03:20:31,334 opencl/queue.pyx:168:38: 'CyDevice_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:31,334 Error compiling Cython file: 2021-07-09T03:20:31,334 ------------------------------------------------------------ 2021-07-09T03:20:31,334 ... 2021-07-09T03:20:31,334 cdef cl_int err_code = CL_SUCCESS 2021-07-09T03:20:31,335 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:31,335 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:31,335 self.queue_id = clCreateCommandQueue(ctx, device_id, properties, & err_code) 2021-07-09T03:20:31,335 ^ 2021-07-09T03:20:31,336 ------------------------------------------------------------ 2021-07-09T03:20:31,336 opencl/queue.pyx:170:24: undeclared name not builtin: clCreateCommandQueue 2021-07-09T03:20:31,336 Error compiling Cython file: 2021-07-09T03:20:31,336 ------------------------------------------------------------ 2021-07-09T03:20:31,336 ... 2021-07-09T03:20:31,336 ''' 2021-07-09T03:20:31,337 def __get__(self): 2021-07-09T03:20:31,337 cdef cl_int err_code 2021-07-09T03:20:31,337 cdef cl_device_id device_id 2021-07-09T03:20:31,337 err_code = clGetCommandQueueInfo (self.queue_id, CL_QUEUE_DEVICE, sizeof(cl_device_id), & device_id, NULL) 2021-07-09T03:20:31,337 ^ 2021-07-09T03:20:31,337 ------------------------------------------------------------ 2021-07-09T03:20:31,337 opencl/queue.pyx:182:23: undeclared name not builtin: clGetCommandQueueInfo 2021-07-09T03:20:31,338 Error compiling Cython file: 2021-07-09T03:20:31,338 ------------------------------------------------------------ 2021-07-09T03:20:31,338 ... 2021-07-09T03:20:31,338 ''' 2021-07-09T03:20:31,338 def __get__(self): 2021-07-09T03:20:31,338 cdef cl_int err_code 2021-07-09T03:20:31,338 cdef cl_device_id device_id 2021-07-09T03:20:31,339 err_code = clGetCommandQueueInfo (self.queue_id, CL_QUEUE_DEVICE, sizeof(cl_device_id), & device_id, NULL) 2021-07-09T03:20:31,339 ^ 2021-07-09T03:20:31,339 ------------------------------------------------------------ 2021-07-09T03:20:31,339 opencl/queue.pyx:182:61: undeclared name not builtin: CL_QUEUE_DEVICE 2021-07-09T03:20:31,339 Error compiling Cython file: 2021-07-09T03:20:31,339 ------------------------------------------------------------ 2021-07-09T03:20:31,340 ... 2021-07-09T03:20:31,340 ''' 2021-07-09T03:20:31,340 def __get__(self): 2021-07-09T03:20:31,340 cdef cl_int err_code 2021-07-09T03:20:31,340 cdef cl_device_id device_id 2021-07-09T03:20:31,340 err_code = clGetCommandQueueInfo (self.queue_id, CL_QUEUE_DEVICE, sizeof(cl_device_id), & device_id, NULL) 2021-07-09T03:20:31,340 ^ 2021-07-09T03:20:31,340 ------------------------------------------------------------ 2021-07-09T03:20:31,341 opencl/queue.pyx:182:97: undeclared name not builtin: cl_device_id 2021-07-09T03:20:31,341 Error compiling Cython file: 2021-07-09T03:20:31,341 ------------------------------------------------------------ 2021-07-09T03:20:31,341 ... 2021-07-09T03:20:31,341 ''' 2021-07-09T03:20:31,341 def __get__(self): 2021-07-09T03:20:31,341 cdef cl_int err_code 2021-07-09T03:20:31,342 cdef cl_device_id device_id 2021-07-09T03:20:31,342 err_code = clGetCommandQueueInfo (self.queue_id, CL_QUEUE_DEVICE, sizeof(cl_device_id), & device_id, NULL) 2021-07-09T03:20:31,342 ^ 2021-07-09T03:20:31,342 ------------------------------------------------------------ 2021-07-09T03:20:31,342 opencl/queue.pyx:182:113: Cannot convert 'void *' to Python object 2021-07-09T03:20:31,342 Error compiling Cython file: 2021-07-09T03:20:31,343 ------------------------------------------------------------ 2021-07-09T03:20:31,343 ... 2021-07-09T03:20:31,343 err_code = clGetCommandQueueInfo (self.queue_id, CL_QUEUE_DEVICE, sizeof(cl_device_id), & device_id, NULL) 2021-07-09T03:20:31,343 if err_code != CL_SUCCESS: 2021-07-09T03:20:31,343 raise OpenCLException(err_code) 2021-07-09T03:20:31,343 return CyDevice_Create(device_id) 2021-07-09T03:20:31,343 ^ 2021-07-09T03:20:31,344 ------------------------------------------------------------ 2021-07-09T03:20:31,344 opencl/queue.pyx:187:19: 'CyDevice_Create' is not a constant, variable or function identifier 2021-07-09T03:20:31,344 Error compiling Cython file: 2021-07-09T03:20:31,344 ------------------------------------------------------------ 2021-07-09T03:20:31,344 ... 2021-07-09T03:20:31,345 def __get__(self): 2021-07-09T03:20:31,345 cdef cl_int err_code 2021-07-09T03:20:31,345 cdef cl_context context_id 2021-07-09T03:20:31,345 err_code = clGetCommandQueueInfo (self.queue_id, CL_QUEUE_CONTEXT, sizeof(cl_context), & context_id, NULL) 2021-07-09T03:20:31,345 ^ 2021-07-09T03:20:31,345 ------------------------------------------------------------ 2021-07-09T03:20:31,346 opencl/queue.pyx:198:61: undeclared name not builtin: CL_QUEUE_CONTEXT 2021-07-09T03:20:31,346 Error compiling Cython file: 2021-07-09T03:20:31,346 ------------------------------------------------------------ 2021-07-09T03:20:31,346 ... 2021-07-09T03:20:31,346 def __get__(self): 2021-07-09T03:20:31,346 cdef cl_int err_code 2021-07-09T03:20:31,346 cdef cl_context context_id 2021-07-09T03:20:31,347 err_code = clGetCommandQueueInfo (self.queue_id, CL_QUEUE_CONTEXT, sizeof(cl_context), & context_id, NULL) 2021-07-09T03:20:31,347 ^ 2021-07-09T03:20:31,347 ------------------------------------------------------------ 2021-07-09T03:20:31,347 opencl/queue.pyx:198:96: undeclared name not builtin: cl_context 2021-07-09T03:20:31,347 Error compiling Cython file: 2021-07-09T03:20:31,347 ------------------------------------------------------------ 2021-07-09T03:20:31,348 ... 2021-07-09T03:20:31,348 def __get__(self): 2021-07-09T03:20:31,348 cdef cl_int err_code 2021-07-09T03:20:31,348 cdef cl_context context_id 2021-07-09T03:20:31,348 err_code = clGetCommandQueueInfo (self.queue_id, CL_QUEUE_CONTEXT, sizeof(cl_context), & context_id, NULL) 2021-07-09T03:20:31,348 ^ 2021-07-09T03:20:31,348 ------------------------------------------------------------ 2021-07-09T03:20:31,349 opencl/queue.pyx:198:113: Cannot convert 'void *' to Python object 2021-07-09T03:20:31,349 Error compiling Cython file: 2021-07-09T03:20:31,349 ------------------------------------------------------------ 2021-07-09T03:20:31,349 ... 2021-07-09T03:20:31,349 err_code = clGetCommandQueueInfo (self.queue_id, CL_QUEUE_CONTEXT, sizeof(cl_context), & context_id, NULL) 2021-07-09T03:20:31,349 if err_code != CL_SUCCESS: 2021-07-09T03:20:31,350 raise OpenCLException(err_code) 2021-07-09T03:20:31,350 return CyContext_Create(context_id) 2021-07-09T03:20:31,350 ^ 2021-07-09T03:20:31,350 ------------------------------------------------------------ 2021-07-09T03:20:31,350 opencl/queue.pyx:203:19: 'CyContext_Create' is not a constant, variable or function identifier 2021-07-09T03:20:31,350 Error compiling Cython file: 2021-07-09T03:20:31,351 ------------------------------------------------------------ 2021-07-09T03:20:31,351 ... 2021-07-09T03:20:31,351 ''' 2021-07-09T03:20:31,351 cdef cl_int err_code 2021-07-09T03:20:31,351 cdef cl_command_queue queue_id = self.queue_id 2021-07-09T03:20:31,351 with nogil: 2021-07-09T03:20:31,351 err_code = clEnqueueBarrier(queue_id) 2021-07-09T03:20:31,351 ^ 2021-07-09T03:20:31,352 ------------------------------------------------------------ 2021-07-09T03:20:31,352 opencl/queue.pyx:218:23: undeclared name not builtin: clEnqueueBarrier 2021-07-09T03:20:31,352 Error compiling Cython file: 2021-07-09T03:20:31,352 ------------------------------------------------------------ 2021-07-09T03:20:31,352 ... 2021-07-09T03:20:31,352 complete after clFlush returns. 2021-07-09T03:20:31,352 ''' 2021-07-09T03:20:31,353 cdef cl_int err_code 2021-07-09T03:20:31,353 err_code = clFlush(self.queue_id) 2021-07-09T03:20:31,353 ^ 2021-07-09T03:20:31,353 ------------------------------------------------------------ 2021-07-09T03:20:31,353 opencl/queue.pyx:235:19: undeclared name not builtin: clFlush 2021-07-09T03:20:31,354 Error compiling Cython file: 2021-07-09T03:20:31,354 ------------------------------------------------------------ 2021-07-09T03:20:31,354 ... 2021-07-09T03:20:31,354 ''' 2021-07-09T03:20:31,354 cdef cl_int err_code 2021-07-09T03:20:31,354 cdef cl_command_queue queue_id = self.queue_id 2021-07-09T03:20:31,354 with nogil: 2021-07-09T03:20:31,355 err_code = clFinish(queue_id) 2021-07-09T03:20:31,355 ^ 2021-07-09T03:20:31,355 ------------------------------------------------------------ 2021-07-09T03:20:31,355 opencl/queue.pyx:253:23: undeclared name not builtin: clFinish 2021-07-09T03:20:31,355 Error compiling Cython file: 2021-07-09T03:20:31,355 ------------------------------------------------------------ 2021-07-09T03:20:31,356 ... 2021-07-09T03:20:31,356 ''' 2021-07-09T03:20:31,356 cdef cl_event event_id = NULL 2021-07-09T03:20:31,356 cdef cl_int err_code 2021-07-09T03:20:31,356 err_code = clEnqueueMarker(self.queue_id, & event_id) 2021-07-09T03:20:31,356 ^ 2021-07-09T03:20:31,356 ------------------------------------------------------------ 2021-07-09T03:20:31,357 opencl/queue.pyx:270:19: undeclared name not builtin: clEnqueueMarker 2021-07-09T03:20:31,357 Error compiling Cython file: 2021-07-09T03:20:31,357 ------------------------------------------------------------ 2021-07-09T03:20:31,357 ... 2021-07-09T03:20:31,357 err_code = clEnqueueMarker(self.queue_id, & event_id) 2021-07-09T03:20:31,357 if err_code != CL_SUCCESS: 2021-07-09T03:20:31,358 raise OpenCLException(err_code) 2021-07-09T03:20:31,358 return PyEvent_New(event_id) 2021-07-09T03:20:31,358 ^ 2021-07-09T03:20:31,358 ------------------------------------------------------------ 2021-07-09T03:20:31,358 opencl/queue.pyx:275:15: 'PyEvent_New' is not a constant, variable or function identifier 2021-07-09T03:20:31,358 Error compiling Cython file: 2021-07-09T03:20:31,359 ------------------------------------------------------------ 2021-07-09T03:20:31,359 ... 2021-07-09T03:20:31,359 events = (events[0],) 2021-07-09T03:20:31,359 cdef cl_event * event_wait_list 2021-07-09T03:20:31,359 cdef cl_uint num_events_in_wait_list = _make_wait_list(events, & event_wait_list) 2021-07-09T03:20:31,359 if event_wait_list == < cl_event *> 1: 2021-07-09T03:20:31,359 ^ 2021-07-09T03:20:31,360 ------------------------------------------------------------ 2021-07-09T03:20:31,360 opencl/queue.pyx:299:32: 'cl_event' is not a type identifier 2021-07-09T03:20:31,360 Error compiling Cython file: 2021-07-09T03:20:31,360 ------------------------------------------------------------ 2021-07-09T03:20:31,360 ... 2021-07-09T03:20:31,360 if event_wait_list == < cl_event *> 1: 2021-07-09T03:20:31,360 raise Exception("One of the items in argument 'wait_on' is not a valid event") 2021-07-09T03:20:31,361 cdef cl_uint err_code 2021-07-09T03:20:31,361 err_code = clEnqueueWaitForEvents(self.queue_id, num_events_in_wait_list, event_wait_list) 2021-07-09T03:20:31,361 ^ 2021-07-09T03:20:31,361 ------------------------------------------------------------ 2021-07-09T03:20:31,361 opencl/queue.pyx:304:19: undeclared name not builtin: clEnqueueWaitForEvents 2021-07-09T03:20:31,362 Error compiling Cython file: 2021-07-09T03:20:31,362 ------------------------------------------------------------ 2021-07-09T03:20:31,362 ... 2021-07-09T03:20:31,362 cdef cl_event * event_wait_list = NULL 2021-07-09T03:20:31,362 cdef void * _args = < void *> user_data 2021-07-09T03:20:31,362 cdef size_t cb_args = sizeof(UserData) 2021-07-09T03:20:31,363 err_code = clEnqueueNativeKernel(self.queue_id, 2021-07-09T03:20:31,363 ^ 2021-07-09T03:20:31,363 ------------------------------------------------------------ 2021-07-09T03:20:31,363 opencl/queue.pyx:345:19: undeclared name not builtin: clEnqueueNativeKernel 2021-07-09T03:20:31,363 Error compiling Cython file: 2021-07-09T03:20:31,363 ------------------------------------------------------------ 2021-07-09T03:20:31,364 ... 2021-07-09T03:20:31,364 cdef void * _args = < void *> user_data 2021-07-09T03:20:31,364 cdef size_t cb_args = sizeof(UserData) 2021-07-09T03:20:31,364 err_code = clEnqueueNativeKernel(self.queue_id, 2021-07-09T03:20:31,364 < void *>& user_func, 2021-07-09T03:20:31,364 ^ 2021-07-09T03:20:31,364 ------------------------------------------------------------ 2021-07-09T03:20:31,365 opencl/queue.pyx:346:38: Cannot convert 'void *' to Python object 2021-07-09T03:20:31,365 Error compiling Cython file: 2021-07-09T03:20:31,365 ------------------------------------------------------------ 2021-07-09T03:20:31,365 ... 2021-07-09T03:20:31,365 cdef void * _args = < void *> user_data 2021-07-09T03:20:31,365 cdef size_t cb_args = sizeof(UserData) 2021-07-09T03:20:31,366 err_code = clEnqueueNativeKernel(self.queue_id, 2021-07-09T03:20:31,366 < void *>& user_func, 2021-07-09T03:20:31,366 _args, 2021-07-09T03:20:31,366 ^ 2021-07-09T03:20:31,366 ------------------------------------------------------------ 2021-07-09T03:20:31,366 opencl/queue.pyx:347:38: Cannot convert 'void *' to Python object 2021-07-09T03:20:31,366 Error compiling Cython file: 2021-07-09T03:20:31,367 ------------------------------------------------------------ 2021-07-09T03:20:31,367 ... 2021-07-09T03:20:31,367 < void *>& user_func, 2021-07-09T03:20:31,367 _args, 2021-07-09T03:20:31,367 cb_args, 2021-07-09T03:20:31,367 nbuffers, 2021-07-09T03:20:31,367 mem_list, 2021-07-09T03:20:31,367 user_data.args_mem_loc, 2021-07-09T03:20:31,367 ^ 2021-07-09T03:20:31,368 ------------------------------------------------------------ 2021-07-09T03:20:31,368 opencl/queue.pyx:351:47: Cannot convert 'void **' to Python object 2021-07-09T03:20:31,368 Error compiling Cython file: 2021-07-09T03:20:31,368 ------------------------------------------------------------ 2021-07-09T03:20:31,368 ... 2021-07-09T03:20:31,368 & event_id) 2021-07-09T03:20:31,369 if err_code != CL_SUCCESS: 2021-07-09T03:20:31,369 raise OpenCLException(err_code) 2021-07-09T03:20:31,369 return PyEvent_New(event_id) 2021-07-09T03:20:31,369 ^ 2021-07-09T03:20:31,369 ------------------------------------------------------------ 2021-07-09T03:20:31,369 opencl/queue.pyx:359:15: 'PyEvent_New' is not a constant, variable or function identifier 2021-07-09T03:20:31,370 Error compiling Cython file: 2021-07-09T03:20:31,370 ------------------------------------------------------------ 2021-07-09T03:20:31,370 ... 2021-07-09T03:20:31,370 cdef cl_event * event_wait_list 2021-07-09T03:20:31,370 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:31,370 cdef cl_int err_code 2021-07-09T03:20:31,370 cdef cl_kernel kernel_id = KernelFromPyKernel(kernel) 2021-07-09T03:20:31,371 ^ 2021-07-09T03:20:31,371 ------------------------------------------------------------ 2021-07-09T03:20:31,371 opencl/queue.pyx:376:35: 'KernelFromPyKernel' is not a constant, variable or function identifier 2021-07-09T03:20:31,371 Error compiling Cython file: 2021-07-09T03:20:31,371 ------------------------------------------------------------ 2021-07-09T03:20:31,371 ... 2021-07-09T03:20:31,371 cdef cl_int err_code 2021-07-09T03:20:31,372 cdef cl_kernel kernel_id = KernelFromPyKernel(kernel) 2021-07-09T03:20:31,372 cdef cl_event event_id = NULL 2021-07-09T03:20:31,372 err_code = clEnqueueTask(self.queue_id, kernel_id, num_events_in_wait_list, event_wait_list, & event_id) 2021-07-09T03:20:31,372 ^ 2021-07-09T03:20:31,372 ------------------------------------------------------------ 2021-07-09T03:20:31,372 opencl/queue.pyx:379:19: undeclared name not builtin: clEnqueueTask 2021-07-09T03:20:31,373 Error compiling Cython file: 2021-07-09T03:20:31,373 ------------------------------------------------------------ 2021-07-09T03:20:31,373 ... 2021-07-09T03:20:31,373 err_code = clEnqueueTask(self.queue_id, kernel_id, num_events_in_wait_list, event_wait_list, & event_id) 2021-07-09T03:20:31,373 if err_code != CL_SUCCESS: 2021-07-09T03:20:31,373 raise OpenCLException(err_code, nd_range_kernel_errors) 2021-07-09T03:20:31,374 return PyEvent_New(event_id) 2021-07-09T03:20:31,374 ^ 2021-07-09T03:20:31,374 ------------------------------------------------------------ 2021-07-09T03:20:31,374 opencl/queue.pyx:384:15: 'PyEvent_New' is not a constant, variable or function identifier 2021-07-09T03:20:31,374 Error compiling Cython file: 2021-07-09T03:20:31,374 ------------------------------------------------------------ 2021-07-09T03:20:31,374 ... 2021-07-09T03:20:31,375 appropriate work-group instances 2021-07-09T03:20:31,375 :param wait_on: A list of events 2021-07-09T03:20:31,375 ''' 2021-07-09T03:20:31,375 cdef cl_kernel kernel_id = KernelFromPyKernel(kernel) 2021-07-09T03:20:31,375 ^ 2021-07-09T03:20:31,375 ------------------------------------------------------------ 2021-07-09T03:20:31,376 opencl/queue.pyx:407:35: 'KernelFromPyKernel' is not a constant, variable or function identifier 2021-07-09T03:20:31,376 Error compiling Cython file: 2021-07-09T03:20:31,376 ------------------------------------------------------------ 2021-07-09T03:20:31,376 ... 2021-07-09T03:20:31,376 cdef cl_event * event_wait_list 2021-07-09T03:20:31,376 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:31,376 cdef cl_int err_code 2021-07-09T03:20:31,377 err_code = clEnqueueNDRangeKernel(self.queue_id, kernel_id, 2021-07-09T03:20:31,377 ^ 2021-07-09T03:20:31,377 ------------------------------------------------------------ 2021-07-09T03:20:31,377 opencl/queue.pyx:434:19: undeclared name not builtin: clEnqueueNDRangeKernel 2021-07-09T03:20:31,377 Error compiling Cython file: 2021-07-09T03:20:31,377 ------------------------------------------------------------ 2021-07-09T03:20:31,378 ... 2021-07-09T03:20:31,378 cdef cl_event * event_wait_list 2021-07-09T03:20:31,378 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:31,378 cdef cl_int err_code 2021-07-09T03:20:31,378 err_code = clEnqueueNDRangeKernel(self.queue_id, kernel_id, 2021-07-09T03:20:31,378 work_dim, goffset, gsize, lsize, 2021-07-09T03:20:31,378 ^ 2021-07-09T03:20:31,379 ------------------------------------------------------------ 2021-07-09T03:20:31,379 opencl/queue.pyx:435:52: Cannot convert 'size_t *' to Python object 2021-07-09T03:20:31,379 Error compiling Cython file: 2021-07-09T03:20:31,379 ------------------------------------------------------------ 2021-07-09T03:20:31,379 ... 2021-07-09T03:20:31,379 cdef cl_event * event_wait_list 2021-07-09T03:20:31,379 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:31,380 cdef cl_int err_code 2021-07-09T03:20:31,380 err_code = clEnqueueNDRangeKernel(self.queue_id, kernel_id, 2021-07-09T03:20:31,380 work_dim, goffset, gsize, lsize, 2021-07-09T03:20:31,380 ^ 2021-07-09T03:20:31,380 ------------------------------------------------------------ 2021-07-09T03:20:31,380 opencl/queue.pyx:435:61: Cannot convert 'size_t *' to Python object 2021-07-09T03:20:31,380 Error compiling Cython file: 2021-07-09T03:20:31,381 ------------------------------------------------------------ 2021-07-09T03:20:31,381 ... 2021-07-09T03:20:31,381 cdef cl_event * event_wait_list 2021-07-09T03:20:31,381 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:31,381 cdef cl_int err_code 2021-07-09T03:20:31,381 err_code = clEnqueueNDRangeKernel(self.queue_id, kernel_id, 2021-07-09T03:20:31,381 work_dim, goffset, gsize, lsize, 2021-07-09T03:20:31,381 ^ 2021-07-09T03:20:31,382 ------------------------------------------------------------ 2021-07-09T03:20:31,382 opencl/queue.pyx:435:68: Cannot convert 'size_t *' to Python object 2021-07-09T03:20:31,382 Error compiling Cython file: 2021-07-09T03:20:31,382 ------------------------------------------------------------ 2021-07-09T03:20:31,382 ... 2021-07-09T03:20:31,382 raise OpenCLException(err_code, msg=msg) 2021-07-09T03:20:31,383 raise OpenCLException(err_code, nd_range_kernel_errors) 2021-07-09T03:20:31,383 return PyEvent_New(event_id) 2021-07-09T03:20:31,383 ^ 2021-07-09T03:20:31,383 ------------------------------------------------------------ 2021-07-09T03:20:31,383 opencl/queue.pyx:465:15: 'PyEvent_New' is not a constant, variable or function identifier 2021-07-09T03:20:31,384 Error compiling Cython file: 2021-07-09T03:20:31,384 ------------------------------------------------------------ 2021-07-09T03:20:31,384 ... 2021-07-09T03:20:31,384 cdef cl_int err_code 2021-07-09T03:20:31,384 cdef cl_event event_id = NULL 2021-07-09T03:20:31,384 cdef cl_event * event_wait_list 2021-07-09T03:20:31,384 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:31,385 if not CyMemoryObject_Check(source): 2021-07-09T03:20:31,385 ^ 2021-07-09T03:20:31,385 ------------------------------------------------------------ 2021-07-09T03:20:31,385 opencl/queue.pyx:486:15: 'CyMemoryObject_Check' is not a constant, variable or function identifier 2021-07-09T03:20:31,385 Error compiling Cython file: 2021-07-09T03:20:31,385 ------------------------------------------------------------ 2021-07-09T03:20:31,385 ... 2021-07-09T03:20:31,386 cdef cl_event * event_wait_list 2021-07-09T03:20:31,386 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:31,386 if not CyMemoryObject_Check(source): 2021-07-09T03:20:31,386 raise TypeError("Argument 'source' must be a valid memory object") 2021-07-09T03:20:31,386 if not CyMemoryObject_Check(dest): 2021-07-09T03:20:31,386 ^ 2021-07-09T03:20:31,386 ------------------------------------------------------------ 2021-07-09T03:20:31,387 opencl/queue.pyx:488:15: 'CyMemoryObject_Check' is not a constant, variable or function identifier 2021-07-09T03:20:31,387 Error compiling Cython file: 2021-07-09T03:20:31,387 ------------------------------------------------------------ 2021-07-09T03:20:31,387 ... 2021-07-09T03:20:31,387 if not CyMemoryObject_Check(source): 2021-07-09T03:20:31,387 raise TypeError("Argument 'source' must be a valid memory object") 2021-07-09T03:20:31,387 if not CyMemoryObject_Check(dest): 2021-07-09T03:20:31,387 raise TypeError("Argument 'dest' must be a valid memory object") 2021-07-09T03:20:31,388 cdef cl_mem src_buffer = CyMemoryObject_GetID(source) 2021-07-09T03:20:31,388 ^ 2021-07-09T03:20:31,388 ------------------------------------------------------------ 2021-07-09T03:20:31,388 opencl/queue.pyx:491:33: 'CyMemoryObject_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:31,388 Error compiling Cython file: 2021-07-09T03:20:31,388 ------------------------------------------------------------ 2021-07-09T03:20:31,389 ... 2021-07-09T03:20:31,389 raise TypeError("Argument 'source' must be a valid memory object") 2021-07-09T03:20:31,389 if not CyMemoryObject_Check(dest): 2021-07-09T03:20:31,389 raise TypeError("Argument 'dest' must be a valid memory object") 2021-07-09T03:20:31,389 cdef cl_mem src_buffer = CyMemoryObject_GetID(source) 2021-07-09T03:20:31,389 cdef cl_mem dst_buffer = CyMemoryObject_GetID(dest) 2021-07-09T03:20:31,389 ^ 2021-07-09T03:20:31,389 ------------------------------------------------------------ 2021-07-09T03:20:31,390 opencl/queue.pyx:492:33: 'CyMemoryObject_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:31,390 Error compiling Cython file: 2021-07-09T03:20:31,390 ------------------------------------------------------------ 2021-07-09T03:20:31,390 ... 2021-07-09T03:20:31,390 raise TypeError("Argument 'dest' must be a valid memory object") 2021-07-09T03:20:31,390 cdef cl_mem src_buffer = CyMemoryObject_GetID(source) 2021-07-09T03:20:31,391 cdef cl_mem dst_buffer = CyMemoryObject_GetID(dest) 2021-07-09T03:20:31,391 err_code = clEnqueueCopyBuffer(self.queue_id, src_buffer, dst_buffer, src_offset, dst_offset, size, 2021-07-09T03:20:31,391 ^ 2021-07-09T03:20:31,391 ------------------------------------------------------------ 2021-07-09T03:20:31,391 opencl/queue.pyx:494:19: undeclared name not builtin: clEnqueueCopyBuffer 2021-07-09T03:20:31,391 Error compiling Cython file: 2021-07-09T03:20:31,392 ------------------------------------------------------------ 2021-07-09T03:20:31,392 ... 2021-07-09T03:20:31,392 num_events_in_wait_list, event_wait_list, & event_id) 2021-07-09T03:20:31,392 if err_code != CL_SUCCESS: 2021-07-09T03:20:31,392 raise OpenCLException(err_code, _enqueue_copy_buffer_errors) 2021-07-09T03:20:31,392 return PyEvent_New(event_id) 2021-07-09T03:20:31,393 ^ 2021-07-09T03:20:31,393 ------------------------------------------------------------ 2021-07-09T03:20:31,393 opencl/queue.pyx:500:15: 'PyEvent_New' is not a constant, variable or function identifier 2021-07-09T03:20:31,394 Error compiling Cython file: 2021-07-09T03:20:31,394 ------------------------------------------------------------ 2021-07-09T03:20:31,394 ... 2021-07-09T03:20:31,394 cdef cl_int err_code 2021-07-09T03:20:31,394 cdef cl_event event_id = NULL 2021-07-09T03:20:31,394 cdef cl_event * event_wait_list 2021-07-09T03:20:31,394 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:31,394 cdef cl_mem src_buffer = CyMemoryObject_GetID(source) 2021-07-09T03:20:31,395 ^ 2021-07-09T03:20:31,395 ------------------------------------------------------------ 2021-07-09T03:20:31,395 opencl/queue.pyx:513:33: 'CyMemoryObject_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:31,395 Error compiling Cython file: 2021-07-09T03:20:31,395 ------------------------------------------------------------ 2021-07-09T03:20:31,395 ... 2021-07-09T03:20:31,396 raise Exception("dest buffer must be at least `size` bytes") 2021-07-09T03:20:31,396 if not PyBuffer_IsContiguous(& dst_buffer, 'A'): 2021-07-09T03:20:31,396 raise Exception("dest buffer must be contiguous") 2021-07-09T03:20:31,396 err_code = clEnqueueReadBuffer(self.queue_id, src_buffer, blocking_read, src_offset, size, dst_buffer.buf, 2021-07-09T03:20:31,396 ^ 2021-07-09T03:20:31,396 ------------------------------------------------------------ 2021-07-09T03:20:31,397 opencl/queue.pyx:531:19: undeclared name not builtin: clEnqueueReadBuffer 2021-07-09T03:20:31,397 Error compiling Cython file: 2021-07-09T03:20:31,397 ------------------------------------------------------------ 2021-07-09T03:20:31,397 ... 2021-07-09T03:20:31,397 raise Exception("dest buffer must be at least `size` bytes") 2021-07-09T03:20:31,397 if not PyBuffer_IsContiguous(& dst_buffer, 'A'): 2021-07-09T03:20:31,397 raise Exception("dest buffer must be contiguous") 2021-07-09T03:20:31,398 err_code = clEnqueueReadBuffer(self.queue_id, src_buffer, blocking_read, src_offset, size, dst_buffer.buf, 2021-07-09T03:20:31,398 ^ 2021-07-09T03:20:31,398 ------------------------------------------------------------ 2021-07-09T03:20:31,398 opencl/queue.pyx:531:109: Cannot convert 'void *' to Python object 2021-07-09T03:20:31,398 Error compiling Cython file: 2021-07-09T03:20:31,398 ------------------------------------------------------------ 2021-07-09T03:20:31,399 ... 2021-07-09T03:20:31,399 num_events_in_wait_list, event_wait_list, & event_id) 2021-07-09T03:20:31,399 if err_code != CL_SUCCESS: 2021-07-09T03:20:31,399 raise OpenCLException(err_code, _enqueue_copy_buffer_errors) 2021-07-09T03:20:31,399 return PyEvent_New(event_id) 2021-07-09T03:20:31,399 ^ 2021-07-09T03:20:31,399 ------------------------------------------------------------ 2021-07-09T03:20:31,400 opencl/queue.pyx:537:15: 'PyEvent_New' is not a constant, variable or function identifier 2021-07-09T03:20:31,400 Error compiling Cython file: 2021-07-09T03:20:31,400 ------------------------------------------------------------ 2021-07-09T03:20:31,400 ... 2021-07-09T03:20:31,400 cdef cl_int err_code 2021-07-09T03:20:31,400 cdef cl_event event_id = NULL 2021-07-09T03:20:31,400 cdef cl_event * event_wait_list 2021-07-09T03:20:31,401 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:31,401 cdef cl_mem src_buffer = CyMemoryObject_GetID(source) 2021-07-09T03:20:31,401 ^ 2021-07-09T03:20:31,401 ------------------------------------------------------------ 2021-07-09T03:20:31,401 opencl/queue.pyx:552:33: 'CyMemoryObject_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:31,401 Error compiling Cython file: 2021-07-09T03:20:31,402 ------------------------------------------------------------ 2021-07-09T03:20:31,402 ... 2021-07-09T03:20:31,402 raise Exception("dest buffer must be contiguous") 2021-07-09T03:20:31,402 if dst_buffer.readonly: 2021-07-09T03:20:31,402 raise Exception("host buffer must have write access") 2021-07-09T03:20:31,402 err_code = clEnqueueWriteBuffer(self.queue_id, src_buffer, blocking_read, src_offset, size, dst_buffer.buf, 2021-07-09T03:20:31,403 ^ 2021-07-09T03:20:31,403 ------------------------------------------------------------ 2021-07-09T03:20:31,403 opencl/queue.pyx:573:19: undeclared name not builtin: clEnqueueWriteBuffer 2021-07-09T03:20:31,403 Error compiling Cython file: 2021-07-09T03:20:31,403 ------------------------------------------------------------ 2021-07-09T03:20:31,403 ... 2021-07-09T03:20:31,403 raise Exception("dest buffer must be contiguous") 2021-07-09T03:20:31,404 if dst_buffer.readonly: 2021-07-09T03:20:31,404 raise Exception("host buffer must have write access") 2021-07-09T03:20:31,404 err_code = clEnqueueWriteBuffer(self.queue_id, src_buffer, blocking_read, src_offset, size, dst_buffer.buf, 2021-07-09T03:20:31,404 ^ 2021-07-09T03:20:31,404 ------------------------------------------------------------ 2021-07-09T03:20:31,405 opencl/queue.pyx:573:110: Cannot convert 'void *' to Python object 2021-07-09T03:20:31,405 Error compiling Cython file: 2021-07-09T03:20:31,405 ------------------------------------------------------------ 2021-07-09T03:20:31,405 ... 2021-07-09T03:20:31,405 PyBuffer_Release(& dst_buffer) 2021-07-09T03:20:31,405 if err_code != CL_SUCCESS: 2021-07-09T03:20:31,405 raise OpenCLException(err_code, _enqueue_copy_buffer_errors) 2021-07-09T03:20:31,406 return PyEvent_New(event_id) 2021-07-09T03:20:31,406 ^ 2021-07-09T03:20:31,406 ------------------------------------------------------------ 2021-07-09T03:20:31,406 opencl/queue.pyx:581:15: 'PyEvent_New' is not a constant, variable or function identifier 2021-07-09T03:20:31,406 Error compiling Cython file: 2021-07-09T03:20:31,406 ------------------------------------------------------------ 2021-07-09T03:20:31,407 ... 2021-07-09T03:20:31,407 cdef cl_event event_id = NULL 2021-07-09T03:20:31,407 cdef cl_event * event_wait_list 2021-07-09T03:20:31,407 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:31,407 cdef cl_mem src_buffer = CyMemoryObject_GetID(source) 2021-07-09T03:20:31,407 ^ 2021-07-09T03:20:31,407 ------------------------------------------------------------ 2021-07-09T03:20:31,408 opencl/queue.pyx:601:33: 'CyMemoryObject_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:31,408 Error compiling Cython file: 2021-07-09T03:20:31,408 ------------------------------------------------------------ 2021-07-09T03:20:31,408 ... 2021-07-09T03:20:31,408 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:31,409 cdef cl_mem src_buffer = CyMemoryObject_GetID(source) 2021-07-09T03:20:31,409 cdef cl_mem dst_buffer = CyMemoryObject_GetID(dest) 2021-07-09T03:20:31,409 ^ 2021-07-09T03:20:31,409 ------------------------------------------------------------ 2021-07-09T03:20:31,409 opencl/queue.pyx:603:33: 'CyMemoryObject_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:31,409 Error compiling Cython file: 2021-07-09T03:20:31,410 ------------------------------------------------------------ 2021-07-09T03:20:31,410 ... 2021-07-09T03:20:31,410 _dst_origin[i] = origin 2021-07-09T03:20:31,410 for i, size in enumerate(region): 2021-07-09T03:20:31,410 _region[i] = size 2021-07-09T03:20:31,410 err_code = clEnqueueCopyBufferRect(self.queue_id, src_buffer, dst_buffer, 2021-07-09T03:20:31,411 ^ 2021-07-09T03:20:31,411 ------------------------------------------------------------ 2021-07-09T03:20:31,411 opencl/queue.pyx:621:19: undeclared name not builtin: clEnqueueCopyBufferRect 2021-07-09T03:20:31,411 Error compiling Cython file: 2021-07-09T03:20:31,411 ------------------------------------------------------------ 2021-07-09T03:20:31,411 ... 2021-07-09T03:20:31,412 if err_code != CL_SUCCESS: 2021-07-09T03:20:31,412 raise OpenCLException(err_code, _enqueue_copy_buffer_errors) 2021-07-09T03:20:31,412 event = PyEvent_New(event_id) 2021-07-09T03:20:31,412 ^ 2021-07-09T03:20:31,412 ------------------------------------------------------------ 2021-07-09T03:20:31,412 opencl/queue.pyx:631:16: 'PyEvent_New' is not a constant, variable or function identifier 2021-07-09T03:20:31,413 Error compiling Cython file: 2021-07-09T03:20:31,413 ------------------------------------------------------------ 2021-07-09T03:20:31,413 ... 2021-07-09T03:20:31,413 cdef cl_uint num_events_in_wait_list = 0 2021-07-09T03:20:31,413 cdef cl_event * event_wait_list = NULL 2021-07-09T03:20:31,413 cdef cl_int err_code 2021-07-09T03:20:31,414 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,414 ^ 2021-07-09T03:20:31,414 ------------------------------------------------------------ 2021-07-09T03:20:31,414 opencl/queue.pyx:674:29: 'CyMemoryObject_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:31,414 Error compiling Cython file: 2021-07-09T03:20:31,414 ------------------------------------------------------------ 2021-07-09T03:20:31,415 ... 2021-07-09T03:20:31,415 cdef cl_int err_code 2021-07-09T03:20:31,415 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,415 cdef size_t mem_size = self.dview().mem_size 2021-07-09T03:20:31,415 with nogil: 2021-07-09T03:20:31,415 bytes = clEnqueueMapBuffer(self.command_queue, memobj, 2021-07-09T03:20:31,415 ^ 2021-07-09T03:20:31,416 ------------------------------------------------------------ 2021-07-09T03:20:31,416 opencl/queue.pyx:677:20: undeclared name not builtin: clEnqueueMapBuffer 2021-07-09T03:20:31,416 Error compiling Cython file: 2021-07-09T03:20:31,416 ------------------------------------------------------------ 2021-07-09T03:20:31,416 ... 2021-07-09T03:20:31,416 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,416 cdef size_t mem_size = self.dview().mem_size 2021-07-09T03:20:31,417 with nogil: 2021-07-09T03:20:31,417 bytes = clEnqueueMapBuffer(self.command_queue, memobj, 2021-07-09T03:20:31,417 self.blocking_map, self.map_flags, 0, mem_size, 2021-07-09T03:20:31,417 num_events_in_wait_list, event_wait_list, NULL, 2021-07-09T03:20:31,417 ^ 2021-07-09T03:20:31,417 ------------------------------------------------------------ 2021-07-09T03:20:31,417 opencl/queue.pyx:679:81: Cannot convert 'void *' to Python object 2021-07-09T03:20:31,418 Error compiling Cython file: 2021-07-09T03:20:31,418 ------------------------------------------------------------ 2021-07-09T03:20:31,418 ... 2021-07-09T03:20:31,418 cdef cl_int err_code 2021-07-09T03:20:31,418 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,418 cdef size_t mem_size = self.dview().mem_size 2021-07-09T03:20:31,418 with nogil: 2021-07-09T03:20:31,418 bytes = clEnqueueMapBuffer(self.command_queue, memobj, 2021-07-09T03:20:31,419 ^ 2021-07-09T03:20:31,419 ------------------------------------------------------------ 2021-07-09T03:20:31,419 opencl/queue.pyx:677:38: Cannot convert Python object to 'void *' 2021-07-09T03:20:31,419 Error compiling Cython file: 2021-07-09T03:20:31,419 ------------------------------------------------------------ 2021-07-09T03:20:31,419 ... 2021-07-09T03:20:31,420 cdef cl_int err_code 2021-07-09T03:20:31,420 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,420 cdef size_t mem_size = self.dview().mem_size 2021-07-09T03:20:31,420 with nogil: 2021-07-09T03:20:31,420 bytes = clEnqueueMapBuffer(self.command_queue, memobj, 2021-07-09T03:20:31,420 ^ 2021-07-09T03:20:31,420 ------------------------------------------------------------ 2021-07-09T03:20:31,421 opencl/queue.pyx:677:38: Storing unsafe C derivative of temporary Python reference 2021-07-09T03:20:31,421 Error compiling Cython file: 2021-07-09T03:20:31,421 ------------------------------------------------------------ 2021-07-09T03:20:31,421 ... 2021-07-09T03:20:31,421 def __exit__(self, *args): 2021-07-09T03:20:31,421 cdef cl_int err_code 2021-07-09T03:20:31,422 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,422 ^ 2021-07-09T03:20:31,422 ------------------------------------------------------------ 2021-07-09T03:20:31,422 opencl/queue.pyx:692:29: 'CyMemoryObject_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:31,422 Error compiling Cython file: 2021-07-09T03:20:31,422 ------------------------------------------------------------ 2021-07-09T03:20:31,423 ... 2021-07-09T03:20:31,423 cdef cl_int err_code 2021-07-09T03:20:31,423 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,423 err_code = clEnqueueUnmapMemObject(self.command_queue, memobj, self.bytes, 0, NULL, NULL) 2021-07-09T03:20:31,423 ^ 2021-07-09T03:20:31,423 ------------------------------------------------------------ 2021-07-09T03:20:31,424 opencl/queue.pyx:694:19: undeclared name not builtin: clEnqueueUnmapMemObject 2021-07-09T03:20:31,424 Error compiling Cython file: 2021-07-09T03:20:31,424 ------------------------------------------------------------ 2021-07-09T03:20:31,424 ... 2021-07-09T03:20:31,424 cdef cl_int err_code 2021-07-09T03:20:31,425 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,425 err_code = clEnqueueUnmapMemObject(self.command_queue, memobj, self.bytes, 0, NULL, NULL) 2021-07-09T03:20:31,425 ^ 2021-07-09T03:20:31,425 ------------------------------------------------------------ 2021-07-09T03:20:31,425 opencl/queue.pyx:694:75: Cannot convert 'void *' to Python object 2021-07-09T03:20:31,426 Error compiling Cython file: 2021-07-09T03:20:31,426 ------------------------------------------------------------ 2021-07-09T03:20:31,426 ... 2021-07-09T03:20:31,426 cdef cl_int err_code 2021-07-09T03:20:31,426 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,426 err_code = clEnqueueUnmapMemObject(self.command_queue, memobj, self.bytes, 0, NULL, NULL) 2021-07-09T03:20:31,427 ^ 2021-07-09T03:20:31,427 ------------------------------------------------------------ 2021-07-09T03:20:31,427 opencl/queue.pyx:694:86: Cannot convert 'void *' to Python object 2021-07-09T03:20:31,427 Error compiling Cython file: 2021-07-09T03:20:31,427 ------------------------------------------------------------ 2021-07-09T03:20:31,427 ... 2021-07-09T03:20:31,428 cdef cl_int err_code 2021-07-09T03:20:31,428 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,428 err_code = clEnqueueUnmapMemObject(self.command_queue, memobj, self.bytes, 0, NULL, NULL) 2021-07-09T03:20:31,428 ^ 2021-07-09T03:20:31,428 ------------------------------------------------------------ 2021-07-09T03:20:31,428 opencl/queue.pyx:694:92: Cannot convert 'void *' to Python object 2021-07-09T03:20:31,429 Error compiling Cython file: 2021-07-09T03:20:31,429 ------------------------------------------------------------ 2021-07-09T03:20:31,429 ... 2021-07-09T03:20:31,429 def __getbuffer__(self, Py_buffer * view, int flags): 2021-07-09T03:20:31,429 view.len = self.cb 2021-07-09T03:20:31,429 cdef Py_buffer buffer 2021-07-09T03:20:31,430 CyView_GetBuffer(self.dview(), & buffer) 2021-07-09T03:20:31,430 ^ 2021-07-09T03:20:31,430 ------------------------------------------------------------ 2021-07-09T03:20:31,430 opencl/queue.pyx:707:8: 'CyView_GetBuffer' is not a constant, variable or function identifier 2021-07-09T03:20:31,430 Error compiling Cython file: 2021-07-09T03:20:31,430 ------------------------------------------------------------ 2021-07-09T03:20:31,430 ... 2021-07-09T03:20:31,431 def __getbuffer__(self, Py_buffer * view, int flags): 2021-07-09T03:20:31,431 view.len = self.cb 2021-07-09T03:20:31,431 cdef Py_buffer buffer 2021-07-09T03:20:31,431 CyView_GetBuffer(self.dview(), & buffer) 2021-07-09T03:20:31,431 ^ 2021-07-09T03:20:31,431 ------------------------------------------------------------ 2021-07-09T03:20:31,432 opencl/queue.pyx:707:39: Cannot convert 'Py_buffer *' to Python object 2021-07-09T03:20:31,432 Error compiling Cython file: 2021-07-09T03:20:31,432 ------------------------------------------------------------ 2021-07-09T03:20:31,432 ... 2021-07-09T03:20:31,432 cdef Py_buffer buffer 2021-07-09T03:20:31,432 CyView_GetBuffer(self.dview(), & buffer) 2021-07-09T03:20:31,433 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,433 ^ 2021-07-09T03:20:31,433 ------------------------------------------------------------ 2021-07-09T03:20:31,433 opencl/queue.pyx:709:29: 'CyMemoryObject_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:31,433 Error compiling Cython file: 2021-07-09T03:20:31,433 ------------------------------------------------------------ 2021-07-09T03:20:31,434 ... 2021-07-09T03:20:31,434 cdef Py_buffer buffer 2021-07-09T03:20:31,434 CyView_GetBuffer(self.dview(), & buffer) 2021-07-09T03:20:31,434 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,434 writable = bool(self.map_flags & CL_MAP_WRITE) 2021-07-09T03:20:31,434 ^ 2021-07-09T03:20:31,435 ------------------------------------------------------------ 2021-07-09T03:20:31,435 opencl/queue.pyx:710:41: undeclared name not builtin: CL_MAP_WRITE 2021-07-09T03:20:31,435 Error compiling Cython file: 2021-07-09T03:20:31,435 ------------------------------------------------------------ 2021-07-09T03:20:31,435 ... 2021-07-09T03:20:31,435 cdef cl_uint num_events_in_wait_list = 0 2021-07-09T03:20:31,436 cdef cl_event * event_wait_list = NULL 2021-07-09T03:20:31,436 cdef cl_int err_code 2021-07-09T03:20:31,436 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,436 ^ 2021-07-09T03:20:31,436 ------------------------------------------------------------ 2021-07-09T03:20:31,436 opencl/queue.pyx:756:29: 'CyMemoryObject_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:31,437 Error compiling Cython file: 2021-07-09T03:20:31,437 ------------------------------------------------------------ 2021-07-09T03:20:31,437 ... 2021-07-09T03:20:31,437 cdef size_t region[3] 2021-07-09T03:20:31,437 cdef size_t image_row_pitch 2021-07-09T03:20:31,437 cdef size_t image_slice_pitch 2021-07-09T03:20:31,437 cdef Py_buffer buffer 2021-07-09T03:20:31,438 CyImage_GetBuffer(self.dview(), & buffer) 2021-07-09T03:20:31,438 ^ 2021-07-09T03:20:31,438 ------------------------------------------------------------ 2021-07-09T03:20:31,438 opencl/queue.pyx:763:8: 'CyImage_GetBuffer' is not a constant, variable or function identifier 2021-07-09T03:20:31,438 Error compiling Cython file: 2021-07-09T03:20:31,438 ------------------------------------------------------------ 2021-07-09T03:20:31,438 ... 2021-07-09T03:20:31,439 cdef size_t region[3] 2021-07-09T03:20:31,439 cdef size_t image_row_pitch 2021-07-09T03:20:31,439 cdef size_t image_slice_pitch 2021-07-09T03:20:31,439 cdef Py_buffer buffer 2021-07-09T03:20:31,439 CyImage_GetBuffer(self.dview(), & buffer) 2021-07-09T03:20:31,439 ^ 2021-07-09T03:20:31,439 ------------------------------------------------------------ 2021-07-09T03:20:31,439 opencl/queue.pyx:763:40: Cannot convert 'Py_buffer *' to Python object 2021-07-09T03:20:31,440 Error compiling Cython file: 2021-07-09T03:20:31,440 ------------------------------------------------------------ 2021-07-09T03:20:31,440 ... 2021-07-09T03:20:31,440 region[2] = 1 2021-07-09T03:20:31,440 if buffer.ndim == 3: 2021-07-09T03:20:31,440 region[2] = buffer.shape[2] 2021-07-09T03:20:31,441 bytes = clEnqueueMapImage(self.command_queue, memobj, self.blocking_map, self.map_flags, 2021-07-09T03:20:31,441 ^ 2021-07-09T03:20:31,441 ------------------------------------------------------------ 2021-07-09T03:20:31,441 opencl/queue.pyx:776:16: undeclared name not builtin: clEnqueueMapImage 2021-07-09T03:20:31,441 Error compiling Cython file: 2021-07-09T03:20:31,441 ------------------------------------------------------------ 2021-07-09T03:20:31,441 ... 2021-07-09T03:20:31,442 if buffer.ndim == 3: 2021-07-09T03:20:31,442 region[2] = buffer.shape[2] 2021-07-09T03:20:31,442 bytes = clEnqueueMapImage(self.command_queue, memobj, self.blocking_map, self.map_flags, 2021-07-09T03:20:31,442 origin, region, & image_row_pitch, & image_slice_pitch, 2021-07-09T03:20:31,442 ^ 2021-07-09T03:20:31,442 ------------------------------------------------------------ 2021-07-09T03:20:31,442 opencl/queue.pyx:777:50: Cannot convert 'size_t *' to Python object 2021-07-09T03:20:31,443 Error compiling Cython file: 2021-07-09T03:20:31,443 ------------------------------------------------------------ 2021-07-09T03:20:31,443 ... 2021-07-09T03:20:31,443 if buffer.ndim == 3: 2021-07-09T03:20:31,443 region[2] = buffer.shape[2] 2021-07-09T03:20:31,443 bytes = clEnqueueMapImage(self.command_queue, memobj, self.blocking_map, self.map_flags, 2021-07-09T03:20:31,444 origin, region, & image_row_pitch, & image_slice_pitch, 2021-07-09T03:20:31,444 ^ 2021-07-09T03:20:31,444 ------------------------------------------------------------ 2021-07-09T03:20:31,444 opencl/queue.pyx:777:69: Cannot convert 'size_t *' to Python object 2021-07-09T03:20:31,444 Error compiling Cython file: 2021-07-09T03:20:31,444 ------------------------------------------------------------ 2021-07-09T03:20:31,444 ... 2021-07-09T03:20:31,445 if buffer.ndim == 3: 2021-07-09T03:20:31,445 region[2] = buffer.shape[2] 2021-07-09T03:20:31,445 bytes = clEnqueueMapImage(self.command_queue, memobj, self.blocking_map, self.map_flags, 2021-07-09T03:20:31,445 origin, region, & image_row_pitch, & image_slice_pitch, 2021-07-09T03:20:31,445 num_events_in_wait_list, event_wait_list, NULL, 2021-07-09T03:20:31,445 ^ 2021-07-09T03:20:31,445 ------------------------------------------------------------ 2021-07-09T03:20:31,446 opencl/queue.pyx:778:76: Cannot convert 'void *' to Python object 2021-07-09T03:20:31,446 Error compiling Cython file: 2021-07-09T03:20:31,446 ------------------------------------------------------------ 2021-07-09T03:20:31,446 ... 2021-07-09T03:20:31,446 region[2] = 1 2021-07-09T03:20:31,446 if buffer.ndim == 3: 2021-07-09T03:20:31,446 region[2] = buffer.shape[2] 2021-07-09T03:20:31,447 bytes = clEnqueueMapImage(self.command_queue, memobj, self.blocking_map, self.map_flags, 2021-07-09T03:20:31,447 ^ 2021-07-09T03:20:31,447 ------------------------------------------------------------ 2021-07-09T03:20:31,447 opencl/queue.pyx:776:33: Cannot convert Python object to 'void *' 2021-07-09T03:20:31,447 Error compiling Cython file: 2021-07-09T03:20:31,447 ------------------------------------------------------------ 2021-07-09T03:20:31,448 ... 2021-07-09T03:20:31,448 region[2] = 1 2021-07-09T03:20:31,448 if buffer.ndim == 3: 2021-07-09T03:20:31,448 region[2] = buffer.shape[2] 2021-07-09T03:20:31,448 bytes = clEnqueueMapImage(self.command_queue, memobj, self.blocking_map, self.map_flags, 2021-07-09T03:20:31,448 ^ 2021-07-09T03:20:31,448 ------------------------------------------------------------ 2021-07-09T03:20:31,449 opencl/queue.pyx:776:33: Storing unsafe C derivative of temporary Python reference 2021-07-09T03:20:31,449 Error compiling Cython file: 2021-07-09T03:20:31,449 ------------------------------------------------------------ 2021-07-09T03:20:31,449 ... 2021-07-09T03:20:31,449 def __exit__(self, *args): 2021-07-09T03:20:31,449 cdef cl_int err_code 2021-07-09T03:20:31,450 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,450 ^ 2021-07-09T03:20:31,450 ------------------------------------------------------------ 2021-07-09T03:20:31,450 opencl/queue.pyx:796:29: 'CyMemoryObject_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:31,450 Error compiling Cython file: 2021-07-09T03:20:31,450 ------------------------------------------------------------ 2021-07-09T03:20:31,451 ... 2021-07-09T03:20:31,451 cdef cl_int err_code 2021-07-09T03:20:31,451 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,451 err_code = clEnqueueUnmapMemObject(self.command_queue, memobj, self.bytes, 0, NULL, NULL) 2021-07-09T03:20:31,451 ^ 2021-07-09T03:20:31,451 ------------------------------------------------------------ 2021-07-09T03:20:31,452 opencl/queue.pyx:798:75: Cannot convert 'void *' to Python object 2021-07-09T03:20:31,452 Error compiling Cython file: 2021-07-09T03:20:31,452 ------------------------------------------------------------ 2021-07-09T03:20:31,452 ... 2021-07-09T03:20:31,452 cdef cl_int err_code 2021-07-09T03:20:31,452 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,453 err_code = clEnqueueUnmapMemObject(self.command_queue, memobj, self.bytes, 0, NULL, NULL) 2021-07-09T03:20:31,453 ^ 2021-07-09T03:20:31,453 ------------------------------------------------------------ 2021-07-09T03:20:31,453 opencl/queue.pyx:798:86: Cannot convert 'void *' to Python object 2021-07-09T03:20:31,453 Error compiling Cython file: 2021-07-09T03:20:31,453 ------------------------------------------------------------ 2021-07-09T03:20:31,454 ... 2021-07-09T03:20:31,454 cdef cl_int err_code 2021-07-09T03:20:31,454 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,454 err_code = clEnqueueUnmapMemObject(self.command_queue, memobj, self.bytes, 0, NULL, NULL) 2021-07-09T03:20:31,454 ^ 2021-07-09T03:20:31,454 ------------------------------------------------------------ 2021-07-09T03:20:31,455 opencl/queue.pyx:798:92: Cannot convert 'void *' to Python object 2021-07-09T03:20:31,455 Error compiling Cython file: 2021-07-09T03:20:31,455 ------------------------------------------------------------ 2021-07-09T03:20:31,455 ... 2021-07-09T03:20:31,455 raise OpenCLException(err_code) 2021-07-09T03:20:31,455 def __getbuffer__(self, Py_buffer * view, int flags): 2021-07-09T03:20:31,456 cdef Py_buffer buffer 2021-07-09T03:20:31,456 CyImage_GetBuffer(self.dview(), & buffer) 2021-07-09T03:20:31,456 ^ 2021-07-09T03:20:31,456 ------------------------------------------------------------ 2021-07-09T03:20:31,456 opencl/queue.pyx:807:8: 'CyImage_GetBuffer' is not a constant, variable or function identifier 2021-07-09T03:20:31,456 Error compiling Cython file: 2021-07-09T03:20:31,457 ------------------------------------------------------------ 2021-07-09T03:20:31,457 ... 2021-07-09T03:20:31,457 raise OpenCLException(err_code) 2021-07-09T03:20:31,457 def __getbuffer__(self, Py_buffer * view, int flags): 2021-07-09T03:20:31,457 cdef Py_buffer buffer 2021-07-09T03:20:31,457 CyImage_GetBuffer(self.dview(), & buffer) 2021-07-09T03:20:31,457 ^ 2021-07-09T03:20:31,458 ------------------------------------------------------------ 2021-07-09T03:20:31,458 opencl/queue.pyx:807:40: Cannot convert 'Py_buffer *' to Python object 2021-07-09T03:20:31,458 Error compiling Cython file: 2021-07-09T03:20:31,458 ------------------------------------------------------------ 2021-07-09T03:20:31,458 ... 2021-07-09T03:20:31,458 event_wait_list_ptr[0] = NULL 2021-07-09T03:20:31,458 return 0 2021-07-09T03:20:31,458 cdef cl_uint num_events = len(wait_on) 2021-07-09T03:20:31,459 cdef cl_event event_id = NULL 2021-07-09T03:20:31,459 cdef cl_event * event_wait_list = < cl_event *> malloc(sizeof(cl_event) * num_events) 2021-07-09T03:20:31,459 ^ 2021-07-09T03:20:31,459 ------------------------------------------------------------ 2021-07-09T03:20:31,459 opencl/queue.pyx:833:40: 'cl_event' is not a type identifier 2021-07-09T03:20:31,459 Error compiling Cython file: 2021-07-09T03:20:31,460 ------------------------------------------------------------ 2021-07-09T03:20:31,460 ... 2021-07-09T03:20:31,460 event_wait_list_ptr[0] = NULL 2021-07-09T03:20:31,460 return 0 2021-07-09T03:20:31,460 cdef cl_uint num_events = len(wait_on) 2021-07-09T03:20:31,460 cdef cl_event event_id = NULL 2021-07-09T03:20:31,460 cdef cl_event * event_wait_list = < cl_event *> malloc(sizeof(cl_event) * num_events) 2021-07-09T03:20:31,460 ^ 2021-07-09T03:20:31,461 ------------------------------------------------------------ 2021-07-09T03:20:31,461 opencl/queue.pyx:833:74: undeclared name not builtin: cl_event 2021-07-09T03:20:31,461 Error compiling Cython file: 2021-07-09T03:20:31,461 ------------------------------------------------------------ 2021-07-09T03:20:31,461 ... 2021-07-09T03:20:31,461 cdef cl_event event_id = NULL 2021-07-09T03:20:31,462 cdef cl_event * event_wait_list = < cl_event *> malloc(sizeof(cl_event) * num_events) 2021-07-09T03:20:31,462 for i, pyevent in enumerate(wait_on): 2021-07-09T03:20:31,462 if not PyEvent_Check(pyevent): 2021-07-09T03:20:31,462 ^ 2021-07-09T03:20:31,462 ------------------------------------------------------------ 2021-07-09T03:20:31,462 opencl/queue.pyx:836:15: 'PyEvent_Check' is not a constant, variable or function identifier 2021-07-09T03:20:31,462 Error compiling Cython file: 2021-07-09T03:20:31,463 ------------------------------------------------------------ 2021-07-09T03:20:31,463 ... 2021-07-09T03:20:31,463 cdef cl_event * event_wait_list = < cl_event *> malloc(sizeof(cl_event) * num_events) 2021-07-09T03:20:31,463 for i, pyevent in enumerate(wait_on): 2021-07-09T03:20:31,463 if not PyEvent_Check(pyevent): 2021-07-09T03:20:31,463 event_wait_list_ptr[0] = < cl_event *> 1 2021-07-09T03:20:31,463 ^ 2021-07-09T03:20:31,464 ------------------------------------------------------------ 2021-07-09T03:20:31,464 opencl/queue.pyx:837:39: 'cl_event' is not a type identifier 2021-07-09T03:20:31,464 Error compiling Cython file: 2021-07-09T03:20:31,464 ------------------------------------------------------------ 2021-07-09T03:20:31,464 ... 2021-07-09T03:20:31,464 for i, pyevent in enumerate(wait_on): 2021-07-09T03:20:31,465 if not PyEvent_Check(pyevent): 2021-07-09T03:20:31,465 event_wait_list_ptr[0] = < cl_event *> 1 2021-07-09T03:20:31,465 return 0 2021-07-09T03:20:31,465 event_id = cl_eventFrom_PyEvent(pyevent) 2021-07-09T03:20:31,465 ^ 2021-07-09T03:20:31,465 ------------------------------------------------------------ 2021-07-09T03:20:31,465 opencl/queue.pyx:839:19: 'cl_eventFrom_PyEvent' is not a constant, variable or function identifier 2021-07-09T03:20:31,466 Error compiling Cython file: 2021-07-09T03:20:31,466 ------------------------------------------------------------ 2021-07-09T03:20:31,466 ... 2021-07-09T03:20:31,466 cdef api cl_command_queue CyQueue_GetID(object queue): 2021-07-09T03:20:31,466 return (< Queue > queue).queue_id 2021-07-09T03:20:31,466 cdef api object CyQueue_Create(cl_command_queue queue_id): 2021-07-09T03:20:31,466 cdef Queue queue = < Queue > Queue.__new__(Queue) 2021-07-09T03:20:31,466 clRetainCommandQueue(queue_id) 2021-07-09T03:20:31,466 ^ 2021-07-09T03:20:31,467 ------------------------------------------------------------ 2021-07-09T03:20:31,467 opencl/queue.pyx:855:4: undeclared name not builtin: clRetainCommandQueue 2021-07-09T03:20:31,680 Error compiling Cython file: 2021-07-09T03:20:31,680 ------------------------------------------------------------ 2021-07-09T03:20:31,681 ... 2021-07-09T03:20:31,681 ''' 2021-07-09T03:20:31,681 cdef cl_int err_code 2021-07-09T03:20:31,681 cdef cl_command_queue queue_id = self.queue_id 2021-07-09T03:20:31,681 with nogil: 2021-07-09T03:20:31,681 err_code = clEnqueueBarrier(queue_id) 2021-07-09T03:20:31,681 ^ 2021-07-09T03:20:31,681 ------------------------------------------------------------ 2021-07-09T03:20:31,682 opencl/queue.pyx:218:39: Coercion from Python not allowed without the GIL 2021-07-09T03:20:31,682 Error compiling Cython file: 2021-07-09T03:20:31,682 ------------------------------------------------------------ 2021-07-09T03:20:31,682 ... 2021-07-09T03:20:31,682 ''' 2021-07-09T03:20:31,682 cdef cl_int err_code 2021-07-09T03:20:31,683 cdef cl_command_queue queue_id = self.queue_id 2021-07-09T03:20:31,683 with nogil: 2021-07-09T03:20:31,683 err_code = clEnqueueBarrier(queue_id) 2021-07-09T03:20:31,683 ^ 2021-07-09T03:20:31,683 ------------------------------------------------------------ 2021-07-09T03:20:31,683 opencl/queue.pyx:218:39: Calling gil-requiring function not allowed without gil 2021-07-09T03:20:31,684 Error compiling Cython file: 2021-07-09T03:20:31,684 ------------------------------------------------------------ 2021-07-09T03:20:31,684 ... 2021-07-09T03:20:31,684 ''' 2021-07-09T03:20:31,684 cdef cl_int err_code 2021-07-09T03:20:31,684 cdef cl_command_queue queue_id = self.queue_id 2021-07-09T03:20:31,684 with nogil: 2021-07-09T03:20:31,684 err_code = clEnqueueBarrier(queue_id) 2021-07-09T03:20:31,685 ^ 2021-07-09T03:20:31,685 ------------------------------------------------------------ 2021-07-09T03:20:31,685 opencl/queue.pyx:218:23: Accessing Python global or builtin not allowed without gil 2021-07-09T03:20:31,685 Error compiling Cython file: 2021-07-09T03:20:31,685 ------------------------------------------------------------ 2021-07-09T03:20:31,685 ... 2021-07-09T03:20:31,685 ''' 2021-07-09T03:20:31,686 cdef cl_int err_code 2021-07-09T03:20:31,686 cdef cl_command_queue queue_id = self.queue_id 2021-07-09T03:20:31,686 with nogil: 2021-07-09T03:20:31,686 err_code = clEnqueueBarrier(queue_id) 2021-07-09T03:20:31,686 ^ 2021-07-09T03:20:31,686 ------------------------------------------------------------ 2021-07-09T03:20:31,686 opencl/queue.pyx:218:39: Constructing Python tuple not allowed without gil 2021-07-09T03:20:31,687 Error compiling Cython file: 2021-07-09T03:20:31,687 ------------------------------------------------------------ 2021-07-09T03:20:31,687 ... 2021-07-09T03:20:31,687 ''' 2021-07-09T03:20:31,687 cdef cl_int err_code 2021-07-09T03:20:31,687 cdef cl_command_queue queue_id = self.queue_id 2021-07-09T03:20:31,687 with nogil: 2021-07-09T03:20:31,687 err_code = clEnqueueBarrier(queue_id) 2021-07-09T03:20:31,688 ^ 2021-07-09T03:20:31,688 ------------------------------------------------------------ 2021-07-09T03:20:31,688 opencl/queue.pyx:218:40: Converting to Python object not allowed without gil 2021-07-09T03:20:31,688 Error compiling Cython file: 2021-07-09T03:20:31,688 ------------------------------------------------------------ 2021-07-09T03:20:31,688 ... 2021-07-09T03:20:31,689 ''' 2021-07-09T03:20:31,689 cdef cl_int err_code 2021-07-09T03:20:31,689 cdef cl_command_queue queue_id = self.queue_id 2021-07-09T03:20:31,689 with nogil: 2021-07-09T03:20:31,689 err_code = clFinish(queue_id) 2021-07-09T03:20:31,689 ^ 2021-07-09T03:20:31,689 ------------------------------------------------------------ 2021-07-09T03:20:31,689 opencl/queue.pyx:253:31: Coercion from Python not allowed without the GIL 2021-07-09T03:20:31,690 Error compiling Cython file: 2021-07-09T03:20:31,690 ------------------------------------------------------------ 2021-07-09T03:20:31,690 ... 2021-07-09T03:20:31,690 ''' 2021-07-09T03:20:31,690 cdef cl_int err_code 2021-07-09T03:20:31,690 cdef cl_command_queue queue_id = self.queue_id 2021-07-09T03:20:31,690 with nogil: 2021-07-09T03:20:31,691 err_code = clFinish(queue_id) 2021-07-09T03:20:31,691 ^ 2021-07-09T03:20:31,691 ------------------------------------------------------------ 2021-07-09T03:20:31,691 opencl/queue.pyx:253:31: Calling gil-requiring function not allowed without gil 2021-07-09T03:20:31,691 Error compiling Cython file: 2021-07-09T03:20:31,691 ------------------------------------------------------------ 2021-07-09T03:20:31,691 ... 2021-07-09T03:20:31,692 ''' 2021-07-09T03:20:31,692 cdef cl_int err_code 2021-07-09T03:20:31,692 cdef cl_command_queue queue_id = self.queue_id 2021-07-09T03:20:31,692 with nogil: 2021-07-09T03:20:31,692 err_code = clFinish(queue_id) 2021-07-09T03:20:31,692 ^ 2021-07-09T03:20:31,692 ------------------------------------------------------------ 2021-07-09T03:20:31,692 opencl/queue.pyx:253:23: Accessing Python global or builtin not allowed without gil 2021-07-09T03:20:31,693 Error compiling Cython file: 2021-07-09T03:20:31,693 ------------------------------------------------------------ 2021-07-09T03:20:31,693 ... 2021-07-09T03:20:31,693 ''' 2021-07-09T03:20:31,693 cdef cl_int err_code 2021-07-09T03:20:31,693 cdef cl_command_queue queue_id = self.queue_id 2021-07-09T03:20:31,693 with nogil: 2021-07-09T03:20:31,694 err_code = clFinish(queue_id) 2021-07-09T03:20:31,694 ^ 2021-07-09T03:20:31,694 ------------------------------------------------------------ 2021-07-09T03:20:31,694 opencl/queue.pyx:253:31: Constructing Python tuple not allowed without gil 2021-07-09T03:20:31,694 Error compiling Cython file: 2021-07-09T03:20:31,694 ------------------------------------------------------------ 2021-07-09T03:20:31,694 ... 2021-07-09T03:20:31,695 ''' 2021-07-09T03:20:31,695 cdef cl_int err_code 2021-07-09T03:20:31,695 cdef cl_command_queue queue_id = self.queue_id 2021-07-09T03:20:31,695 with nogil: 2021-07-09T03:20:31,695 err_code = clFinish(queue_id) 2021-07-09T03:20:31,695 ^ 2021-07-09T03:20:31,695 ------------------------------------------------------------ 2021-07-09T03:20:31,696 opencl/queue.pyx:253:32: Converting to Python object not allowed without gil 2021-07-09T03:20:31,699 Error compiling Cython file: 2021-07-09T03:20:31,699 ------------------------------------------------------------ 2021-07-09T03:20:31,699 ... 2021-07-09T03:20:31,699 cdef cl_int err_code 2021-07-09T03:20:31,699 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,699 cdef size_t mem_size = self.dview().mem_size 2021-07-09T03:20:31,700 with nogil: 2021-07-09T03:20:31,700 bytes = clEnqueueMapBuffer(self.command_queue, memobj, 2021-07-09T03:20:31,700 ^ 2021-07-09T03:20:31,700 ------------------------------------------------------------ 2021-07-09T03:20:31,700 opencl/queue.pyx:677:38: Coercion from Python not allowed without the GIL 2021-07-09T03:20:31,700 Error compiling Cython file: 2021-07-09T03:20:31,701 ------------------------------------------------------------ 2021-07-09T03:20:31,701 ... 2021-07-09T03:20:31,701 cdef cl_int err_code 2021-07-09T03:20:31,701 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,701 cdef size_t mem_size = self.dview().mem_size 2021-07-09T03:20:31,701 with nogil: 2021-07-09T03:20:31,701 bytes = clEnqueueMapBuffer(self.command_queue, memobj, 2021-07-09T03:20:31,701 ^ 2021-07-09T03:20:31,701 ------------------------------------------------------------ 2021-07-09T03:20:31,702 opencl/queue.pyx:677:38: Calling gil-requiring function not allowed without gil 2021-07-09T03:20:31,702 Error compiling Cython file: 2021-07-09T03:20:31,702 ------------------------------------------------------------ 2021-07-09T03:20:31,702 ... 2021-07-09T03:20:31,702 cdef cl_int err_code 2021-07-09T03:20:31,702 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,703 cdef size_t mem_size = self.dview().mem_size 2021-07-09T03:20:31,703 with nogil: 2021-07-09T03:20:31,703 bytes = clEnqueueMapBuffer(self.command_queue, memobj, 2021-07-09T03:20:31,703 ^ 2021-07-09T03:20:31,703 ------------------------------------------------------------ 2021-07-09T03:20:31,703 opencl/queue.pyx:677:20: Accessing Python global or builtin not allowed without gil 2021-07-09T03:20:31,703 Error compiling Cython file: 2021-07-09T03:20:31,704 ------------------------------------------------------------ 2021-07-09T03:20:31,704 ... 2021-07-09T03:20:31,704 cdef cl_int err_code 2021-07-09T03:20:31,704 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,704 cdef size_t mem_size = self.dview().mem_size 2021-07-09T03:20:31,704 with nogil: 2021-07-09T03:20:31,704 bytes = clEnqueueMapBuffer(self.command_queue, memobj, 2021-07-09T03:20:31,705 ^ 2021-07-09T03:20:31,705 ------------------------------------------------------------ 2021-07-09T03:20:31,705 opencl/queue.pyx:677:38: Constructing Python tuple not allowed without gil 2021-07-09T03:20:31,705 Error compiling Cython file: 2021-07-09T03:20:31,705 ------------------------------------------------------------ 2021-07-09T03:20:31,705 ... 2021-07-09T03:20:31,705 cdef cl_int err_code 2021-07-09T03:20:31,706 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,706 cdef size_t mem_size = self.dview().mem_size 2021-07-09T03:20:31,706 with nogil: 2021-07-09T03:20:31,706 bytes = clEnqueueMapBuffer(self.command_queue, memobj, 2021-07-09T03:20:31,706 ^ 2021-07-09T03:20:31,706 ------------------------------------------------------------ 2021-07-09T03:20:31,706 opencl/queue.pyx:677:43: Converting to Python object not allowed without gil 2021-07-09T03:20:31,707 Error compiling Cython file: 2021-07-09T03:20:31,707 ------------------------------------------------------------ 2021-07-09T03:20:31,707 ... 2021-07-09T03:20:31,707 cdef cl_int err_code 2021-07-09T03:20:31,707 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,707 cdef size_t mem_size = self.dview().mem_size 2021-07-09T03:20:31,707 with nogil: 2021-07-09T03:20:31,708 bytes = clEnqueueMapBuffer(self.command_queue, memobj, 2021-07-09T03:20:31,708 ^ 2021-07-09T03:20:31,708 ------------------------------------------------------------ 2021-07-09T03:20:31,708 opencl/queue.pyx:677:59: Converting to Python object not allowed without gil 2021-07-09T03:20:31,708 Error compiling Cython file: 2021-07-09T03:20:31,708 ------------------------------------------------------------ 2021-07-09T03:20:31,708 ... 2021-07-09T03:20:31,709 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,709 cdef size_t mem_size = self.dview().mem_size 2021-07-09T03:20:31,709 with nogil: 2021-07-09T03:20:31,709 bytes = clEnqueueMapBuffer(self.command_queue, memobj, 2021-07-09T03:20:31,709 self.blocking_map, self.map_flags, 0, mem_size, 2021-07-09T03:20:31,709 ^ 2021-07-09T03:20:31,709 ------------------------------------------------------------ 2021-07-09T03:20:31,710 opencl/queue.pyx:678:43: Converting to Python object not allowed without gil 2021-07-09T03:20:31,710 Error compiling Cython file: 2021-07-09T03:20:31,710 ------------------------------------------------------------ 2021-07-09T03:20:31,710 ... 2021-07-09T03:20:31,710 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,710 cdef size_t mem_size = self.dview().mem_size 2021-07-09T03:20:31,710 with nogil: 2021-07-09T03:20:31,711 bytes = clEnqueueMapBuffer(self.command_queue, memobj, 2021-07-09T03:20:31,711 self.blocking_map, self.map_flags, 0, mem_size, 2021-07-09T03:20:31,711 ^ 2021-07-09T03:20:31,711 ------------------------------------------------------------ 2021-07-09T03:20:31,711 opencl/queue.pyx:678:62: Converting to Python object not allowed without gil 2021-07-09T03:20:31,711 Error compiling Cython file: 2021-07-09T03:20:31,711 ------------------------------------------------------------ 2021-07-09T03:20:31,711 ... 2021-07-09T03:20:31,712 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,712 cdef size_t mem_size = self.dview().mem_size 2021-07-09T03:20:31,712 with nogil: 2021-07-09T03:20:31,712 bytes = clEnqueueMapBuffer(self.command_queue, memobj, 2021-07-09T03:20:31,712 self.blocking_map, self.map_flags, 0, mem_size, 2021-07-09T03:20:31,712 ^ 2021-07-09T03:20:31,712 ------------------------------------------------------------ 2021-07-09T03:20:31,713 opencl/queue.pyx:678:77: Converting to Python object not allowed without gil 2021-07-09T03:20:31,713 Error compiling Cython file: 2021-07-09T03:20:31,713 ------------------------------------------------------------ 2021-07-09T03:20:31,713 ... 2021-07-09T03:20:31,713 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,713 cdef size_t mem_size = self.dview().mem_size 2021-07-09T03:20:31,713 with nogil: 2021-07-09T03:20:31,713 bytes = clEnqueueMapBuffer(self.command_queue, memobj, 2021-07-09T03:20:31,714 self.blocking_map, self.map_flags, 0, mem_size, 2021-07-09T03:20:31,714 num_events_in_wait_list, event_wait_list, NULL, 2021-07-09T03:20:31,714 ^ 2021-07-09T03:20:31,714 ------------------------------------------------------------ 2021-07-09T03:20:31,714 opencl/queue.pyx:679:39: Converting to Python object not allowed without gil 2021-07-09T03:20:31,714 Error compiling Cython file: 2021-07-09T03:20:31,714 ------------------------------------------------------------ 2021-07-09T03:20:31,715 ... 2021-07-09T03:20:31,715 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,715 cdef size_t mem_size = self.dview().mem_size 2021-07-09T03:20:31,715 with nogil: 2021-07-09T03:20:31,715 bytes = clEnqueueMapBuffer(self.command_queue, memobj, 2021-07-09T03:20:31,715 self.blocking_map, self.map_flags, 0, mem_size, 2021-07-09T03:20:31,715 num_events_in_wait_list, event_wait_list, NULL, 2021-07-09T03:20:31,715 ^ 2021-07-09T03:20:31,715 ------------------------------------------------------------ 2021-07-09T03:20:31,716 opencl/queue.pyx:679:64: Converting to Python object not allowed without gil 2021-07-09T03:20:31,716 Error compiling Cython file: 2021-07-09T03:20:31,716 ------------------------------------------------------------ 2021-07-09T03:20:31,716 ... 2021-07-09T03:20:31,716 cdef cl_mem memobj = CyMemoryObject_GetID(self.dview()) 2021-07-09T03:20:31,716 cdef size_t mem_size = self.dview().mem_size 2021-07-09T03:20:31,716 with nogil: 2021-07-09T03:20:31,717 bytes = clEnqueueMapBuffer(self.command_queue, memobj, 2021-07-09T03:20:31,717 self.blocking_map, self.map_flags, 0, mem_size, 2021-07-09T03:20:31,717 num_events_in_wait_list, event_wait_list, NULL, 2021-07-09T03:20:31,717 ^ 2021-07-09T03:20:31,717 ------------------------------------------------------------ 2021-07-09T03:20:31,717 opencl/queue.pyx:679:81: Converting to Python object not allowed without gil 2021-07-09T03:20:31,717 Error compiling Cython file: 2021-07-09T03:20:31,718 ------------------------------------------------------------ 2021-07-09T03:20:31,718 ... 2021-07-09T03:20:31,718 cdef size_t mem_size = self.dview().mem_size 2021-07-09T03:20:31,718 with nogil: 2021-07-09T03:20:31,718 bytes = clEnqueueMapBuffer(self.command_queue, memobj, 2021-07-09T03:20:31,718 self.blocking_map, self.map_flags, 0, mem_size, 2021-07-09T03:20:31,718 num_events_in_wait_list, event_wait_list, NULL, 2021-07-09T03:20:31,718 & err_code) 2021-07-09T03:20:31,718 ^ 2021-07-09T03:20:31,719 ------------------------------------------------------------ 2021-07-09T03:20:31,719 opencl/queue.pyx:680:39: Converting to Python object not allowed without gil 2021-07-09T03:20:31,766 cythoning opencl/copencl.pyx to opencl/copencl.c 2021-07-09T03:20:31,771 /usr/local/lib/python3.9/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-6gt1nq2h/opencl-for-python_c1a6ab231b0f46fe81e2d5c22234fd72/opencl/copencl.pyx 2021-07-09T03:20:31,771 tree = Parsing.p_module(s, pxd, full_module_name) 2021-07-09T03:20:32,316 Error compiling Cython file: 2021-07-09T03:20:32,317 ------------------------------------------------------------ 2021-07-09T03:20:32,317 ... 2021-07-09T03:20:32,317 from opencl.type_formats import refrence, ctype_from_format, type_format, cdefn 2021-07-09T03:20:32,317 from opencl.errors import OpenCLException, BuildError 2021-07-09T03:20:32,317 from libc.stdlib cimport malloc, free 2021-07-09T03:20:32,317 from libc.stdio cimport printf 2021-07-09T03:20:32,317 from _cl cimport * 2021-07-09T03:20:32,317 ^ 2021-07-09T03:20:32,318 ------------------------------------------------------------ 2021-07-09T03:20:32,318 opencl/copencl.pyx:12:0: '_cl.pxd' not found 2021-07-09T03:20:33,679 Error compiling Cython file: 2021-07-09T03:20:33,680 ------------------------------------------------------------ 2021-07-09T03:20:33,680 ... 2021-07-09T03:20:33,680 ''' 2021-07-09T03:20:33,680 opencl.Platform not constructible. 2021-07-09T03:20:33,680 Use opencl.get_platforms() to get a list of connected platoforms. 2021-07-09T03:20:33,680 ''' 2021-07-09T03:20:33,680 cdef cl_platform_id platform_id 2021-07-09T03:20:33,681 ^ 2021-07-09T03:20:33,681 ------------------------------------------------------------ 2021-07-09T03:20:33,681 opencl/copencl.pyx:57:9: 'cl_platform_id' is not a type identifier 2021-07-09T03:20:33,681 Error compiling Cython file: 2021-07-09T03:20:33,681 ------------------------------------------------------------ 2021-07-09T03:20:33,681 ... 2021-07-09T03:20:33,682 def __repr__(self): 2021-07-09T03:20:33,682 return '' % (self.name, self.profile,) 2021-07-09T03:20:33,682 cdef get_info(self, cl_platform_info info_type): 2021-07-09T03:20:33,682 ^ 2021-07-09T03:20:33,682 ------------------------------------------------------------ 2021-07-09T03:20:33,683 opencl/copencl.pyx:69:24: 'cl_platform_info' is not a type identifier 2021-07-09T03:20:33,683 Error compiling Cython file: 2021-07-09T03:20:33,683 ------------------------------------------------------------ 2021-07-09T03:20:33,683 ... 2021-07-09T03:20:33,683 property devices: 2021-07-09T03:20:33,683 'list of all devices attached to this platform' 2021-07-09T03:20:33,683 def __get__(self): 2021-07-09T03:20:33,684 return self.get_devices() 2021-07-09T03:20:33,684 def get_devices(self, cl_device_type device_type=CL_DEVICE_TYPE_ALL): 2021-07-09T03:20:33,684 ^ 2021-07-09T03:20:33,684 ------------------------------------------------------------ 2021-07-09T03:20:33,684 opencl/copencl.pyx:127:27: 'cl_device_type' is not a type identifier 2021-07-09T03:20:33,685 Error compiling Cython file: 2021-07-09T03:20:33,685 ------------------------------------------------------------ 2021-07-09T03:20:33,685 ... 2021-07-09T03:20:33,685 DEFAULT = CL_DEVICE_TYPE_DEFAULT 2021-07-09T03:20:33,685 ALL = CL_DEVICE_TYPE_ALL 2021-07-09T03:20:33,685 CPU = CL_DEVICE_TYPE_CPU 2021-07-09T03:20:33,685 GPU = CL_DEVICE_TYPE_GPU 2021-07-09T03:20:33,686 cdef cl_device_id device_id 2021-07-09T03:20:33,686 ^ 2021-07-09T03:20:33,686 ------------------------------------------------------------ 2021-07-09T03:20:33,686 opencl/copencl.pyx:185:9: 'cl_device_id' is not a type identifier 2021-07-09T03:20:33,690 Error compiling Cython file: 2021-07-09T03:20:33,690 ------------------------------------------------------------ 2021-07-09T03:20:33,691 ... 2021-07-09T03:20:33,691 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE3D_MAX_HEIGHT, sizeof(h), < void *>& h, NULL) 2021-07-09T03:20:33,691 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE3D_MAX_DEPTH, sizeof(d), < void *>& d, NULL) 2021-07-09T03:20:33,691 if err_code != CL_SUCCESS: raise OpenCLException(err_code) 2021-07-09T03:20:33,691 return [w, h, d] 2021-07-09T03:20:33,691 cdef get_info(self, cl_device_info info_type): 2021-07-09T03:20:33,691 ^ 2021-07-09T03:20:33,692 ------------------------------------------------------------ 2021-07-09T03:20:33,692 opencl/copencl.pyx:514:24: 'cl_device_info' is not a type identifier 2021-07-09T03:20:33,692 Error compiling Cython file: 2021-07-09T03:20:33,692 ------------------------------------------------------------ 2021-07-09T03:20:33,692 ... 2021-07-09T03:20:33,692 ## ############# #### #### #### #### #### #### #### #### #### #### #### 2021-07-09T03:20:33,692 #=============================================================================== 2021-07-09T03:20:33,693 # 2021-07-09T03:20:33,693 #=============================================================================== 2021-07-09T03:20:33,693 cdef api cl_platform_id CyPlatform_GetID(object py_platform): 2021-07-09T03:20:33,693 ^ 2021-07-09T03:20:33,693 ------------------------------------------------------------ 2021-07-09T03:20:33,693 opencl/copencl.pyx:555:9: 'cl_platform_id' is not a type identifier 2021-07-09T03:20:33,694 Error compiling Cython file: 2021-07-09T03:20:33,694 ------------------------------------------------------------ 2021-07-09T03:20:33,694 ... 2021-07-09T03:20:33,694 cdef api cl_platform_id CyPlatform_GetID(object py_platform): 2021-07-09T03:20:33,694 cdef Platform platform = < Platform > py_platform 2021-07-09T03:20:33,694 return platform.platform_id 2021-07-09T03:20:33,695 cdef api object CyPlatform_Create(cl_platform_id platform_id): 2021-07-09T03:20:33,695 ^ 2021-07-09T03:20:33,695 ------------------------------------------------------------ 2021-07-09T03:20:33,695 opencl/copencl.pyx:559:34: 'cl_platform_id' is not a type identifier 2021-07-09T03:20:33,695 Error compiling Cython file: 2021-07-09T03:20:33,695 ------------------------------------------------------------ 2021-07-09T03:20:33,696 ... 2021-07-09T03:20:33,696 #=============================================================================== 2021-07-09T03:20:33,696 cdef api int CyDevice_Check(object py_device): 2021-07-09T03:20:33,696 return isinstance(py_device, Device) 2021-07-09T03:20:33,696 cdef api cl_device_id CyDevice_GetID(object py_device): 2021-07-09T03:20:33,696 ^ 2021-07-09T03:20:33,696 ------------------------------------------------------------ 2021-07-09T03:20:33,697 opencl/copencl.pyx:571:9: 'cl_device_id' is not a type identifier 2021-07-09T03:20:33,697 Error compiling Cython file: 2021-07-09T03:20:33,697 ------------------------------------------------------------ 2021-07-09T03:20:33,697 ... 2021-07-09T03:20:33,697 cdef api cl_device_id CyDevice_GetID(object py_device): 2021-07-09T03:20:33,697 cdef Device device = < Device > py_device 2021-07-09T03:20:33,698 return device.device_id 2021-07-09T03:20:33,698 cdef api object CyDevice_Create(cl_device_id device_id): 2021-07-09T03:20:33,698 ^ 2021-07-09T03:20:33,698 ------------------------------------------------------------ 2021-07-09T03:20:33,698 opencl/copencl.pyx:575:32: 'cl_device_id' is not a type identifier 2021-07-09T03:20:33,699 Error compiling Cython file: 2021-07-09T03:20:33,699 ------------------------------------------------------------ 2021-07-09T03:20:33,699 ... 2021-07-09T03:20:33,699 cpdef get_platforms(): 2021-07-09T03:20:33,699 ''' 2021-07-09T03:20:33,699 Return a list of the platforms connected to the host. 2021-07-09T03:20:33,699 ''' 2021-07-09T03:20:33,699 cdef cl_uint num_platforms 2021-07-09T03:20:33,700 ^ 2021-07-09T03:20:33,700 ------------------------------------------------------------ 2021-07-09T03:20:33,700 opencl/copencl.pyx:27:9: 'cl_uint' is not a type identifier 2021-07-09T03:20:33,700 Error compiling Cython file: 2021-07-09T03:20:33,700 ------------------------------------------------------------ 2021-07-09T03:20:33,700 ... 2021-07-09T03:20:33,700 cpdef get_platforms(): 2021-07-09T03:20:33,701 ''' 2021-07-09T03:20:33,701 Return a list of the platforms connected to the host. 2021-07-09T03:20:33,701 ''' 2021-07-09T03:20:33,701 cdef cl_uint num_platforms 2021-07-09T03:20:33,701 cdef cl_platform_id plid 2021-07-09T03:20:33,701 ^ 2021-07-09T03:20:33,701 ------------------------------------------------------------ 2021-07-09T03:20:33,701 opencl/copencl.pyx:28:9: 'cl_platform_id' is not a type identifier 2021-07-09T03:20:33,702 Error compiling Cython file: 2021-07-09T03:20:33,702 ------------------------------------------------------------ 2021-07-09T03:20:33,702 ... 2021-07-09T03:20:33,702 cdef cl_platform_id plid 2021-07-09T03:20:33,702 ret = clGetPlatformIDs(0, NULL, & num_platforms) 2021-07-09T03:20:33,702 if ret != CL_SUCCESS: 2021-07-09T03:20:33,702 raise OpenCLException(ret) 2021-07-09T03:20:33,703 cdef cl_platform_id * cl_platform_ids = < cl_platform_id *> malloc(num_platforms * sizeof(cl_platform_id *)) 2021-07-09T03:20:33,703 ^ 2021-07-09T03:20:33,703 ------------------------------------------------------------ 2021-07-09T03:20:33,703 opencl/copencl.pyx:33:9: 'cl_platform_id' is not a type identifier 2021-07-09T03:20:33,703 Error compiling Cython file: 2021-07-09T03:20:33,703 ------------------------------------------------------------ 2021-07-09T03:20:33,704 ... 2021-07-09T03:20:33,704 return '' % (self.name, self.profile,) 2021-07-09T03:20:33,704 cdef get_info(self, cl_platform_info info_type): 2021-07-09T03:20:33,704 cdef size_t size 2021-07-09T03:20:33,704 cdef cl_int err_code 2021-07-09T03:20:33,704 ^ 2021-07-09T03:20:33,704 ------------------------------------------------------------ 2021-07-09T03:20:33,705 opencl/copencl.pyx:71:13: 'cl_int' is not a type identifier 2021-07-09T03:20:33,705 Error compiling Cython file: 2021-07-09T03:20:33,705 ------------------------------------------------------------ 2021-07-09T03:20:33,705 ... 2021-07-09T03:20:33,705 ''' 2021-07-09T03:20:33,705 plat.get_devices(device_type=opencl.Device.ALL) 2021-07-09T03:20:33,706 return a list of devices by type. 2021-07-09T03:20:33,706 ''' 2021-07-09T03:20:33,706 cdef cl_int err_code 2021-07-09T03:20:33,706 ^ 2021-07-09T03:20:33,706 ------------------------------------------------------------ 2021-07-09T03:20:33,706 opencl/copencl.pyx:133:13: 'cl_int' is not a type identifier 2021-07-09T03:20:33,706 Error compiling Cython file: 2021-07-09T03:20:33,707 ------------------------------------------------------------ 2021-07-09T03:20:33,707 ... 2021-07-09T03:20:33,707 return a list of devices by type. 2021-07-09T03:20:33,707 ''' 2021-07-09T03:20:33,707 cdef cl_int err_code 2021-07-09T03:20:33,707 cdef cl_uint num_devices 2021-07-09T03:20:33,707 ^ 2021-07-09T03:20:33,708 ------------------------------------------------------------ 2021-07-09T03:20:33,708 opencl/copencl.pyx:135:13: 'cl_uint' is not a type identifier 2021-07-09T03:20:33,708 Error compiling Cython file: 2021-07-09T03:20:33,708 ------------------------------------------------------------ 2021-07-09T03:20:33,708 ... 2021-07-09T03:20:33,708 err_code = clGetDeviceIDs(self.platform_id, device_type, 0, NULL, & num_devices) 2021-07-09T03:20:33,709 if err_code != CL_SUCCESS: 2021-07-09T03:20:33,709 raise OpenCLException(err_code) 2021-07-09T03:20:33,709 cdef cl_device_id * result = < cl_device_id *> malloc(num_devices * sizeof(cl_device_id *)) 2021-07-09T03:20:33,709 ^ 2021-07-09T03:20:33,710 ------------------------------------------------------------ 2021-07-09T03:20:33,710 opencl/copencl.pyx:141:13: 'cl_device_id' is not a type identifier 2021-07-09T03:20:33,713 Error compiling Cython file: 2021-07-09T03:20:33,713 ------------------------------------------------------------ 2021-07-09T03:20:33,713 ... 2021-07-09T03:20:33,713 property platform: 2021-07-09T03:20:33,713 ''' 2021-07-09T03:20:33,713 return the platform this device is associated with. 2021-07-09T03:20:33,713 ''' 2021-07-09T03:20:33,713 def __get__(self): 2021-07-09T03:20:33,714 cdef cl_int err_code 2021-07-09T03:20:33,714 ^ 2021-07-09T03:20:33,714 ------------------------------------------------------------ 2021-07-09T03:20:33,714 opencl/copencl.pyx:217:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,714 Error compiling Cython file: 2021-07-09T03:20:33,714 ------------------------------------------------------------ 2021-07-09T03:20:33,715 ... 2021-07-09T03:20:33,715 ''' 2021-07-09T03:20:33,715 return the platform this device is associated with. 2021-07-09T03:20:33,715 ''' 2021-07-09T03:20:33,715 def __get__(self): 2021-07-09T03:20:33,715 cdef cl_int err_code 2021-07-09T03:20:33,715 cdef cl_platform_id plat_id 2021-07-09T03:20:33,715 ^ 2021-07-09T03:20:33,715 ------------------------------------------------------------ 2021-07-09T03:20:33,716 opencl/copencl.pyx:218:17: 'cl_platform_id' is not a type identifier 2021-07-09T03:20:33,716 Error compiling Cython file: 2021-07-09T03:20:33,716 ------------------------------------------------------------ 2021-07-09T03:20:33,716 ... 2021-07-09T03:20:33,716 return CyPlatform_Create(plat_id) 2021-07-09T03:20:33,716 property type: 2021-07-09T03:20:33,717 'return device type: one of [Device.DEFAULT, Device.ALL, Device.GPU or Device.CPU]' 2021-07-09T03:20:33,717 def __get__(self): 2021-07-09T03:20:33,717 cdef cl_int err_code 2021-07-09T03:20:33,717 ^ 2021-07-09T03:20:33,717 ------------------------------------------------------------ 2021-07-09T03:20:33,717 opencl/copencl.pyx:229:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,717 Error compiling Cython file: 2021-07-09T03:20:33,718 ------------------------------------------------------------ 2021-07-09T03:20:33,718 ... 2021-07-09T03:20:33,718 property type: 2021-07-09T03:20:33,718 'return device type: one of [Device.DEFAULT, Device.ALL, Device.GPU or Device.CPU]' 2021-07-09T03:20:33,718 def __get__(self): 2021-07-09T03:20:33,718 cdef cl_int err_code 2021-07-09T03:20:33,718 cdef cl_device_type dtype 2021-07-09T03:20:33,718 ^ 2021-07-09T03:20:33,719 ------------------------------------------------------------ 2021-07-09T03:20:33,719 opencl/copencl.pyx:230:17: 'cl_device_type' is not a type identifier 2021-07-09T03:20:33,719 Error compiling Cython file: 2021-07-09T03:20:33,719 ------------------------------------------------------------ 2021-07-09T03:20:33,719 ... 2021-07-09T03:20:33,719 return dtype 2021-07-09T03:20:33,720 property has_image_support: 2021-07-09T03:20:33,720 'test if this device supports the openc.Image class' 2021-07-09T03:20:33,720 def __get__(self): 2021-07-09T03:20:33,720 cdef cl_int err_code 2021-07-09T03:20:33,720 ^ 2021-07-09T03:20:33,720 ------------------------------------------------------------ 2021-07-09T03:20:33,720 opencl/copencl.pyx:241:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,721 Error compiling Cython file: 2021-07-09T03:20:33,721 ------------------------------------------------------------ 2021-07-09T03:20:33,721 ... 2021-07-09T03:20:33,721 property has_image_support: 2021-07-09T03:20:33,721 'test if this device supports the openc.Image class' 2021-07-09T03:20:33,721 def __get__(self): 2021-07-09T03:20:33,721 cdef cl_int err_code 2021-07-09T03:20:33,722 cdef cl_bool result 2021-07-09T03:20:33,722 ^ 2021-07-09T03:20:33,722 ------------------------------------------------------------ 2021-07-09T03:20:33,722 opencl/copencl.pyx:242:17: 'cl_bool' is not a type identifier 2021-07-09T03:20:33,722 Error compiling Cython file: 2021-07-09T03:20:33,722 ------------------------------------------------------------ 2021-07-09T03:20:33,723 ... 2021-07-09T03:20:33,723 property name: 2021-07-09T03:20:33,723 'the name of this device' 2021-07-09T03:20:33,723 def __get__(self): 2021-07-09T03:20:33,723 cdef size_t size 2021-07-09T03:20:33,723 cdef cl_int err_code 2021-07-09T03:20:33,723 ^ 2021-07-09T03:20:33,723 ------------------------------------------------------------ 2021-07-09T03:20:33,724 opencl/copencl.pyx:255:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,724 Error compiling Cython file: 2021-07-09T03:20:33,724 ------------------------------------------------------------ 2021-07-09T03:20:33,724 ... 2021-07-09T03:20:33,724 see also `has_queue_out_of_order_exec_mode` and `has_queue_profiling` 2021-07-09T03:20:33,724 ''' 2021-07-09T03:20:33,725 def __get__(self): 2021-07-09T03:20:33,725 cdef size_t size 2021-07-09T03:20:33,725 cdef cl_int err_code 2021-07-09T03:20:33,725 ^ 2021-07-09T03:20:33,725 ------------------------------------------------------------ 2021-07-09T03:20:33,725 opencl/copencl.pyx:281:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,726 Error compiling Cython file: 2021-07-09T03:20:33,726 ------------------------------------------------------------ 2021-07-09T03:20:33,726 ... 2021-07-09T03:20:33,726 see also `has_queue_out_of_order_exec_mode` and `has_queue_profiling` 2021-07-09T03:20:33,726 ''' 2021-07-09T03:20:33,726 def __get__(self): 2021-07-09T03:20:33,726 cdef size_t size 2021-07-09T03:20:33,726 cdef cl_int err_code 2021-07-09T03:20:33,726 cdef cl_command_queue_properties result 2021-07-09T03:20:33,727 ^ 2021-07-09T03:20:33,727 ------------------------------------------------------------ 2021-07-09T03:20:33,727 opencl/copencl.pyx:282:17: 'cl_command_queue_properties' is not a type identifier 2021-07-09T03:20:33,727 Error compiling Cython file: 2021-07-09T03:20:33,727 ------------------------------------------------------------ 2021-07-09T03:20:33,727 ... 2021-07-09T03:20:33,727 return bool(( self.queue_properties) & CL_QUEUE_PROFILING_ENABLE) 2021-07-09T03:20:33,728 property has_native_kernel: 2021-07-09T03:20:33,728 'test if this device supports native python kernels' 2021-07-09T03:20:33,728 def __get__(self): 2021-07-09T03:20:33,728 cdef cl_int err_code 2021-07-09T03:20:33,728 ^ 2021-07-09T03:20:33,728 ------------------------------------------------------------ 2021-07-09T03:20:33,728 opencl/copencl.pyx:304:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,729 Error compiling Cython file: 2021-07-09T03:20:33,729 ------------------------------------------------------------ 2021-07-09T03:20:33,729 ... 2021-07-09T03:20:33,729 property has_native_kernel: 2021-07-09T03:20:33,729 'test if this device supports native python kernels' 2021-07-09T03:20:33,729 def __get__(self): 2021-07-09T03:20:33,729 cdef cl_int err_code 2021-07-09T03:20:33,730 cdef cl_device_exec_capabilities result 2021-07-09T03:20:33,730 ^ 2021-07-09T03:20:33,730 ------------------------------------------------------------ 2021-07-09T03:20:33,730 opencl/copencl.pyx:305:17: 'cl_device_exec_capabilities' is not a type identifier 2021-07-09T03:20:33,730 Error compiling Cython file: 2021-07-09T03:20:33,730 ------------------------------------------------------------ 2021-07-09T03:20:33,730 ... 2021-07-09T03:20:33,731 return True if result & CL_EXEC_NATIVE_KERNEL else False 2021-07-09T03:20:33,731 property vendor_id: 2021-07-09T03:20:33,731 'return the vendor ID' 2021-07-09T03:20:33,731 def __get__(self): 2021-07-09T03:20:33,731 cdef cl_int err_code 2021-07-09T03:20:33,731 ^ 2021-07-09T03:20:33,731 ------------------------------------------------------------ 2021-07-09T03:20:33,732 opencl/copencl.pyx:317:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,732 Error compiling Cython file: 2021-07-09T03:20:33,732 ------------------------------------------------------------ 2021-07-09T03:20:33,732 ... 2021-07-09T03:20:33,732 property vendor_id: 2021-07-09T03:20:33,732 'return the vendor ID' 2021-07-09T03:20:33,733 def __get__(self): 2021-07-09T03:20:33,733 cdef cl_int err_code 2021-07-09T03:20:33,733 cdef cl_uint value = 0 2021-07-09T03:20:33,733 ^ 2021-07-09T03:20:33,733 ------------------------------------------------------------ 2021-07-09T03:20:33,733 opencl/copencl.pyx:318:17: 'cl_uint' is not a type identifier 2021-07-09T03:20:33,733 Error compiling Cython file: 2021-07-09T03:20:33,734 ------------------------------------------------------------ 2021-07-09T03:20:33,734 ... 2021-07-09T03:20:33,734 ''' 2021-07-09T03:20:33,734 The number of parallel compute cores on the OpenCL device. 2021-07-09T03:20:33,734 The minimum value is 1. 2021-07-09T03:20:33,734 ''' 2021-07-09T03:20:33,734 def __get__(self): 2021-07-09T03:20:33,734 cdef cl_int err_code 2021-07-09T03:20:33,734 ^ 2021-07-09T03:20:33,735 ------------------------------------------------------------ 2021-07-09T03:20:33,735 opencl/copencl.pyx:329:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,735 Error compiling Cython file: 2021-07-09T03:20:33,735 ------------------------------------------------------------ 2021-07-09T03:20:33,735 ... 2021-07-09T03:20:33,735 The number of parallel compute cores on the OpenCL device. 2021-07-09T03:20:33,735 The minimum value is 1. 2021-07-09T03:20:33,736 ''' 2021-07-09T03:20:33,736 def __get__(self): 2021-07-09T03:20:33,736 cdef cl_int err_code 2021-07-09T03:20:33,736 cdef cl_uint value = 0 2021-07-09T03:20:33,736 ^ 2021-07-09T03:20:33,736 ------------------------------------------------------------ 2021-07-09T03:20:33,736 opencl/copencl.pyx:330:17: 'cl_uint' is not a type identifier 2021-07-09T03:20:33,737 Error compiling Cython file: 2021-07-09T03:20:33,737 ------------------------------------------------------------ 2021-07-09T03:20:33,737 ... 2021-07-09T03:20:33,737 by the data parallel execution model. (Refer to clEnqueueNDRangeKernel). 2021-07-09T03:20:33,737 The minimum value is 3. 2021-07-09T03:20:33,737 ''' 2021-07-09T03:20:33,737 def __get__(self): 2021-07-09T03:20:33,737 cdef cl_int err_code 2021-07-09T03:20:33,738 ^ 2021-07-09T03:20:33,738 ------------------------------------------------------------ 2021-07-09T03:20:33,738 opencl/copencl.pyx:343:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,738 Error compiling Cython file: 2021-07-09T03:20:33,738 ------------------------------------------------------------ 2021-07-09T03:20:33,738 ... 2021-07-09T03:20:33,739 The minimum value is 3. 2021-07-09T03:20:33,739 ''' 2021-07-09T03:20:33,739 def __get__(self): 2021-07-09T03:20:33,739 cdef cl_int err_code 2021-07-09T03:20:33,739 cdef cl_uint value = 0 2021-07-09T03:20:33,739 ^ 2021-07-09T03:20:33,739 ------------------------------------------------------------ 2021-07-09T03:20:33,739 opencl/copencl.pyx:344:17: 'cl_uint' is not a type identifier 2021-07-09T03:20:33,740 Error compiling Cython file: 2021-07-09T03:20:33,740 ------------------------------------------------------------ 2021-07-09T03:20:33,740 ... 2021-07-09T03:20:33,740 property max_clock_frequency: 2021-07-09T03:20:33,740 ''' 2021-07-09T03:20:33,740 return the clock frequency. 2021-07-09T03:20:33,740 ''' 2021-07-09T03:20:33,740 def __get__(self): 2021-07-09T03:20:33,741 cdef cl_int err_code 2021-07-09T03:20:33,741 ^ 2021-07-09T03:20:33,741 ------------------------------------------------------------ 2021-07-09T03:20:33,741 opencl/copencl.pyx:354:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,741 Error compiling Cython file: 2021-07-09T03:20:33,741 ------------------------------------------------------------ 2021-07-09T03:20:33,741 ... 2021-07-09T03:20:33,742 ''' 2021-07-09T03:20:33,742 return the clock frequency. 2021-07-09T03:20:33,742 ''' 2021-07-09T03:20:33,742 def __get__(self): 2021-07-09T03:20:33,742 cdef cl_int err_code 2021-07-09T03:20:33,742 cdef cl_uint value = 0 2021-07-09T03:20:33,742 ^ 2021-07-09T03:20:33,742 ------------------------------------------------------------ 2021-07-09T03:20:33,743 opencl/copencl.pyx:355:17: 'cl_uint' is not a type identifier 2021-07-09T03:20:33,743 Error compiling Cython file: 2021-07-09T03:20:33,743 ------------------------------------------------------------ 2021-07-09T03:20:33,743 ... 2021-07-09T03:20:33,743 if err_code != CL_SUCCESS: raise OpenCLException(err_code) 2021-07-09T03:20:33,743 return value 2021-07-09T03:20:33,743 property address_bits: 2021-07-09T03:20:33,744 def __get__(self): 2021-07-09T03:20:33,744 cdef cl_int err_code 2021-07-09T03:20:33,744 ^ 2021-07-09T03:20:33,744 ------------------------------------------------------------ 2021-07-09T03:20:33,744 opencl/copencl.pyx:362:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,744 Error compiling Cython file: 2021-07-09T03:20:33,744 ------------------------------------------------------------ 2021-07-09T03:20:33,745 ... 2021-07-09T03:20:33,745 return value 2021-07-09T03:20:33,745 property address_bits: 2021-07-09T03:20:33,745 def __get__(self): 2021-07-09T03:20:33,745 cdef cl_int err_code 2021-07-09T03:20:33,745 cdef cl_uint value = 0 2021-07-09T03:20:33,745 ^ 2021-07-09T03:20:33,746 ------------------------------------------------------------ 2021-07-09T03:20:33,746 opencl/copencl.pyx:363:17: 'cl_uint' is not a type identifier 2021-07-09T03:20:33,746 Error compiling Cython file: 2021-07-09T03:20:33,746 ------------------------------------------------------------ 2021-07-09T03:20:33,746 ... 2021-07-09T03:20:33,746 if err_code != CL_SUCCESS: raise OpenCLException(err_code) 2021-07-09T03:20:33,746 return value 2021-07-09T03:20:33,747 property max_read_image_args: 2021-07-09T03:20:33,747 def __get__(self): 2021-07-09T03:20:33,747 cdef cl_int err_code 2021-07-09T03:20:33,747 ^ 2021-07-09T03:20:33,747 ------------------------------------------------------------ 2021-07-09T03:20:33,747 opencl/copencl.pyx:370:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,747 Error compiling Cython file: 2021-07-09T03:20:33,748 ------------------------------------------------------------ 2021-07-09T03:20:33,748 ... 2021-07-09T03:20:33,748 return value 2021-07-09T03:20:33,748 property max_read_image_args: 2021-07-09T03:20:33,748 def __get__(self): 2021-07-09T03:20:33,748 cdef cl_int err_code 2021-07-09T03:20:33,748 cdef cl_uint value = 0 2021-07-09T03:20:33,748 ^ 2021-07-09T03:20:33,749 ------------------------------------------------------------ 2021-07-09T03:20:33,749 opencl/copencl.pyx:371:17: 'cl_uint' is not a type identifier 2021-07-09T03:20:33,749 Error compiling Cython file: 2021-07-09T03:20:33,749 ------------------------------------------------------------ 2021-07-09T03:20:33,749 ... 2021-07-09T03:20:33,749 if err_code != CL_SUCCESS: raise OpenCLException(err_code) 2021-07-09T03:20:33,750 return value 2021-07-09T03:20:33,750 property max_write_image_args: 2021-07-09T03:20:33,750 def __get__(self): 2021-07-09T03:20:33,750 cdef cl_int err_code 2021-07-09T03:20:33,750 ^ 2021-07-09T03:20:33,750 ------------------------------------------------------------ 2021-07-09T03:20:33,750 opencl/copencl.pyx:378:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,751 Error compiling Cython file: 2021-07-09T03:20:33,751 ------------------------------------------------------------ 2021-07-09T03:20:33,751 ... 2021-07-09T03:20:33,751 return value 2021-07-09T03:20:33,751 property max_write_image_args: 2021-07-09T03:20:33,751 def __get__(self): 2021-07-09T03:20:33,751 cdef cl_int err_code 2021-07-09T03:20:33,751 cdef cl_uint value = 0 2021-07-09T03:20:33,752 ^ 2021-07-09T03:20:33,752 ------------------------------------------------------------ 2021-07-09T03:20:33,752 opencl/copencl.pyx:379:17: 'cl_uint' is not a type identifier 2021-07-09T03:20:33,752 Error compiling Cython file: 2021-07-09T03:20:33,752 ------------------------------------------------------------ 2021-07-09T03:20:33,752 ... 2021-07-09T03:20:33,752 if err_code != CL_SUCCESS: raise OpenCLException(err_code) 2021-07-09T03:20:33,753 return value 2021-07-09T03:20:33,753 property global_mem_size: 2021-07-09T03:20:33,753 def __get__(self): 2021-07-09T03:20:33,753 cdef cl_int err_code 2021-07-09T03:20:33,753 ^ 2021-07-09T03:20:33,753 ------------------------------------------------------------ 2021-07-09T03:20:33,753 opencl/copencl.pyx:386:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,754 Error compiling Cython file: 2021-07-09T03:20:33,754 ------------------------------------------------------------ 2021-07-09T03:20:33,754 ... 2021-07-09T03:20:33,754 return value 2021-07-09T03:20:33,754 property global_mem_size: 2021-07-09T03:20:33,754 def __get__(self): 2021-07-09T03:20:33,754 cdef cl_int err_code 2021-07-09T03:20:33,754 cdef cl_ulong value = 0 2021-07-09T03:20:33,755 ^ 2021-07-09T03:20:33,755 ------------------------------------------------------------ 2021-07-09T03:20:33,755 opencl/copencl.pyx:387:17: 'cl_ulong' is not a type identifier 2021-07-09T03:20:33,755 Error compiling Cython file: 2021-07-09T03:20:33,755 ------------------------------------------------------------ 2021-07-09T03:20:33,755 ... 2021-07-09T03:20:33,755 if err_code != CL_SUCCESS: raise OpenCLException(err_code) 2021-07-09T03:20:33,756 return value 2021-07-09T03:20:33,756 property max_mem_alloc_size: 2021-07-09T03:20:33,756 def __get__(self): 2021-07-09T03:20:33,756 cdef cl_int err_code 2021-07-09T03:20:33,756 ^ 2021-07-09T03:20:33,756 ------------------------------------------------------------ 2021-07-09T03:20:33,756 opencl/copencl.pyx:394:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,757 Error compiling Cython file: 2021-07-09T03:20:33,757 ------------------------------------------------------------ 2021-07-09T03:20:33,757 ... 2021-07-09T03:20:33,757 return value 2021-07-09T03:20:33,757 property max_mem_alloc_size: 2021-07-09T03:20:33,757 def __get__(self): 2021-07-09T03:20:33,757 cdef cl_int err_code 2021-07-09T03:20:33,758 cdef cl_ulong value = 0 2021-07-09T03:20:33,758 ^ 2021-07-09T03:20:33,758 ------------------------------------------------------------ 2021-07-09T03:20:33,758 opencl/copencl.pyx:395:17: 'cl_ulong' is not a type identifier 2021-07-09T03:20:33,758 Error compiling Cython file: 2021-07-09T03:20:33,758 ------------------------------------------------------------ 2021-07-09T03:20:33,758 ... 2021-07-09T03:20:33,759 if err_code != CL_SUCCESS: raise OpenCLException(err_code) 2021-07-09T03:20:33,759 return value 2021-07-09T03:20:33,759 property max_const_buffer_size: 2021-07-09T03:20:33,759 def __get__(self): 2021-07-09T03:20:33,759 cdef cl_int err_code 2021-07-09T03:20:33,759 ^ 2021-07-09T03:20:33,759 ------------------------------------------------------------ 2021-07-09T03:20:33,760 opencl/copencl.pyx:402:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,760 Error compiling Cython file: 2021-07-09T03:20:33,760 ------------------------------------------------------------ 2021-07-09T03:20:33,760 ... 2021-07-09T03:20:33,760 return value 2021-07-09T03:20:33,760 property max_const_buffer_size: 2021-07-09T03:20:33,760 def __get__(self): 2021-07-09T03:20:33,760 cdef cl_int err_code 2021-07-09T03:20:33,761 cdef cl_ulong value = 0 2021-07-09T03:20:33,761 ^ 2021-07-09T03:20:33,761 ------------------------------------------------------------ 2021-07-09T03:20:33,761 opencl/copencl.pyx:403:17: 'cl_ulong' is not a type identifier 2021-07-09T03:20:33,761 Error compiling Cython file: 2021-07-09T03:20:33,761 ------------------------------------------------------------ 2021-07-09T03:20:33,761 ... 2021-07-09T03:20:33,762 if err_code != CL_SUCCESS: raise OpenCLException(err_code) 2021-07-09T03:20:33,762 return value 2021-07-09T03:20:33,762 property has_local_mem: 2021-07-09T03:20:33,762 def __get__(self): 2021-07-09T03:20:33,762 cdef cl_int err_code 2021-07-09T03:20:33,762 ^ 2021-07-09T03:20:33,762 ------------------------------------------------------------ 2021-07-09T03:20:33,763 opencl/copencl.pyx:410:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,763 Error compiling Cython file: 2021-07-09T03:20:33,763 ------------------------------------------------------------ 2021-07-09T03:20:33,763 ... 2021-07-09T03:20:33,763 return value 2021-07-09T03:20:33,763 property has_local_mem: 2021-07-09T03:20:33,763 def __get__(self): 2021-07-09T03:20:33,763 cdef cl_int err_code 2021-07-09T03:20:33,764 cdef cl_device_local_mem_type value = 0 2021-07-09T03:20:33,764 ^ 2021-07-09T03:20:33,764 ------------------------------------------------------------ 2021-07-09T03:20:33,764 opencl/copencl.pyx:411:17: 'cl_device_local_mem_type' is not a type identifier 2021-07-09T03:20:33,764 Error compiling Cython file: 2021-07-09T03:20:33,764 ------------------------------------------------------------ 2021-07-09T03:20:33,764 ... 2021-07-09T03:20:33,765 if err_code != CL_SUCCESS: raise OpenCLException(err_code) 2021-07-09T03:20:33,765 return value == CL_LOCAL 2021-07-09T03:20:33,765 property local_mem_size: 2021-07-09T03:20:33,765 def __get__(self): 2021-07-09T03:20:33,765 cdef cl_int err_code 2021-07-09T03:20:33,765 ^ 2021-07-09T03:20:33,765 ------------------------------------------------------------ 2021-07-09T03:20:33,766 opencl/copencl.pyx:418:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,766 Error compiling Cython file: 2021-07-09T03:20:33,766 ------------------------------------------------------------ 2021-07-09T03:20:33,766 ... 2021-07-09T03:20:33,766 return value == CL_LOCAL 2021-07-09T03:20:33,766 property local_mem_size: 2021-07-09T03:20:33,766 def __get__(self): 2021-07-09T03:20:33,767 cdef cl_int err_code 2021-07-09T03:20:33,767 cdef cl_ulong value = 0 2021-07-09T03:20:33,767 ^ 2021-07-09T03:20:33,767 ------------------------------------------------------------ 2021-07-09T03:20:33,767 opencl/copencl.pyx:419:17: 'cl_ulong' is not a type identifier 2021-07-09T03:20:33,767 Error compiling Cython file: 2021-07-09T03:20:33,767 ------------------------------------------------------------ 2021-07-09T03:20:33,768 ... 2021-07-09T03:20:33,768 if err_code != CL_SUCCESS: raise OpenCLException(err_code) 2021-07-09T03:20:33,768 return value 2021-07-09T03:20:33,768 property host_unified_memory: 2021-07-09T03:20:33,768 def __get__(self): 2021-07-09T03:20:33,768 cdef cl_int err_code 2021-07-09T03:20:33,768 ^ 2021-07-09T03:20:33,768 ------------------------------------------------------------ 2021-07-09T03:20:33,769 opencl/copencl.pyx:426:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,769 Error compiling Cython file: 2021-07-09T03:20:33,769 ------------------------------------------------------------ 2021-07-09T03:20:33,769 ... 2021-07-09T03:20:33,769 return value 2021-07-09T03:20:33,769 property host_unified_memory: 2021-07-09T03:20:33,769 def __get__(self): 2021-07-09T03:20:33,770 cdef cl_int err_code 2021-07-09T03:20:33,770 cdef cl_bool value = 0 2021-07-09T03:20:33,770 ^ 2021-07-09T03:20:33,770 ------------------------------------------------------------ 2021-07-09T03:20:33,770 opencl/copencl.pyx:427:17: 'cl_bool' is not a type identifier 2021-07-09T03:20:33,770 Error compiling Cython file: 2021-07-09T03:20:33,770 ------------------------------------------------------------ 2021-07-09T03:20:33,771 ... 2021-07-09T03:20:33,771 if err_code != CL_SUCCESS: raise OpenCLException(err_code) 2021-07-09T03:20:33,771 return bool(value) 2021-07-09T03:20:33,771 property available: 2021-07-09T03:20:33,771 def __get__(self): 2021-07-09T03:20:33,771 cdef cl_int err_code 2021-07-09T03:20:33,771 ^ 2021-07-09T03:20:33,771 ------------------------------------------------------------ 2021-07-09T03:20:33,772 opencl/copencl.pyx:434:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,772 Error compiling Cython file: 2021-07-09T03:20:33,772 ------------------------------------------------------------ 2021-07-09T03:20:33,772 ... 2021-07-09T03:20:33,772 return bool(value) 2021-07-09T03:20:33,772 property available: 2021-07-09T03:20:33,773 def __get__(self): 2021-07-09T03:20:33,773 cdef cl_int err_code 2021-07-09T03:20:33,773 cdef cl_bool value = 0 2021-07-09T03:20:33,773 ^ 2021-07-09T03:20:33,773 ------------------------------------------------------------ 2021-07-09T03:20:33,773 opencl/copencl.pyx:435:17: 'cl_bool' is not a type identifier 2021-07-09T03:20:33,773 Error compiling Cython file: 2021-07-09T03:20:33,773 ------------------------------------------------------------ 2021-07-09T03:20:33,774 ... 2021-07-09T03:20:33,774 if err_code != CL_SUCCESS: raise OpenCLException(err_code) 2021-07-09T03:20:33,774 return bool(value) 2021-07-09T03:20:33,774 property compiler_available: 2021-07-09T03:20:33,774 def __get__(self): 2021-07-09T03:20:33,774 cdef cl_int err_code 2021-07-09T03:20:33,774 ^ 2021-07-09T03:20:33,775 ------------------------------------------------------------ 2021-07-09T03:20:33,775 opencl/copencl.pyx:442:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,775 Error compiling Cython file: 2021-07-09T03:20:33,775 ------------------------------------------------------------ 2021-07-09T03:20:33,775 ... 2021-07-09T03:20:33,775 return bool(value) 2021-07-09T03:20:33,776 property compiler_available: 2021-07-09T03:20:33,776 def __get__(self): 2021-07-09T03:20:33,776 cdef cl_int err_code 2021-07-09T03:20:33,776 cdef cl_bool value = 0 2021-07-09T03:20:33,776 ^ 2021-07-09T03:20:33,776 ------------------------------------------------------------ 2021-07-09T03:20:33,776 opencl/copencl.pyx:443:17: 'cl_bool' is not a type identifier 2021-07-09T03:20:33,776 Error compiling Cython file: 2021-07-09T03:20:33,777 ------------------------------------------------------------ 2021-07-09T03:20:33,777 ... 2021-07-09T03:20:33,777 Maximum number of work-items that can be specified in each dimension to `opencl.Queue.enqueue_nd_range_kernel`. 2021-07-09T03:20:33,777 :returns: n entries, where n is the value returned by the query for `opencl.Device.max_work_item_dimensions` 2021-07-09T03:20:33,777 ''' 2021-07-09T03:20:33,777 def __get__(self): 2021-07-09T03:20:33,777 cdef cl_int err_code 2021-07-09T03:20:33,777 ^ 2021-07-09T03:20:33,778 ------------------------------------------------------------ 2021-07-09T03:20:33,778 opencl/copencl.pyx:455:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,778 Error compiling Cython file: 2021-07-09T03:20:33,778 ------------------------------------------------------------ 2021-07-09T03:20:33,778 ... 2021-07-09T03:20:33,778 return result 2021-07-09T03:20:33,779 property max_work_group_size: 2021-07-09T03:20:33,779 def __get__(self): 2021-07-09T03:20:33,779 cdef cl_int err_code 2021-07-09T03:20:33,779 ^ 2021-07-09T03:20:33,779 ------------------------------------------------------------ 2021-07-09T03:20:33,779 opencl/copencl.pyx:470:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,780 Error compiling Cython file: 2021-07-09T03:20:33,780 ------------------------------------------------------------ 2021-07-09T03:20:33,780 ... 2021-07-09T03:20:33,780 if err_code != CL_SUCCESS: raise OpenCLException(err_code) 2021-07-09T03:20:33,780 return value 2021-07-09T03:20:33,780 property profiling_timer_resolution: 2021-07-09T03:20:33,780 def __get__(self): 2021-07-09T03:20:33,780 cdef cl_int err_code 2021-07-09T03:20:33,780 ^ 2021-07-09T03:20:33,781 ------------------------------------------------------------ 2021-07-09T03:20:33,781 opencl/copencl.pyx:478:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,781 Error compiling Cython file: 2021-07-09T03:20:33,781 ------------------------------------------------------------ 2021-07-09T03:20:33,781 ... 2021-07-09T03:20:33,781 if err_code != CL_SUCCESS: raise OpenCLException(err_code) 2021-07-09T03:20:33,781 return value 2021-07-09T03:20:33,782 property max_parameter_size: 2021-07-09T03:20:33,782 def __get__(self): 2021-07-09T03:20:33,782 cdef cl_int err_code 2021-07-09T03:20:33,782 ^ 2021-07-09T03:20:33,782 ------------------------------------------------------------ 2021-07-09T03:20:33,782 opencl/copencl.pyx:486:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,783 Error compiling Cython file: 2021-07-09T03:20:33,783 ------------------------------------------------------------ 2021-07-09T03:20:33,783 ... 2021-07-09T03:20:33,783 if err_code != CL_SUCCESS: raise OpenCLException(err_code) 2021-07-09T03:20:33,783 return value 2021-07-09T03:20:33,783 property max_image2d_shape: 2021-07-09T03:20:33,783 def __get__(self): 2021-07-09T03:20:33,783 cdef cl_int err_code 2021-07-09T03:20:33,784 ^ 2021-07-09T03:20:33,784 ------------------------------------------------------------ 2021-07-09T03:20:33,784 opencl/copencl.pyx:494:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,784 Error compiling Cython file: 2021-07-09T03:20:33,784 ------------------------------------------------------------ 2021-07-09T03:20:33,784 ... 2021-07-09T03:20:33,784 if err_code != CL_SUCCESS: raise OpenCLException(err_code) 2021-07-09T03:20:33,785 return [w, h] 2021-07-09T03:20:33,785 property max_image3d_shape: 2021-07-09T03:20:33,785 def __get__(self): 2021-07-09T03:20:33,785 cdef cl_int err_code 2021-07-09T03:20:33,785 ^ 2021-07-09T03:20:33,785 ------------------------------------------------------------ 2021-07-09T03:20:33,785 opencl/copencl.pyx:504:17: 'cl_int' is not a type identifier 2021-07-09T03:20:33,786 Error compiling Cython file: 2021-07-09T03:20:33,786 ------------------------------------------------------------ 2021-07-09T03:20:33,786 ... 2021-07-09T03:20:33,786 if err_code != CL_SUCCESS: raise OpenCLException(err_code) 2021-07-09T03:20:33,786 return [w, h, d] 2021-07-09T03:20:33,786 cdef get_info(self, cl_device_info info_type): 2021-07-09T03:20:33,786 cdef size_t size 2021-07-09T03:20:33,786 cdef cl_int err_code 2021-07-09T03:20:33,787 ^ 2021-07-09T03:20:33,787 ------------------------------------------------------------ 2021-07-09T03:20:33,787 opencl/copencl.pyx:516:13: 'cl_int' is not a type identifier 2021-07-09T03:20:33,902 Error compiling Cython file: 2021-07-09T03:20:33,902 ------------------------------------------------------------ 2021-07-09T03:20:33,902 ... 2021-07-09T03:20:33,902 property devices: 2021-07-09T03:20:33,902 'list of all devices attached to this platform' 2021-07-09T03:20:33,902 def __get__(self): 2021-07-09T03:20:33,902 return self.get_devices() 2021-07-09T03:20:33,903 def get_devices(self, cl_device_type device_type=CL_DEVICE_TYPE_ALL): 2021-07-09T03:20:33,903 ^ 2021-07-09T03:20:33,903 ------------------------------------------------------------ 2021-07-09T03:20:33,903 opencl/copencl.pyx:127:54: undeclared name not builtin: CL_DEVICE_TYPE_ALL 2021-07-09T03:20:33,903 Error compiling Cython file: 2021-07-09T03:20:33,903 ------------------------------------------------------------ 2021-07-09T03:20:33,904 ... 2021-07-09T03:20:33,904 OpenCL devices typically correspond to a GPU, a multi-core CPU, and other 2021-07-09T03:20:33,904 processors such as DSPs and the Cell/B.E. processor. 2021-07-09T03:20:33,904 ''' 2021-07-09T03:20:33,904 DEFAULT = CL_DEVICE_TYPE_DEFAULT 2021-07-09T03:20:33,904 ^ 2021-07-09T03:20:33,905 ------------------------------------------------------------ 2021-07-09T03:20:33,905 opencl/copencl.pyx:180:14: undeclared name not builtin: CL_DEVICE_TYPE_DEFAULT 2021-07-09T03:20:33,905 Error compiling Cython file: 2021-07-09T03:20:33,905 ------------------------------------------------------------ 2021-07-09T03:20:33,905 ... 2021-07-09T03:20:33,905 processors such as DSPs and the Cell/B.E. processor. 2021-07-09T03:20:33,906 ''' 2021-07-09T03:20:33,906 DEFAULT = CL_DEVICE_TYPE_DEFAULT 2021-07-09T03:20:33,906 ALL = CL_DEVICE_TYPE_ALL 2021-07-09T03:20:33,906 CPU = CL_DEVICE_TYPE_CPU 2021-07-09T03:20:33,906 ^ 2021-07-09T03:20:33,906 ------------------------------------------------------------ 2021-07-09T03:20:33,907 opencl/copencl.pyx:182:10: undeclared name not builtin: CL_DEVICE_TYPE_CPU 2021-07-09T03:20:33,907 Error compiling Cython file: 2021-07-09T03:20:33,907 ------------------------------------------------------------ 2021-07-09T03:20:33,907 ... 2021-07-09T03:20:33,907 ''' 2021-07-09T03:20:33,907 DEFAULT = CL_DEVICE_TYPE_DEFAULT 2021-07-09T03:20:33,907 ALL = CL_DEVICE_TYPE_ALL 2021-07-09T03:20:33,908 CPU = CL_DEVICE_TYPE_CPU 2021-07-09T03:20:33,908 GPU = CL_DEVICE_TYPE_GPU 2021-07-09T03:20:33,908 ^ 2021-07-09T03:20:33,908 ------------------------------------------------------------ 2021-07-09T03:20:33,908 opencl/copencl.pyx:183:10: undeclared name not builtin: CL_DEVICE_TYPE_GPU 2021-07-09T03:20:33,908 Error compiling Cython file: 2021-07-09T03:20:33,909 ------------------------------------------------------------ 2021-07-09T03:20:33,909 ... 2021-07-09T03:20:33,909 Return a list of the platforms connected to the host. 2021-07-09T03:20:33,909 ''' 2021-07-09T03:20:33,909 cdef cl_uint num_platforms 2021-07-09T03:20:33,909 cdef cl_platform_id plid 2021-07-09T03:20:33,909 ret = clGetPlatformIDs(0, NULL, & num_platforms) 2021-07-09T03:20:33,909 ^ 2021-07-09T03:20:33,910 ------------------------------------------------------------ 2021-07-09T03:20:33,910 opencl/copencl.pyx:30:10: undeclared name not builtin: clGetPlatformIDs 2021-07-09T03:20:33,910 Error compiling Cython file: 2021-07-09T03:20:33,910 ------------------------------------------------------------ 2021-07-09T03:20:33,910 ... 2021-07-09T03:20:33,910 Return a list of the platforms connected to the host. 2021-07-09T03:20:33,910 ''' 2021-07-09T03:20:33,911 cdef cl_uint num_platforms 2021-07-09T03:20:33,911 cdef cl_platform_id plid 2021-07-09T03:20:33,911 ret = clGetPlatformIDs(0, NULL, & num_platforms) 2021-07-09T03:20:33,911 ^ 2021-07-09T03:20:33,911 ------------------------------------------------------------ 2021-07-09T03:20:33,911 opencl/copencl.pyx:30:30: Cannot convert 'void *' to Python object 2021-07-09T03:20:33,912 Error compiling Cython file: 2021-07-09T03:20:33,912 ------------------------------------------------------------ 2021-07-09T03:20:33,912 ... 2021-07-09T03:20:33,912 ''' 2021-07-09T03:20:33,912 cdef cl_uint num_platforms 2021-07-09T03:20:33,912 cdef cl_platform_id plid 2021-07-09T03:20:33,912 ret = clGetPlatformIDs(0, NULL, & num_platforms) 2021-07-09T03:20:33,912 if ret != CL_SUCCESS: 2021-07-09T03:20:33,913 ^ 2021-07-09T03:20:33,913 ------------------------------------------------------------ 2021-07-09T03:20:33,913 opencl/copencl.pyx:31:14: undeclared name not builtin: CL_SUCCESS 2021-07-09T03:20:33,913 Error compiling Cython file: 2021-07-09T03:20:33,913 ------------------------------------------------------------ 2021-07-09T03:20:33,913 ... 2021-07-09T03:20:33,913 cdef cl_platform_id plid 2021-07-09T03:20:33,914 ret = clGetPlatformIDs(0, NULL, & num_platforms) 2021-07-09T03:20:33,914 if ret != CL_SUCCESS: 2021-07-09T03:20:33,914 raise OpenCLException(ret) 2021-07-09T03:20:33,914 cdef cl_platform_id * cl_platform_ids = < cl_platform_id *> malloc(num_platforms * sizeof(cl_platform_id *)) 2021-07-09T03:20:33,914 ^ 2021-07-09T03:20:33,914 ------------------------------------------------------------ 2021-07-09T03:20:33,915 opencl/copencl.pyx:33:46: 'cl_platform_id' is not a type identifier 2021-07-09T03:20:33,915 Error compiling Cython file: 2021-07-09T03:20:33,915 ------------------------------------------------------------ 2021-07-09T03:20:33,915 ... 2021-07-09T03:20:33,915 cdef cl_platform_id plid 2021-07-09T03:20:33,915 ret = clGetPlatformIDs(0, NULL, & num_platforms) 2021-07-09T03:20:33,916 if ret != CL_SUCCESS: 2021-07-09T03:20:33,916 raise OpenCLException(ret) 2021-07-09T03:20:33,916 cdef cl_platform_id * cl_platform_ids = < cl_platform_id *> malloc(num_platforms * sizeof(cl_platform_id *)) 2021-07-09T03:20:33,916 ^ 2021-07-09T03:20:33,916 ------------------------------------------------------------ 2021-07-09T03:20:33,916 opencl/copencl.pyx:33:110: 'cl_platform_id' is not a type identifier 2021-07-09T03:20:33,916 Error compiling Cython file: 2021-07-09T03:20:33,917 ------------------------------------------------------------ 2021-07-09T03:20:33,917 ... 2021-07-09T03:20:33,917 ret = clGetPlatformIDs(0, NULL, & num_platforms) 2021-07-09T03:20:33,917 if ret != CL_SUCCESS: 2021-07-09T03:20:33,917 raise OpenCLException(ret) 2021-07-09T03:20:33,917 cdef cl_platform_id * cl_platform_ids = < cl_platform_id *> malloc(num_platforms * sizeof(cl_platform_id *)) 2021-07-09T03:20:33,917 ret = clGetPlatformIDs(num_platforms, cl_platform_ids, NULL) 2021-07-09T03:20:33,917 ^ 2021-07-09T03:20:33,918 ------------------------------------------------------------ 2021-07-09T03:20:33,918 opencl/copencl.pyx:35:59: Cannot convert 'void *' to Python object 2021-07-09T03:20:33,918 Error compiling Cython file: 2021-07-09T03:20:33,918 ------------------------------------------------------------ 2021-07-09T03:20:33,918 ... 2021-07-09T03:20:33,919 cdef get_info(self, cl_platform_info info_type): 2021-07-09T03:20:33,919 cdef size_t size 2021-07-09T03:20:33,919 cdef cl_int err_code 2021-07-09T03:20:33,919 err_code = clGetPlatformInfo(self.platform_id, 2021-07-09T03:20:33,919 ^ 2021-07-09T03:20:33,919 ------------------------------------------------------------ 2021-07-09T03:20:33,919 opencl/copencl.pyx:72:19: undeclared name not builtin: clGetPlatformInfo 2021-07-09T03:20:33,920 Error compiling Cython file: 2021-07-09T03:20:33,920 ------------------------------------------------------------ 2021-07-09T03:20:33,920 ... 2021-07-09T03:20:33,920 cdef get_info(self, cl_platform_info info_type): 2021-07-09T03:20:33,920 cdef size_t size 2021-07-09T03:20:33,920 cdef cl_int err_code 2021-07-09T03:20:33,920 err_code = clGetPlatformInfo(self.platform_id, 2021-07-09T03:20:33,920 info_type, 0, 2021-07-09T03:20:33,921 NULL, & size) 2021-07-09T03:20:33,921 ^ 2021-07-09T03:20:33,921 ------------------------------------------------------------ 2021-07-09T03:20:33,921 opencl/copencl.pyx:74:35: Cannot convert 'void *' to Python object 2021-07-09T03:20:33,921 Error compiling Cython file: 2021-07-09T03:20:33,921 ------------------------------------------------------------ 2021-07-09T03:20:33,921 ... 2021-07-09T03:20:33,922 cdef get_info(self, cl_platform_info info_type): 2021-07-09T03:20:33,922 cdef size_t size 2021-07-09T03:20:33,922 cdef cl_int err_code 2021-07-09T03:20:33,922 err_code = clGetPlatformInfo(self.platform_id, 2021-07-09T03:20:33,922 info_type, 0, 2021-07-09T03:20:33,922 NULL, & size) 2021-07-09T03:20:33,922 ^ 2021-07-09T03:20:33,922 ------------------------------------------------------------ 2021-07-09T03:20:33,923 opencl/copencl.pyx:74:41: Cannot convert 'size_t *' to Python object 2021-07-09T03:20:33,923 Error compiling Cython file: 2021-07-09T03:20:33,923 ------------------------------------------------------------ 2021-07-09T03:20:33,923 ... 2021-07-09T03:20:33,923 cdef char * result = < char *> malloc(size * sizeof(char *)) 2021-07-09T03:20:33,924 err_code = clGetPlatformInfo(self.platform_id, 2021-07-09T03:20:33,924 info_type, size, 2021-07-09T03:20:33,924 result, NULL) 2021-07-09T03:20:33,924 ^ 2021-07-09T03:20:33,924 ------------------------------------------------------------ 2021-07-09T03:20:33,924 opencl/copencl.pyx:83:43: Cannot convert 'void *' to Python object 2021-07-09T03:20:33,925 Error compiling Cython file: 2021-07-09T03:20:33,925 ------------------------------------------------------------ 2021-07-09T03:20:33,925 ... 2021-07-09T03:20:33,925 property profile: 2021-07-09T03:20:33,925 ''' 2021-07-09T03:20:33,925 return the plafrom profile info 2021-07-09T03:20:33,925 ''' 2021-07-09T03:20:33,925 def __get__(self): 2021-07-09T03:20:33,925 return self.get_info(CL_PLATFORM_PROFILE) 2021-07-09T03:20:33,926 ^ 2021-07-09T03:20:33,926 ------------------------------------------------------------ 2021-07-09T03:20:33,926 opencl/copencl.pyx:98:33: undeclared name not builtin: CL_PLATFORM_PROFILE 2021-07-09T03:20:33,926 Error compiling Cython file: 2021-07-09T03:20:33,926 ------------------------------------------------------------ 2021-07-09T03:20:33,926 ... 2021-07-09T03:20:33,926 property version: 2021-07-09T03:20:33,927 ''' 2021-07-09T03:20:33,927 return the version string of the platform 2021-07-09T03:20:33,927 ''' 2021-07-09T03:20:33,927 def __get__(self): 2021-07-09T03:20:33,927 return self.get_info(CL_PLATFORM_VERSION) 2021-07-09T03:20:33,927 ^ 2021-07-09T03:20:33,927 ------------------------------------------------------------ 2021-07-09T03:20:33,927 opencl/copencl.pyx:105:33: undeclared name not builtin: CL_PLATFORM_VERSION 2021-07-09T03:20:33,928 Error compiling Cython file: 2021-07-09T03:20:33,928 ------------------------------------------------------------ 2021-07-09T03:20:33,928 ... 2021-07-09T03:20:33,928 return self.get_info(CL_PLATFORM_VERSION) 2021-07-09T03:20:33,928 property name: 2021-07-09T03:20:33,928 'platform name' 2021-07-09T03:20:33,929 def __get__(self): 2021-07-09T03:20:33,929 return self.get_info(CL_PLATFORM_NAME) 2021-07-09T03:20:33,929 ^ 2021-07-09T03:20:33,929 ------------------------------------------------------------ 2021-07-09T03:20:33,929 opencl/copencl.pyx:110:33: undeclared name not builtin: CL_PLATFORM_NAME 2021-07-09T03:20:33,929 Error compiling Cython file: 2021-07-09T03:20:33,929 ------------------------------------------------------------ 2021-07-09T03:20:33,930 ... 2021-07-09T03:20:33,930 return self.get_info(CL_PLATFORM_NAME) 2021-07-09T03:20:33,930 property vendor: 2021-07-09T03:20:33,930 'platform vendor' 2021-07-09T03:20:33,930 def __get__(self): 2021-07-09T03:20:33,930 return self.get_info(CL_PLATFORM_VENDOR) 2021-07-09T03:20:33,930 ^ 2021-07-09T03:20:33,930 ------------------------------------------------------------ 2021-07-09T03:20:33,931 opencl/copencl.pyx:115:33: undeclared name not builtin: CL_PLATFORM_VENDOR 2021-07-09T03:20:33,931 Error compiling Cython file: 2021-07-09T03:20:33,931 ------------------------------------------------------------ 2021-07-09T03:20:33,931 ... 2021-07-09T03:20:33,931 return self.get_info(CL_PLATFORM_VENDOR) 2021-07-09T03:20:33,931 property extensions: 2021-07-09T03:20:33,932 'platform extensions as a string' 2021-07-09T03:20:33,932 def __get__(self): 2021-07-09T03:20:33,932 return self.get_info(CL_PLATFORM_EXTENSIONS) 2021-07-09T03:20:33,932 ^ 2021-07-09T03:20:33,932 ------------------------------------------------------------ 2021-07-09T03:20:33,932 opencl/copencl.pyx:120:33: undeclared name not builtin: CL_PLATFORM_EXTENSIONS 2021-07-09T03:20:33,932 Error compiling Cython file: 2021-07-09T03:20:33,933 ------------------------------------------------------------ 2021-07-09T03:20:33,933 ... 2021-07-09T03:20:33,933 return a list of devices by type. 2021-07-09T03:20:33,933 ''' 2021-07-09T03:20:33,933 cdef cl_int err_code 2021-07-09T03:20:33,933 cdef cl_uint num_devices 2021-07-09T03:20:33,933 err_code = clGetDeviceIDs(self.platform_id, device_type, 0, NULL, & num_devices) 2021-07-09T03:20:33,934 ^ 2021-07-09T03:20:33,934 ------------------------------------------------------------ 2021-07-09T03:20:33,934 opencl/copencl.pyx:136:19: undeclared name not builtin: clGetDeviceIDs 2021-07-09T03:20:33,934 Error compiling Cython file: 2021-07-09T03:20:33,934 ------------------------------------------------------------ 2021-07-09T03:20:33,934 ... 2021-07-09T03:20:33,934 return a list of devices by type. 2021-07-09T03:20:33,935 ''' 2021-07-09T03:20:33,935 cdef cl_int err_code 2021-07-09T03:20:33,935 cdef cl_uint num_devices 2021-07-09T03:20:33,935 err_code = clGetDeviceIDs(self.platform_id, device_type, 0, NULL, & num_devices) 2021-07-09T03:20:33,935 ^ 2021-07-09T03:20:33,935 ------------------------------------------------------------ 2021-07-09T03:20:33,935 opencl/copencl.pyx:136:68: Cannot convert 'void *' to Python object 2021-07-09T03:20:33,936 Error compiling Cython file: 2021-07-09T03:20:33,936 ------------------------------------------------------------ 2021-07-09T03:20:33,936 ... 2021-07-09T03:20:33,936 err_code = clGetDeviceIDs(self.platform_id, device_type, 0, NULL, & num_devices) 2021-07-09T03:20:33,936 if err_code != CL_SUCCESS: 2021-07-09T03:20:33,936 raise OpenCLException(err_code) 2021-07-09T03:20:33,937 cdef cl_device_id * result = < cl_device_id *> malloc(num_devices * sizeof(cl_device_id *)) 2021-07-09T03:20:33,937 ^ 2021-07-09T03:20:33,937 ------------------------------------------------------------ 2021-07-09T03:20:33,937 opencl/copencl.pyx:141:39: 'cl_device_id' is not a type identifier 2021-07-09T03:20:33,937 Error compiling Cython file: 2021-07-09T03:20:33,937 ------------------------------------------------------------ 2021-07-09T03:20:33,938 ... 2021-07-09T03:20:33,938 err_code = clGetDeviceIDs(self.platform_id, device_type, 0, NULL, & num_devices) 2021-07-09T03:20:33,938 if err_code != CL_SUCCESS: 2021-07-09T03:20:33,938 raise OpenCLException(err_code) 2021-07-09T03:20:33,938 cdef cl_device_id * result = < cl_device_id *> malloc(num_devices * sizeof(cl_device_id *)) 2021-07-09T03:20:33,938 ^ 2021-07-09T03:20:33,938 ------------------------------------------------------------ 2021-07-09T03:20:33,939 opencl/copencl.pyx:141:97: 'cl_device_id' is not a type identifier 2021-07-09T03:20:33,939 Error compiling Cython file: 2021-07-09T03:20:33,939 ------------------------------------------------------------ 2021-07-09T03:20:33,939 ... 2021-07-09T03:20:33,939 if err_code != CL_SUCCESS: 2021-07-09T03:20:33,939 raise OpenCLException(err_code) 2021-07-09T03:20:33,940 cdef cl_device_id * result = < cl_device_id *> malloc(num_devices * sizeof(cl_device_id *)) 2021-07-09T03:20:33,940 err_code = clGetDeviceIDs(self.platform_id, device_type, num_devices, result, NULL) 2021-07-09T03:20:33,940 ^ 2021-07-09T03:20:33,940 ------------------------------------------------------------ 2021-07-09T03:20:33,940 opencl/copencl.pyx:143:86: Cannot convert 'void *' to Python object 2021-07-09T03:20:33,941 Error compiling Cython file: 2021-07-09T03:20:33,941 ------------------------------------------------------------ 2021-07-09T03:20:33,941 ... 2021-07-09T03:20:33,941 return the platform this device is associated with. 2021-07-09T03:20:33,941 ''' 2021-07-09T03:20:33,941 def __get__(self): 2021-07-09T03:20:33,941 cdef cl_int err_code 2021-07-09T03:20:33,941 cdef cl_platform_id plat_id 2021-07-09T03:20:33,942 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_PLATFORM, sizeof(cl_platform_id), < void *>& plat_id, NULL) 2021-07-09T03:20:33,942 ^ 2021-07-09T03:20:33,942 ------------------------------------------------------------ 2021-07-09T03:20:33,942 opencl/copencl.pyx:219:23: undeclared name not builtin: clGetDeviceInfo 2021-07-09T03:20:33,942 Error compiling Cython file: 2021-07-09T03:20:33,942 ------------------------------------------------------------ 2021-07-09T03:20:33,942 ... 2021-07-09T03:20:33,942 return the platform this device is associated with. 2021-07-09T03:20:33,943 ''' 2021-07-09T03:20:33,943 def __get__(self): 2021-07-09T03:20:33,943 cdef cl_int err_code 2021-07-09T03:20:33,943 cdef cl_platform_id plat_id 2021-07-09T03:20:33,943 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_PLATFORM, sizeof(cl_platform_id), < void *>& plat_id, NULL) 2021-07-09T03:20:33,943 ^ 2021-07-09T03:20:33,943 ------------------------------------------------------------ 2021-07-09T03:20:33,944 opencl/copencl.pyx:219:55: undeclared name not builtin: CL_DEVICE_PLATFORM 2021-07-09T03:20:33,944 Error compiling Cython file: 2021-07-09T03:20:33,944 ------------------------------------------------------------ 2021-07-09T03:20:33,944 ... 2021-07-09T03:20:33,944 return the platform this device is associated with. 2021-07-09T03:20:33,944 ''' 2021-07-09T03:20:33,944 def __get__(self): 2021-07-09T03:20:33,944 cdef cl_int err_code 2021-07-09T03:20:33,945 cdef cl_platform_id plat_id 2021-07-09T03:20:33,945 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_PLATFORM, sizeof(cl_platform_id), < void *>& plat_id, NULL) 2021-07-09T03:20:33,945 ^ 2021-07-09T03:20:33,945 ------------------------------------------------------------ 2021-07-09T03:20:33,945 opencl/copencl.pyx:219:96: undeclared name not builtin: cl_platform_id 2021-07-09T03:20:33,945 Error compiling Cython file: 2021-07-09T03:20:33,946 ------------------------------------------------------------ 2021-07-09T03:20:33,946 ... 2021-07-09T03:20:33,946 return the platform this device is associated with. 2021-07-09T03:20:33,946 ''' 2021-07-09T03:20:33,946 def __get__(self): 2021-07-09T03:20:33,946 cdef cl_int err_code 2021-07-09T03:20:33,946 cdef cl_platform_id plat_id 2021-07-09T03:20:33,946 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_PLATFORM, sizeof(cl_platform_id), < void *>& plat_id, NULL) 2021-07-09T03:20:33,946 ^ 2021-07-09T03:20:33,947 ------------------------------------------------------------ 2021-07-09T03:20:33,947 opencl/copencl.pyx:219:99: Cannot convert 'void *' to Python object 2021-07-09T03:20:33,947 Error compiling Cython file: 2021-07-09T03:20:33,947 ------------------------------------------------------------ 2021-07-09T03:20:33,947 ... 2021-07-09T03:20:33,947 return the platform this device is associated with. 2021-07-09T03:20:33,947 ''' 2021-07-09T03:20:33,948 def __get__(self): 2021-07-09T03:20:33,948 cdef cl_int err_code 2021-07-09T03:20:33,948 cdef cl_platform_id plat_id 2021-07-09T03:20:33,948 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_PLATFORM, sizeof(cl_platform_id), < void *>& plat_id, NULL) 2021-07-09T03:20:33,948 ^ 2021-07-09T03:20:33,948 ------------------------------------------------------------ 2021-07-09T03:20:33,948 opencl/copencl.pyx:219:119: Cannot convert 'void *' to Python object 2021-07-09T03:20:33,949 Error compiling Cython file: 2021-07-09T03:20:33,949 ------------------------------------------------------------ 2021-07-09T03:20:33,949 ... 2021-07-09T03:20:33,949 property type: 2021-07-09T03:20:33,949 'return device type: one of [Device.DEFAULT, Device.ALL, Device.GPU or Device.CPU]' 2021-07-09T03:20:33,949 def __get__(self): 2021-07-09T03:20:33,949 cdef cl_int err_code 2021-07-09T03:20:33,949 cdef cl_device_type dtype 2021-07-09T03:20:33,950 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_TYPE, sizeof(cl_device_type), < void *>& dtype, NULL) 2021-07-09T03:20:33,950 ^ 2021-07-09T03:20:33,950 ------------------------------------------------------------ 2021-07-09T03:20:33,950 opencl/copencl.pyx:231:55: undeclared name not builtin: CL_DEVICE_TYPE 2021-07-09T03:20:33,950 Error compiling Cython file: 2021-07-09T03:20:33,950 ------------------------------------------------------------ 2021-07-09T03:20:33,950 ... 2021-07-09T03:20:33,951 property type: 2021-07-09T03:20:33,951 'return device type: one of [Device.DEFAULT, Device.ALL, Device.GPU or Device.CPU]' 2021-07-09T03:20:33,951 def __get__(self): 2021-07-09T03:20:33,951 cdef cl_int err_code 2021-07-09T03:20:33,951 cdef cl_device_type dtype 2021-07-09T03:20:33,951 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_TYPE, sizeof(cl_device_type), < void *>& dtype, NULL) 2021-07-09T03:20:33,951 ^ 2021-07-09T03:20:33,951 ------------------------------------------------------------ 2021-07-09T03:20:33,952 opencl/copencl.pyx:231:92: undeclared name not builtin: cl_device_type 2021-07-09T03:20:33,952 Error compiling Cython file: 2021-07-09T03:20:33,952 ------------------------------------------------------------ 2021-07-09T03:20:33,952 ... 2021-07-09T03:20:33,952 property type: 2021-07-09T03:20:33,952 'return device type: one of [Device.DEFAULT, Device.ALL, Device.GPU or Device.CPU]' 2021-07-09T03:20:33,952 def __get__(self): 2021-07-09T03:20:33,952 cdef cl_int err_code 2021-07-09T03:20:33,953 cdef cl_device_type dtype 2021-07-09T03:20:33,953 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_TYPE, sizeof(cl_device_type), < void *>& dtype, NULL) 2021-07-09T03:20:33,953 ^ 2021-07-09T03:20:33,953 ------------------------------------------------------------ 2021-07-09T03:20:33,953 opencl/copencl.pyx:231:95: Cannot convert 'void *' to Python object 2021-07-09T03:20:33,953 Error compiling Cython file: 2021-07-09T03:20:33,954 ------------------------------------------------------------ 2021-07-09T03:20:33,954 ... 2021-07-09T03:20:33,954 property type: 2021-07-09T03:20:33,954 'return device type: one of [Device.DEFAULT, Device.ALL, Device.GPU or Device.CPU]' 2021-07-09T03:20:33,954 def __get__(self): 2021-07-09T03:20:33,954 cdef cl_int err_code 2021-07-09T03:20:33,954 cdef cl_device_type dtype 2021-07-09T03:20:33,954 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_TYPE, sizeof(cl_device_type), < void *>& dtype, NULL) 2021-07-09T03:20:33,955 ^ 2021-07-09T03:20:33,955 ------------------------------------------------------------ 2021-07-09T03:20:33,955 opencl/copencl.pyx:231:113: Cannot convert 'void *' to Python object 2021-07-09T03:20:33,955 Error compiling Cython file: 2021-07-09T03:20:33,955 ------------------------------------------------------------ 2021-07-09T03:20:33,955 ... 2021-07-09T03:20:33,955 'test if this device supports the openc.Image class' 2021-07-09T03:20:33,956 def __get__(self): 2021-07-09T03:20:33,956 cdef cl_int err_code 2021-07-09T03:20:33,956 cdef cl_bool result 2021-07-09T03:20:33,956 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE_SUPPORT, sizeof(cl_bool), < void *>& result, NULL) 2021-07-09T03:20:33,956 ^ 2021-07-09T03:20:33,956 ------------------------------------------------------------ 2021-07-09T03:20:33,956 opencl/copencl.pyx:244:55: undeclared name not builtin: CL_DEVICE_IMAGE_SUPPORT 2021-07-09T03:20:33,957 Error compiling Cython file: 2021-07-09T03:20:33,957 ------------------------------------------------------------ 2021-07-09T03:20:33,957 ... 2021-07-09T03:20:33,957 'test if this device supports the openc.Image class' 2021-07-09T03:20:33,957 def __get__(self): 2021-07-09T03:20:33,957 cdef cl_int err_code 2021-07-09T03:20:33,957 cdef cl_bool result 2021-07-09T03:20:33,958 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE_SUPPORT, sizeof(cl_bool), < void *>& result, NULL) 2021-07-09T03:20:33,958 ^ 2021-07-09T03:20:33,958 ------------------------------------------------------------ 2021-07-09T03:20:33,958 opencl/copencl.pyx:244:94: undeclared name not builtin: cl_bool 2021-07-09T03:20:33,958 Error compiling Cython file: 2021-07-09T03:20:33,958 ------------------------------------------------------------ 2021-07-09T03:20:33,959 ... 2021-07-09T03:20:33,959 'test if this device supports the openc.Image class' 2021-07-09T03:20:33,959 def __get__(self): 2021-07-09T03:20:33,959 cdef cl_int err_code 2021-07-09T03:20:33,959 cdef cl_bool result 2021-07-09T03:20:33,959 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE_SUPPORT, sizeof(cl_bool), < void *>& result, NULL) 2021-07-09T03:20:33,959 ^ 2021-07-09T03:20:33,959 ------------------------------------------------------------ 2021-07-09T03:20:33,960 opencl/copencl.pyx:244:97: Cannot convert 'void *' to Python object 2021-07-09T03:20:33,960 Error compiling Cython file: 2021-07-09T03:20:33,960 ------------------------------------------------------------ 2021-07-09T03:20:33,960 ... 2021-07-09T03:20:33,960 'test if this device supports the openc.Image class' 2021-07-09T03:20:33,960 def __get__(self): 2021-07-09T03:20:33,960 cdef cl_int err_code 2021-07-09T03:20:33,961 cdef cl_bool result 2021-07-09T03:20:33,961 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE_SUPPORT, sizeof(cl_bool), < void *>& result, NULL) 2021-07-09T03:20:33,961 ^ 2021-07-09T03:20:33,961 ------------------------------------------------------------ 2021-07-09T03:20:33,961 opencl/copencl.pyx:244:116: Cannot convert 'void *' to Python object 2021-07-09T03:20:33,961 Error compiling Cython file: 2021-07-09T03:20:33,962 ------------------------------------------------------------ 2021-07-09T03:20:33,962 ... 2021-07-09T03:20:33,962 property name: 2021-07-09T03:20:33,962 'the name of this device' 2021-07-09T03:20:33,962 def __get__(self): 2021-07-09T03:20:33,962 cdef size_t size 2021-07-09T03:20:33,962 cdef cl_int err_code 2021-07-09T03:20:33,962 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_NAME, 0, NULL, & size) 2021-07-09T03:20:33,963 ^ 2021-07-09T03:20:33,963 ------------------------------------------------------------ 2021-07-09T03:20:33,963 opencl/copencl.pyx:256:55: undeclared name not builtin: CL_DEVICE_NAME 2021-07-09T03:20:33,963 Error compiling Cython file: 2021-07-09T03:20:33,963 ------------------------------------------------------------ 2021-07-09T03:20:33,963 ... 2021-07-09T03:20:33,964 property name: 2021-07-09T03:20:33,964 'the name of this device' 2021-07-09T03:20:33,964 def __get__(self): 2021-07-09T03:20:33,964 cdef size_t size 2021-07-09T03:20:33,964 cdef cl_int err_code 2021-07-09T03:20:33,964 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_NAME, 0, NULL, & size) 2021-07-09T03:20:33,964 ^ 2021-07-09T03:20:33,964 ------------------------------------------------------------ 2021-07-09T03:20:33,965 opencl/copencl.pyx:256:74: Cannot convert 'void *' to Python object 2021-07-09T03:20:33,965 Error compiling Cython file: 2021-07-09T03:20:33,965 ------------------------------------------------------------ 2021-07-09T03:20:33,965 ... 2021-07-09T03:20:33,965 property name: 2021-07-09T03:20:33,965 'the name of this device' 2021-07-09T03:20:33,965 def __get__(self): 2021-07-09T03:20:33,965 cdef size_t size 2021-07-09T03:20:33,966 cdef cl_int err_code 2021-07-09T03:20:33,966 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_NAME, 0, NULL, & size) 2021-07-09T03:20:33,966 ^ 2021-07-09T03:20:33,966 ------------------------------------------------------------ 2021-07-09T03:20:33,966 opencl/copencl.pyx:256:80: Cannot convert 'size_t *' to Python object 2021-07-09T03:20:33,966 Error compiling Cython file: 2021-07-09T03:20:33,966 ------------------------------------------------------------ 2021-07-09T03:20:33,967 ... 2021-07-09T03:20:33,967 if err_code != CL_SUCCESS: 2021-07-09T03:20:33,967 raise OpenCLException(err_code) 2021-07-09T03:20:33,967 cdef char * result = < char *> malloc(size * sizeof(char *)) 2021-07-09T03:20:33,967 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_NAME, size * sizeof(char *), < void *> result, NULL) 2021-07-09T03:20:33,967 ^ 2021-07-09T03:20:33,968 ------------------------------------------------------------ 2021-07-09T03:20:33,968 opencl/copencl.pyx:263:94: Cannot convert 'void *' to Python object 2021-07-09T03:20:33,968 Error compiling Cython file: 2021-07-09T03:20:33,968 ------------------------------------------------------------ 2021-07-09T03:20:33,968 ... 2021-07-09T03:20:33,968 if err_code != CL_SUCCESS: 2021-07-09T03:20:33,968 raise OpenCLException(err_code) 2021-07-09T03:20:33,969 cdef char * result = < char *> malloc(size * sizeof(char *)) 2021-07-09T03:20:33,969 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_NAME, size * sizeof(char *), < void *> result, NULL) 2021-07-09T03:20:33,969 ^ 2021-07-09T03:20:33,969 ------------------------------------------------------------ 2021-07-09T03:20:33,969 opencl/copencl.pyx:263:112: Cannot convert 'void *' to Python object 2021-07-09T03:20:33,970 Error compiling Cython file: 2021-07-09T03:20:33,970 ------------------------------------------------------------ 2021-07-09T03:20:33,970 ... 2021-07-09T03:20:33,970 def __get__(self): 2021-07-09T03:20:33,970 cdef size_t size 2021-07-09T03:20:33,970 cdef cl_int err_code 2021-07-09T03:20:33,970 cdef cl_command_queue_properties result 2021-07-09T03:20:33,971 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_QUEUE_PROPERTIES, sizeof(cl_command_queue_properties), & result, NULL) 2021-07-09T03:20:33,971 ^ 2021-07-09T03:20:33,971 ------------------------------------------------------------ 2021-07-09T03:20:33,971 opencl/copencl.pyx:284:55: undeclared name not builtin: CL_DEVICE_QUEUE_PROPERTIES 2021-07-09T03:20:33,971 Error compiling Cython file: 2021-07-09T03:20:33,971 ------------------------------------------------------------ 2021-07-09T03:20:33,971 ... 2021-07-09T03:20:33,972 def __get__(self): 2021-07-09T03:20:33,972 cdef size_t size 2021-07-09T03:20:33,972 cdef cl_int err_code 2021-07-09T03:20:33,972 cdef cl_command_queue_properties result 2021-07-09T03:20:33,972 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_QUEUE_PROPERTIES, sizeof(cl_command_queue_properties), & result, NULL) 2021-07-09T03:20:33,972 ^ 2021-07-09T03:20:33,972 ------------------------------------------------------------ 2021-07-09T03:20:33,973 opencl/copencl.pyx:284:117: undeclared name not builtin: cl_command_queue_properties 2021-07-09T03:20:33,973 Error compiling Cython file: 2021-07-09T03:20:33,973 ------------------------------------------------------------ 2021-07-09T03:20:33,973 ... 2021-07-09T03:20:33,973 def __get__(self): 2021-07-09T03:20:33,973 cdef size_t size 2021-07-09T03:20:33,973 cdef cl_int err_code 2021-07-09T03:20:33,973 cdef cl_command_queue_properties result 2021-07-09T03:20:33,974 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_QUEUE_PROPERTIES, sizeof(cl_command_queue_properties), & result, NULL) 2021-07-09T03:20:33,974 ^ 2021-07-09T03:20:33,974 ------------------------------------------------------------ 2021-07-09T03:20:33,974 opencl/copencl.pyx:284:130: Cannot convert 'void *' to Python object 2021-07-09T03:20:33,974 Error compiling Cython file: 2021-07-09T03:20:33,975 ------------------------------------------------------------ 2021-07-09T03:20:33,975 ... 2021-07-09T03:20:33,975 return result 2021-07-09T03:20:33,975 property has_queue_out_of_order_exec_mode: 2021-07-09T03:20:33,975 'test if this device supports out_of_order_exec_mode for queues' 2021-07-09T03:20:33,975 def __get__(self): 2021-07-09T03:20:33,975 return bool(( self.queue_properties) & CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE) 2021-07-09T03:20:33,975 ^ 2021-07-09T03:20:33,976 ------------------------------------------------------------ 2021-07-09T03:20:33,976 opencl/copencl.pyx:294:26: 'cl_command_queue_properties' is not a type identifier 2021-07-09T03:20:33,976 Error compiling Cython file: 2021-07-09T03:20:33,976 ------------------------------------------------------------ 2021-07-09T03:20:33,976 ... 2021-07-09T03:20:33,976 return result 2021-07-09T03:20:33,977 property has_queue_out_of_order_exec_mode: 2021-07-09T03:20:33,977 'test if this device supports out_of_order_exec_mode for queues' 2021-07-09T03:20:33,977 def __get__(self): 2021-07-09T03:20:33,977 return bool(( self.queue_properties) & CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE) 2021-07-09T03:20:33,977 ^ 2021-07-09T03:20:33,977 ------------------------------------------------------------ 2021-07-09T03:20:33,977 opencl/copencl.pyx:294:80: undeclared name not builtin: CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE 2021-07-09T03:20:33,978 Error compiling Cython file: 2021-07-09T03:20:33,978 ------------------------------------------------------------ 2021-07-09T03:20:33,978 ... 2021-07-09T03:20:33,978 return bool(( self.queue_properties) & CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE) 2021-07-09T03:20:33,978 property has_queue_profiling: 2021-07-09T03:20:33,978 'test if this device supports profiling for queues' 2021-07-09T03:20:33,978 def __get__(self): 2021-07-09T03:20:33,979 return bool(( self.queue_properties) & CL_QUEUE_PROFILING_ENABLE) 2021-07-09T03:20:33,979 ^ 2021-07-09T03:20:33,979 ------------------------------------------------------------ 2021-07-09T03:20:33,979 opencl/copencl.pyx:299:26: 'cl_command_queue_properties' is not a type identifier 2021-07-09T03:20:33,979 Error compiling Cython file: 2021-07-09T03:20:33,979 ------------------------------------------------------------ 2021-07-09T03:20:33,980 ... 2021-07-09T03:20:33,980 return bool(( self.queue_properties) & CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE) 2021-07-09T03:20:33,980 property has_queue_profiling: 2021-07-09T03:20:33,980 'test if this device supports profiling for queues' 2021-07-09T03:20:33,980 def __get__(self): 2021-07-09T03:20:33,980 return bool(( self.queue_properties) & CL_QUEUE_PROFILING_ENABLE) 2021-07-09T03:20:33,980 ^ 2021-07-09T03:20:33,980 ------------------------------------------------------------ 2021-07-09T03:20:33,981 opencl/copencl.pyx:299:80: undeclared name not builtin: CL_QUEUE_PROFILING_ENABLE 2021-07-09T03:20:33,981 Error compiling Cython file: 2021-07-09T03:20:33,981 ------------------------------------------------------------ 2021-07-09T03:20:33,981 ... 2021-07-09T03:20:33,981 'test if this device supports native python kernels' 2021-07-09T03:20:33,981 def __get__(self): 2021-07-09T03:20:33,981 cdef cl_int err_code 2021-07-09T03:20:33,982 cdef cl_device_exec_capabilities result 2021-07-09T03:20:33,982 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_EXECUTION_CAPABILITIES, sizeof(cl_device_exec_capabilities), & result, NULL) 2021-07-09T03:20:33,982 ^ 2021-07-09T03:20:33,982 ------------------------------------------------------------ 2021-07-09T03:20:33,982 opencl/copencl.pyx:307:55: undeclared name not builtin: CL_DEVICE_EXECUTION_CAPABILITIES 2021-07-09T03:20:33,982 Error compiling Cython file: 2021-07-09T03:20:33,983 ------------------------------------------------------------ 2021-07-09T03:20:33,983 ... 2021-07-09T03:20:33,983 'test if this device supports native python kernels' 2021-07-09T03:20:33,983 def __get__(self): 2021-07-09T03:20:33,983 cdef cl_int err_code 2021-07-09T03:20:33,983 cdef cl_device_exec_capabilities result 2021-07-09T03:20:33,983 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_EXECUTION_CAPABILITIES, sizeof(cl_device_exec_capabilities), & result, NULL) 2021-07-09T03:20:33,984 ^ 2021-07-09T03:20:33,984 ------------------------------------------------------------ 2021-07-09T03:20:33,984 opencl/copencl.pyx:307:123: undeclared name not builtin: cl_device_exec_capabilities 2021-07-09T03:20:33,984 Error compiling Cython file: 2021-07-09T03:20:33,984 ------------------------------------------------------------ 2021-07-09T03:20:33,984 ... 2021-07-09T03:20:33,985 'test if this device supports native python kernels' 2021-07-09T03:20:33,985 def __get__(self): 2021-07-09T03:20:33,985 cdef cl_int err_code 2021-07-09T03:20:33,985 cdef cl_device_exec_capabilities result 2021-07-09T03:20:33,985 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_EXECUTION_CAPABILITIES, sizeof(cl_device_exec_capabilities), & result, NULL) 2021-07-09T03:20:33,986 ^ 2021-07-09T03:20:33,986 ------------------------------------------------------------ 2021-07-09T03:20:33,986 opencl/copencl.pyx:307:136: Cannot convert 'void *' to Python object 2021-07-09T03:20:33,986 Error compiling Cython file: 2021-07-09T03:20:33,986 ------------------------------------------------------------ 2021-07-09T03:20:33,987 ... 2021-07-09T03:20:33,987 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_EXECUTION_CAPABILITIES, sizeof(cl_device_exec_capabilities), & result, NULL) 2021-07-09T03:20:33,987 if err_code != CL_SUCCESS: 2021-07-09T03:20:33,987 raise OpenCLException(err_code) 2021-07-09T03:20:33,987 return True if result & CL_EXEC_NATIVE_KERNEL else False 2021-07-09T03:20:33,988 ^ 2021-07-09T03:20:33,988 ------------------------------------------------------------ 2021-07-09T03:20:33,988 opencl/copencl.pyx:312:36: undeclared name not builtin: CL_EXEC_NATIVE_KERNEL 2021-07-09T03:20:33,988 Error compiling Cython file: 2021-07-09T03:20:33,989 ------------------------------------------------------------ 2021-07-09T03:20:33,989 ... 2021-07-09T03:20:33,989 property vendor_id: 2021-07-09T03:20:33,989 'return the vendor ID' 2021-07-09T03:20:33,989 def __get__(self): 2021-07-09T03:20:33,989 cdef cl_int err_code 2021-07-09T03:20:33,989 cdef cl_uint value = 0 2021-07-09T03:20:33,989 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_VENDOR_ID, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:33,990 ^ 2021-07-09T03:20:33,990 ------------------------------------------------------------ 2021-07-09T03:20:33,990 opencl/copencl.pyx:319:55: undeclared name not builtin: CL_DEVICE_VENDOR_ID 2021-07-09T03:20:33,990 Error compiling Cython file: 2021-07-09T03:20:33,990 ------------------------------------------------------------ 2021-07-09T03:20:33,990 ... 2021-07-09T03:20:33,991 property vendor_id: 2021-07-09T03:20:33,991 'return the vendor ID' 2021-07-09T03:20:33,991 def __get__(self): 2021-07-09T03:20:33,991 cdef cl_int err_code 2021-07-09T03:20:33,991 cdef cl_uint value = 0 2021-07-09T03:20:33,991 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_VENDOR_ID, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:33,991 ^ 2021-07-09T03:20:33,991 ------------------------------------------------------------ 2021-07-09T03:20:33,992 opencl/copencl.pyx:319:91: Cannot convert 'void *' to Python object 2021-07-09T03:20:33,992 Error compiling Cython file: 2021-07-09T03:20:33,992 ------------------------------------------------------------ 2021-07-09T03:20:33,992 ... 2021-07-09T03:20:33,992 property vendor_id: 2021-07-09T03:20:33,992 'return the vendor ID' 2021-07-09T03:20:33,992 def __get__(self): 2021-07-09T03:20:33,992 cdef cl_int err_code 2021-07-09T03:20:33,993 cdef cl_uint value = 0 2021-07-09T03:20:33,993 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_VENDOR_ID, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:33,993 ^ 2021-07-09T03:20:33,993 ------------------------------------------------------------ 2021-07-09T03:20:33,993 opencl/copencl.pyx:319:109: Cannot convert 'void *' to Python object 2021-07-09T03:20:33,993 Error compiling Cython file: 2021-07-09T03:20:33,994 ------------------------------------------------------------ 2021-07-09T03:20:33,994 ... 2021-07-09T03:20:33,994 The minimum value is 1. 2021-07-09T03:20:33,994 ''' 2021-07-09T03:20:33,994 def __get__(self): 2021-07-09T03:20:33,994 cdef cl_int err_code 2021-07-09T03:20:33,994 cdef cl_uint value = 0 2021-07-09T03:20:33,994 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_COMPUTE_UNITS, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:33,995 ^ 2021-07-09T03:20:33,995 ------------------------------------------------------------ 2021-07-09T03:20:33,995 opencl/copencl.pyx:331:55: undeclared name not builtin: CL_DEVICE_MAX_COMPUTE_UNITS 2021-07-09T03:20:33,995 Error compiling Cython file: 2021-07-09T03:20:33,995 ------------------------------------------------------------ 2021-07-09T03:20:33,995 ... 2021-07-09T03:20:33,995 The minimum value is 1. 2021-07-09T03:20:33,996 ''' 2021-07-09T03:20:33,996 def __get__(self): 2021-07-09T03:20:33,996 cdef cl_int err_code 2021-07-09T03:20:33,996 cdef cl_uint value = 0 2021-07-09T03:20:33,996 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_COMPUTE_UNITS, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:33,996 ^ 2021-07-09T03:20:33,996 ------------------------------------------------------------ 2021-07-09T03:20:33,996 opencl/copencl.pyx:331:99: Cannot convert 'void *' to Python object 2021-07-09T03:20:33,997 Error compiling Cython file: 2021-07-09T03:20:33,997 ------------------------------------------------------------ 2021-07-09T03:20:33,997 ... 2021-07-09T03:20:33,997 The minimum value is 1. 2021-07-09T03:20:33,997 ''' 2021-07-09T03:20:33,997 def __get__(self): 2021-07-09T03:20:33,997 cdef cl_int err_code 2021-07-09T03:20:33,998 cdef cl_uint value = 0 2021-07-09T03:20:33,998 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_COMPUTE_UNITS, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:33,998 ^ 2021-07-09T03:20:33,998 ------------------------------------------------------------ 2021-07-09T03:20:33,998 opencl/copencl.pyx:331:117: Cannot convert 'void *' to Python object 2021-07-09T03:20:33,998 Error compiling Cython file: 2021-07-09T03:20:33,998 ------------------------------------------------------------ 2021-07-09T03:20:33,998 ... 2021-07-09T03:20:33,999 The minimum value is 3. 2021-07-09T03:20:33,999 ''' 2021-07-09T03:20:33,999 def __get__(self): 2021-07-09T03:20:33,999 cdef cl_int err_code 2021-07-09T03:20:33,999 cdef cl_uint value = 0 2021-07-09T03:20:33,999 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:33,999 ^ 2021-07-09T03:20:33,999 ------------------------------------------------------------ 2021-07-09T03:20:34,000 opencl/copencl.pyx:345:55: undeclared name not builtin: CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS 2021-07-09T03:20:34,000 Error compiling Cython file: 2021-07-09T03:20:34,000 ------------------------------------------------------------ 2021-07-09T03:20:34,000 ... 2021-07-09T03:20:34,000 The minimum value is 3. 2021-07-09T03:20:34,002 ''' 2021-07-09T03:20:34,002 def __get__(self): 2021-07-09T03:20:34,002 cdef cl_int err_code 2021-07-09T03:20:34,002 cdef cl_uint value = 0 2021-07-09T03:20:34,002 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,003 ^ 2021-07-09T03:20:34,003 ------------------------------------------------------------ 2021-07-09T03:20:34,003 opencl/copencl.pyx:345:106: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,003 Error compiling Cython file: 2021-07-09T03:20:34,003 ------------------------------------------------------------ 2021-07-09T03:20:34,003 ... 2021-07-09T03:20:34,004 The minimum value is 3. 2021-07-09T03:20:34,004 ''' 2021-07-09T03:20:34,004 def __get__(self): 2021-07-09T03:20:34,004 cdef cl_int err_code 2021-07-09T03:20:34,004 cdef cl_uint value = 0 2021-07-09T03:20:34,004 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,004 ^ 2021-07-09T03:20:34,004 ------------------------------------------------------------ 2021-07-09T03:20:34,005 opencl/copencl.pyx:345:124: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,005 Error compiling Cython file: 2021-07-09T03:20:34,005 ------------------------------------------------------------ 2021-07-09T03:20:34,005 ... 2021-07-09T03:20:34,005 return the clock frequency. 2021-07-09T03:20:34,005 ''' 2021-07-09T03:20:34,006 def __get__(self): 2021-07-09T03:20:34,006 cdef cl_int err_code 2021-07-09T03:20:34,006 cdef cl_uint value = 0 2021-07-09T03:20:34,006 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_CLOCK_FREQUENCY, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,006 ^ 2021-07-09T03:20:34,006 ------------------------------------------------------------ 2021-07-09T03:20:34,006 opencl/copencl.pyx:356:55: undeclared name not builtin: CL_DEVICE_MAX_CLOCK_FREQUENCY 2021-07-09T03:20:34,007 Error compiling Cython file: 2021-07-09T03:20:34,007 ------------------------------------------------------------ 2021-07-09T03:20:34,007 ... 2021-07-09T03:20:34,007 return the clock frequency. 2021-07-09T03:20:34,007 ''' 2021-07-09T03:20:34,007 def __get__(self): 2021-07-09T03:20:34,007 cdef cl_int err_code 2021-07-09T03:20:34,007 cdef cl_uint value = 0 2021-07-09T03:20:34,008 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_CLOCK_FREQUENCY, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,008 ^ 2021-07-09T03:20:34,008 ------------------------------------------------------------ 2021-07-09T03:20:34,008 opencl/copencl.pyx:356:101: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,008 Error compiling Cython file: 2021-07-09T03:20:34,008 ------------------------------------------------------------ 2021-07-09T03:20:34,009 ... 2021-07-09T03:20:34,009 return the clock frequency. 2021-07-09T03:20:34,009 ''' 2021-07-09T03:20:34,009 def __get__(self): 2021-07-09T03:20:34,009 cdef cl_int err_code 2021-07-09T03:20:34,009 cdef cl_uint value = 0 2021-07-09T03:20:34,009 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_CLOCK_FREQUENCY, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,009 ^ 2021-07-09T03:20:34,010 ------------------------------------------------------------ 2021-07-09T03:20:34,010 opencl/copencl.pyx:356:119: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,010 Error compiling Cython file: 2021-07-09T03:20:34,010 ------------------------------------------------------------ 2021-07-09T03:20:34,010 ... 2021-07-09T03:20:34,010 property address_bits: 2021-07-09T03:20:34,011 def __get__(self): 2021-07-09T03:20:34,011 cdef cl_int err_code 2021-07-09T03:20:34,011 cdef cl_uint value = 0 2021-07-09T03:20:34,011 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_ADDRESS_BITS, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,011 ^ 2021-07-09T03:20:34,011 ------------------------------------------------------------ 2021-07-09T03:20:34,011 opencl/copencl.pyx:364:55: undeclared name not builtin: CL_DEVICE_ADDRESS_BITS 2021-07-09T03:20:34,012 Error compiling Cython file: 2021-07-09T03:20:34,012 ------------------------------------------------------------ 2021-07-09T03:20:34,012 ... 2021-07-09T03:20:34,012 property address_bits: 2021-07-09T03:20:34,012 def __get__(self): 2021-07-09T03:20:34,012 cdef cl_int err_code 2021-07-09T03:20:34,012 cdef cl_uint value = 0 2021-07-09T03:20:34,012 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_ADDRESS_BITS, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,013 ^ 2021-07-09T03:20:34,013 ------------------------------------------------------------ 2021-07-09T03:20:34,013 opencl/copencl.pyx:364:94: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,013 Error compiling Cython file: 2021-07-09T03:20:34,013 ------------------------------------------------------------ 2021-07-09T03:20:34,013 ... 2021-07-09T03:20:34,013 property address_bits: 2021-07-09T03:20:34,014 def __get__(self): 2021-07-09T03:20:34,014 cdef cl_int err_code 2021-07-09T03:20:34,014 cdef cl_uint value = 0 2021-07-09T03:20:34,014 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_ADDRESS_BITS, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,014 ^ 2021-07-09T03:20:34,014 ------------------------------------------------------------ 2021-07-09T03:20:34,014 opencl/copencl.pyx:364:112: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,015 Error compiling Cython file: 2021-07-09T03:20:34,015 ------------------------------------------------------------ 2021-07-09T03:20:34,015 ... 2021-07-09T03:20:34,015 property max_read_image_args: 2021-07-09T03:20:34,015 def __get__(self): 2021-07-09T03:20:34,015 cdef cl_int err_code 2021-07-09T03:20:34,015 cdef cl_uint value = 0 2021-07-09T03:20:34,016 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_READ_IMAGE_ARGS, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,016 ^ 2021-07-09T03:20:34,016 ------------------------------------------------------------ 2021-07-09T03:20:34,016 opencl/copencl.pyx:372:55: undeclared name not builtin: CL_DEVICE_MAX_READ_IMAGE_ARGS 2021-07-09T03:20:34,016 Error compiling Cython file: 2021-07-09T03:20:34,016 ------------------------------------------------------------ 2021-07-09T03:20:34,016 ... 2021-07-09T03:20:34,017 property max_read_image_args: 2021-07-09T03:20:34,017 def __get__(self): 2021-07-09T03:20:34,017 cdef cl_int err_code 2021-07-09T03:20:34,017 cdef cl_uint value = 0 2021-07-09T03:20:34,017 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_READ_IMAGE_ARGS, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,017 ^ 2021-07-09T03:20:34,017 ------------------------------------------------------------ 2021-07-09T03:20:34,018 opencl/copencl.pyx:372:101: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,018 Error compiling Cython file: 2021-07-09T03:20:34,018 ------------------------------------------------------------ 2021-07-09T03:20:34,018 ... 2021-07-09T03:20:34,018 property max_read_image_args: 2021-07-09T03:20:34,018 def __get__(self): 2021-07-09T03:20:34,018 cdef cl_int err_code 2021-07-09T03:20:34,018 cdef cl_uint value = 0 2021-07-09T03:20:34,019 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_READ_IMAGE_ARGS, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,019 ^ 2021-07-09T03:20:34,019 ------------------------------------------------------------ 2021-07-09T03:20:34,019 opencl/copencl.pyx:372:119: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,019 Error compiling Cython file: 2021-07-09T03:20:34,019 ------------------------------------------------------------ 2021-07-09T03:20:34,019 ... 2021-07-09T03:20:34,020 property max_write_image_args: 2021-07-09T03:20:34,020 def __get__(self): 2021-07-09T03:20:34,020 cdef cl_int err_code 2021-07-09T03:20:34,020 cdef cl_uint value = 0 2021-07-09T03:20:34,020 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_WRITE_IMAGE_ARGS, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,020 ^ 2021-07-09T03:20:34,020 ------------------------------------------------------------ 2021-07-09T03:20:34,021 opencl/copencl.pyx:380:55: undeclared name not builtin: CL_DEVICE_MAX_WRITE_IMAGE_ARGS 2021-07-09T03:20:34,021 Error compiling Cython file: 2021-07-09T03:20:34,021 ------------------------------------------------------------ 2021-07-09T03:20:34,021 ... 2021-07-09T03:20:34,021 property max_write_image_args: 2021-07-09T03:20:34,021 def __get__(self): 2021-07-09T03:20:34,021 cdef cl_int err_code 2021-07-09T03:20:34,022 cdef cl_uint value = 0 2021-07-09T03:20:34,022 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_WRITE_IMAGE_ARGS, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,022 ^ 2021-07-09T03:20:34,022 ------------------------------------------------------------ 2021-07-09T03:20:34,022 opencl/copencl.pyx:380:102: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,022 Error compiling Cython file: 2021-07-09T03:20:34,022 ------------------------------------------------------------ 2021-07-09T03:20:34,022 ... 2021-07-09T03:20:34,023 property max_write_image_args: 2021-07-09T03:20:34,023 def __get__(self): 2021-07-09T03:20:34,023 cdef cl_int err_code 2021-07-09T03:20:34,023 cdef cl_uint value = 0 2021-07-09T03:20:34,023 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_WRITE_IMAGE_ARGS, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,023 ^ 2021-07-09T03:20:34,023 ------------------------------------------------------------ 2021-07-09T03:20:34,024 opencl/copencl.pyx:380:120: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,024 Error compiling Cython file: 2021-07-09T03:20:34,024 ------------------------------------------------------------ 2021-07-09T03:20:34,024 ... 2021-07-09T03:20:34,024 property global_mem_size: 2021-07-09T03:20:34,024 def __get__(self): 2021-07-09T03:20:34,024 cdef cl_int err_code 2021-07-09T03:20:34,025 cdef cl_ulong value = 0 2021-07-09T03:20:34,025 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_GLOBAL_MEM_SIZE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,025 ^ 2021-07-09T03:20:34,025 ------------------------------------------------------------ 2021-07-09T03:20:34,025 opencl/copencl.pyx:388:55: undeclared name not builtin: CL_DEVICE_GLOBAL_MEM_SIZE 2021-07-09T03:20:34,025 Error compiling Cython file: 2021-07-09T03:20:34,025 ------------------------------------------------------------ 2021-07-09T03:20:34,026 ... 2021-07-09T03:20:34,026 property global_mem_size: 2021-07-09T03:20:34,026 def __get__(self): 2021-07-09T03:20:34,026 cdef cl_int err_code 2021-07-09T03:20:34,026 cdef cl_ulong value = 0 2021-07-09T03:20:34,026 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_GLOBAL_MEM_SIZE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,026 ^ 2021-07-09T03:20:34,026 ------------------------------------------------------------ 2021-07-09T03:20:34,027 opencl/copencl.pyx:388:97: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,027 Error compiling Cython file: 2021-07-09T03:20:34,027 ------------------------------------------------------------ 2021-07-09T03:20:34,027 ... 2021-07-09T03:20:34,027 property global_mem_size: 2021-07-09T03:20:34,027 def __get__(self): 2021-07-09T03:20:34,028 cdef cl_int err_code 2021-07-09T03:20:34,028 cdef cl_ulong value = 0 2021-07-09T03:20:34,028 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_GLOBAL_MEM_SIZE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,028 ^ 2021-07-09T03:20:34,028 ------------------------------------------------------------ 2021-07-09T03:20:34,028 opencl/copencl.pyx:388:115: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,028 Error compiling Cython file: 2021-07-09T03:20:34,028 ------------------------------------------------------------ 2021-07-09T03:20:34,029 ... 2021-07-09T03:20:34,029 property max_mem_alloc_size: 2021-07-09T03:20:34,029 def __get__(self): 2021-07-09T03:20:34,029 cdef cl_int err_code 2021-07-09T03:20:34,029 cdef cl_ulong value = 0 2021-07-09T03:20:34,029 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_MEM_ALLOC_SIZE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,029 ^ 2021-07-09T03:20:34,029 ------------------------------------------------------------ 2021-07-09T03:20:34,030 opencl/copencl.pyx:396:55: undeclared name not builtin: CL_DEVICE_MAX_MEM_ALLOC_SIZE 2021-07-09T03:20:34,030 Error compiling Cython file: 2021-07-09T03:20:34,030 ------------------------------------------------------------ 2021-07-09T03:20:34,030 ... 2021-07-09T03:20:34,030 property max_mem_alloc_size: 2021-07-09T03:20:34,030 def __get__(self): 2021-07-09T03:20:34,031 cdef cl_int err_code 2021-07-09T03:20:34,031 cdef cl_ulong value = 0 2021-07-09T03:20:34,031 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_MEM_ALLOC_SIZE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,031 ^ 2021-07-09T03:20:34,031 ------------------------------------------------------------ 2021-07-09T03:20:34,031 opencl/copencl.pyx:396:100: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,032 Error compiling Cython file: 2021-07-09T03:20:34,032 ------------------------------------------------------------ 2021-07-09T03:20:34,032 ... 2021-07-09T03:20:34,032 property max_mem_alloc_size: 2021-07-09T03:20:34,032 def __get__(self): 2021-07-09T03:20:34,032 cdef cl_int err_code 2021-07-09T03:20:34,032 cdef cl_ulong value = 0 2021-07-09T03:20:34,032 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_MEM_ALLOC_SIZE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,033 ^ 2021-07-09T03:20:34,033 ------------------------------------------------------------ 2021-07-09T03:20:34,033 opencl/copencl.pyx:396:118: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,033 Error compiling Cython file: 2021-07-09T03:20:34,033 ------------------------------------------------------------ 2021-07-09T03:20:34,033 ... 2021-07-09T03:20:34,034 property max_const_buffer_size: 2021-07-09T03:20:34,034 def __get__(self): 2021-07-09T03:20:34,034 cdef cl_int err_code 2021-07-09T03:20:34,034 cdef cl_ulong value = 0 2021-07-09T03:20:34,034 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,034 ^ 2021-07-09T03:20:34,034 ------------------------------------------------------------ 2021-07-09T03:20:34,034 opencl/copencl.pyx:404:55: undeclared name not builtin: CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE 2021-07-09T03:20:34,035 Error compiling Cython file: 2021-07-09T03:20:34,035 ------------------------------------------------------------ 2021-07-09T03:20:34,035 ... 2021-07-09T03:20:34,036 property max_const_buffer_size: 2021-07-09T03:20:34,036 def __get__(self): 2021-07-09T03:20:34,036 cdef cl_int err_code 2021-07-09T03:20:34,036 cdef cl_ulong value = 0 2021-07-09T03:20:34,036 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,036 ^ 2021-07-09T03:20:34,036 ------------------------------------------------------------ 2021-07-09T03:20:34,037 opencl/copencl.pyx:404:106: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,037 Error compiling Cython file: 2021-07-09T03:20:34,037 ------------------------------------------------------------ 2021-07-09T03:20:34,037 ... 2021-07-09T03:20:34,037 property max_const_buffer_size: 2021-07-09T03:20:34,038 def __get__(self): 2021-07-09T03:20:34,038 cdef cl_int err_code 2021-07-09T03:20:34,038 cdef cl_ulong value = 0 2021-07-09T03:20:34,038 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,038 ^ 2021-07-09T03:20:34,038 ------------------------------------------------------------ 2021-07-09T03:20:34,039 opencl/copencl.pyx:404:124: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,039 Error compiling Cython file: 2021-07-09T03:20:34,039 ------------------------------------------------------------ 2021-07-09T03:20:34,039 ... 2021-07-09T03:20:34,039 property has_local_mem: 2021-07-09T03:20:34,040 def __get__(self): 2021-07-09T03:20:34,040 cdef cl_int err_code 2021-07-09T03:20:34,040 cdef cl_device_local_mem_type value = 0 2021-07-09T03:20:34,040 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_LOCAL_MEM_TYPE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,040 ^ 2021-07-09T03:20:34,040 ------------------------------------------------------------ 2021-07-09T03:20:34,040 opencl/copencl.pyx:412:55: undeclared name not builtin: CL_DEVICE_LOCAL_MEM_TYPE 2021-07-09T03:20:34,041 Error compiling Cython file: 2021-07-09T03:20:34,041 ------------------------------------------------------------ 2021-07-09T03:20:34,041 ... 2021-07-09T03:20:34,041 property has_local_mem: 2021-07-09T03:20:34,042 def __get__(self): 2021-07-09T03:20:34,042 cdef cl_int err_code 2021-07-09T03:20:34,042 cdef cl_device_local_mem_type value = 0 2021-07-09T03:20:34,042 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_LOCAL_MEM_TYPE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,042 ^ 2021-07-09T03:20:34,042 ------------------------------------------------------------ 2021-07-09T03:20:34,042 opencl/copencl.pyx:412:96: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,043 Error compiling Cython file: 2021-07-09T03:20:34,043 ------------------------------------------------------------ 2021-07-09T03:20:34,043 ... 2021-07-09T03:20:34,043 property has_local_mem: 2021-07-09T03:20:34,043 def __get__(self): 2021-07-09T03:20:34,044 cdef cl_int err_code 2021-07-09T03:20:34,044 cdef cl_device_local_mem_type value = 0 2021-07-09T03:20:34,044 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_LOCAL_MEM_TYPE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,044 ^ 2021-07-09T03:20:34,044 ------------------------------------------------------------ 2021-07-09T03:20:34,044 opencl/copencl.pyx:412:114: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,044 Error compiling Cython file: 2021-07-09T03:20:34,045 ------------------------------------------------------------ 2021-07-09T03:20:34,045 ... 2021-07-09T03:20:34,045 def __get__(self): 2021-07-09T03:20:34,045 cdef cl_int err_code 2021-07-09T03:20:34,045 cdef cl_device_local_mem_type value = 0 2021-07-09T03:20:34,045 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_LOCAL_MEM_TYPE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,045 if err_code != CL_SUCCESS: raise OpenCLException(err_code) 2021-07-09T03:20:34,045 return value == CL_LOCAL 2021-07-09T03:20:34,045 ^ 2021-07-09T03:20:34,046 ------------------------------------------------------------ 2021-07-09T03:20:34,046 opencl/copencl.pyx:414:28: undeclared name not builtin: CL_LOCAL 2021-07-09T03:20:34,046 Error compiling Cython file: 2021-07-09T03:20:34,046 ------------------------------------------------------------ 2021-07-09T03:20:34,046 ... 2021-07-09T03:20:34,046 property local_mem_size: 2021-07-09T03:20:34,047 def __get__(self): 2021-07-09T03:20:34,047 cdef cl_int err_code 2021-07-09T03:20:34,047 cdef cl_ulong value = 0 2021-07-09T03:20:34,047 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_LOCAL_MEM_SIZE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,047 ^ 2021-07-09T03:20:34,047 ------------------------------------------------------------ 2021-07-09T03:20:34,047 opencl/copencl.pyx:420:55: undeclared name not builtin: CL_DEVICE_LOCAL_MEM_SIZE 2021-07-09T03:20:34,048 Error compiling Cython file: 2021-07-09T03:20:34,048 ------------------------------------------------------------ 2021-07-09T03:20:34,048 ... 2021-07-09T03:20:34,048 property local_mem_size: 2021-07-09T03:20:34,048 def __get__(self): 2021-07-09T03:20:34,048 cdef cl_int err_code 2021-07-09T03:20:34,048 cdef cl_ulong value = 0 2021-07-09T03:20:34,048 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_LOCAL_MEM_SIZE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,049 ^ 2021-07-09T03:20:34,049 ------------------------------------------------------------ 2021-07-09T03:20:34,049 opencl/copencl.pyx:420:96: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,049 Error compiling Cython file: 2021-07-09T03:20:34,049 ------------------------------------------------------------ 2021-07-09T03:20:34,049 ... 2021-07-09T03:20:34,050 property local_mem_size: 2021-07-09T03:20:34,050 def __get__(self): 2021-07-09T03:20:34,050 cdef cl_int err_code 2021-07-09T03:20:34,050 cdef cl_ulong value = 0 2021-07-09T03:20:34,050 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_LOCAL_MEM_SIZE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,050 ^ 2021-07-09T03:20:34,050 ------------------------------------------------------------ 2021-07-09T03:20:34,050 opencl/copencl.pyx:420:114: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,051 Error compiling Cython file: 2021-07-09T03:20:34,051 ------------------------------------------------------------ 2021-07-09T03:20:34,051 ... 2021-07-09T03:20:34,051 property host_unified_memory: 2021-07-09T03:20:34,051 def __get__(self): 2021-07-09T03:20:34,051 cdef cl_int err_code 2021-07-09T03:20:34,051 cdef cl_bool value = 0 2021-07-09T03:20:34,052 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_HOST_UNIFIED_MEMORY, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,052 ^ 2021-07-09T03:20:34,052 ------------------------------------------------------------ 2021-07-09T03:20:34,052 opencl/copencl.pyx:428:55: undeclared name not builtin: CL_DEVICE_HOST_UNIFIED_MEMORY 2021-07-09T03:20:34,052 Error compiling Cython file: 2021-07-09T03:20:34,052 ------------------------------------------------------------ 2021-07-09T03:20:34,052 ... 2021-07-09T03:20:34,053 property host_unified_memory: 2021-07-09T03:20:34,053 def __get__(self): 2021-07-09T03:20:34,053 cdef cl_int err_code 2021-07-09T03:20:34,053 cdef cl_bool value = 0 2021-07-09T03:20:34,053 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_HOST_UNIFIED_MEMORY, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,053 ^ 2021-07-09T03:20:34,053 ------------------------------------------------------------ 2021-07-09T03:20:34,054 opencl/copencl.pyx:428:101: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,054 Error compiling Cython file: 2021-07-09T03:20:34,054 ------------------------------------------------------------ 2021-07-09T03:20:34,054 ... 2021-07-09T03:20:34,054 property host_unified_memory: 2021-07-09T03:20:34,054 def __get__(self): 2021-07-09T03:20:34,054 cdef cl_int err_code 2021-07-09T03:20:34,055 cdef cl_bool value = 0 2021-07-09T03:20:34,055 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_HOST_UNIFIED_MEMORY, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,055 ^ 2021-07-09T03:20:34,055 ------------------------------------------------------------ 2021-07-09T03:20:34,055 opencl/copencl.pyx:428:119: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,055 Error compiling Cython file: 2021-07-09T03:20:34,055 ------------------------------------------------------------ 2021-07-09T03:20:34,056 ... 2021-07-09T03:20:34,056 property available: 2021-07-09T03:20:34,056 def __get__(self): 2021-07-09T03:20:34,056 cdef cl_int err_code 2021-07-09T03:20:34,056 cdef cl_bool value = 0 2021-07-09T03:20:34,056 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_AVAILABLE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,056 ^ 2021-07-09T03:20:34,056 ------------------------------------------------------------ 2021-07-09T03:20:34,057 opencl/copencl.pyx:436:55: undeclared name not builtin: CL_DEVICE_AVAILABLE 2021-07-09T03:20:34,057 Error compiling Cython file: 2021-07-09T03:20:34,057 ------------------------------------------------------------ 2021-07-09T03:20:34,057 ... 2021-07-09T03:20:34,057 property available: 2021-07-09T03:20:34,057 def __get__(self): 2021-07-09T03:20:34,058 cdef cl_int err_code 2021-07-09T03:20:34,058 cdef cl_bool value = 0 2021-07-09T03:20:34,058 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_AVAILABLE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,058 ^ 2021-07-09T03:20:34,058 ------------------------------------------------------------ 2021-07-09T03:20:34,058 opencl/copencl.pyx:436:91: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,058 Error compiling Cython file: 2021-07-09T03:20:34,059 ------------------------------------------------------------ 2021-07-09T03:20:34,059 ... 2021-07-09T03:20:34,059 property available: 2021-07-09T03:20:34,059 def __get__(self): 2021-07-09T03:20:34,059 cdef cl_int err_code 2021-07-09T03:20:34,059 cdef cl_bool value = 0 2021-07-09T03:20:34,059 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_AVAILABLE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,059 ^ 2021-07-09T03:20:34,059 ------------------------------------------------------------ 2021-07-09T03:20:34,060 opencl/copencl.pyx:436:109: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,060 Error compiling Cython file: 2021-07-09T03:20:34,060 ------------------------------------------------------------ 2021-07-09T03:20:34,060 ... 2021-07-09T03:20:34,060 property compiler_available: 2021-07-09T03:20:34,060 def __get__(self): 2021-07-09T03:20:34,061 cdef cl_int err_code 2021-07-09T03:20:34,061 cdef cl_bool value = 0 2021-07-09T03:20:34,061 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_COMPILER_AVAILABLE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,061 ^ 2021-07-09T03:20:34,061 ------------------------------------------------------------ 2021-07-09T03:20:34,061 opencl/copencl.pyx:444:55: undeclared name not builtin: CL_DEVICE_COMPILER_AVAILABLE 2021-07-09T03:20:34,061 Error compiling Cython file: 2021-07-09T03:20:34,062 ------------------------------------------------------------ 2021-07-09T03:20:34,062 ... 2021-07-09T03:20:34,062 property compiler_available: 2021-07-09T03:20:34,062 def __get__(self): 2021-07-09T03:20:34,062 cdef cl_int err_code 2021-07-09T03:20:34,062 cdef cl_bool value = 0 2021-07-09T03:20:34,062 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_COMPILER_AVAILABLE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,062 ^ 2021-07-09T03:20:34,063 ------------------------------------------------------------ 2021-07-09T03:20:34,063 opencl/copencl.pyx:444:100: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,063 Error compiling Cython file: 2021-07-09T03:20:34,063 ------------------------------------------------------------ 2021-07-09T03:20:34,063 ... 2021-07-09T03:20:34,063 property compiler_available: 2021-07-09T03:20:34,064 def __get__(self): 2021-07-09T03:20:34,064 cdef cl_int err_code 2021-07-09T03:20:34,064 cdef cl_bool value = 0 2021-07-09T03:20:34,064 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_COMPILER_AVAILABLE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,064 ^ 2021-07-09T03:20:34,064 ------------------------------------------------------------ 2021-07-09T03:20:34,064 opencl/copencl.pyx:444:118: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,065 Error compiling Cython file: 2021-07-09T03:20:34,065 ------------------------------------------------------------ 2021-07-09T03:20:34,065 ... 2021-07-09T03:20:34,065 cdef cl_int err_code 2021-07-09T03:20:34,065 cdef size_t dims = self.max_work_item_dimensions 2021-07-09T03:20:34,065 cdef size_t nbytes = sizeof(size_t) * dims 2021-07-09T03:20:34,065 cdef size_t * value = < size_t *> malloc(nbytes) 2021-07-09T03:20:34,065 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_WORK_ITEM_SIZES, nbytes, < void *> value, NULL) 2021-07-09T03:20:34,066 ^ 2021-07-09T03:20:34,066 ------------------------------------------------------------ 2021-07-09T03:20:34,066 opencl/copencl.pyx:460:55: undeclared name not builtin: CL_DEVICE_MAX_WORK_ITEM_SIZES 2021-07-09T03:20:34,066 Error compiling Cython file: 2021-07-09T03:20:34,066 ------------------------------------------------------------ 2021-07-09T03:20:34,066 ... 2021-07-09T03:20:34,066 cdef cl_int err_code 2021-07-09T03:20:34,066 cdef size_t dims = self.max_work_item_dimensions 2021-07-09T03:20:34,067 cdef size_t nbytes = sizeof(size_t) * dims 2021-07-09T03:20:34,067 cdef size_t * value = < size_t *> malloc(nbytes) 2021-07-09T03:20:34,067 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_WORK_ITEM_SIZES, nbytes, < void *> value, NULL) 2021-07-09T03:20:34,067 ^ 2021-07-09T03:20:34,067 ------------------------------------------------------------ 2021-07-09T03:20:34,067 opencl/copencl.pyx:460:94: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,068 Error compiling Cython file: 2021-07-09T03:20:34,068 ------------------------------------------------------------ 2021-07-09T03:20:34,068 ... 2021-07-09T03:20:34,068 cdef cl_int err_code 2021-07-09T03:20:34,068 cdef size_t dims = self.max_work_item_dimensions 2021-07-09T03:20:34,068 cdef size_t nbytes = sizeof(size_t) * dims 2021-07-09T03:20:34,068 cdef size_t * value = < size_t *> malloc(nbytes) 2021-07-09T03:20:34,068 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_WORK_ITEM_SIZES, nbytes, < void *> value, NULL) 2021-07-09T03:20:34,069 ^ 2021-07-09T03:20:34,069 ------------------------------------------------------------ 2021-07-09T03:20:34,069 opencl/copencl.pyx:460:111: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,069 Error compiling Cython file: 2021-07-09T03:20:34,069 ------------------------------------------------------------ 2021-07-09T03:20:34,069 ... 2021-07-09T03:20:34,070 property max_work_group_size: 2021-07-09T03:20:34,070 def __get__(self): 2021-07-09T03:20:34,070 cdef cl_int err_code 2021-07-09T03:20:34,070 cdef size_t value = 0 2021-07-09T03:20:34,070 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_WORK_GROUP_SIZE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,070 ^ 2021-07-09T03:20:34,070 ------------------------------------------------------------ 2021-07-09T03:20:34,070 opencl/copencl.pyx:472:55: undeclared name not builtin: CL_DEVICE_MAX_WORK_GROUP_SIZE 2021-07-09T03:20:34,071 Error compiling Cython file: 2021-07-09T03:20:34,071 ------------------------------------------------------------ 2021-07-09T03:20:34,071 ... 2021-07-09T03:20:34,071 property max_work_group_size: 2021-07-09T03:20:34,071 def __get__(self): 2021-07-09T03:20:34,071 cdef cl_int err_code 2021-07-09T03:20:34,071 cdef size_t value = 0 2021-07-09T03:20:34,072 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_WORK_GROUP_SIZE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,072 ^ 2021-07-09T03:20:34,072 ------------------------------------------------------------ 2021-07-09T03:20:34,072 opencl/copencl.pyx:472:101: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,072 Error compiling Cython file: 2021-07-09T03:20:34,072 ------------------------------------------------------------ 2021-07-09T03:20:34,072 ... 2021-07-09T03:20:34,073 property max_work_group_size: 2021-07-09T03:20:34,073 def __get__(self): 2021-07-09T03:20:34,073 cdef cl_int err_code 2021-07-09T03:20:34,073 cdef size_t value = 0 2021-07-09T03:20:34,073 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_WORK_GROUP_SIZE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,073 ^ 2021-07-09T03:20:34,073 ------------------------------------------------------------ 2021-07-09T03:20:34,073 opencl/copencl.pyx:472:119: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,074 Error compiling Cython file: 2021-07-09T03:20:34,074 ------------------------------------------------------------ 2021-07-09T03:20:34,074 ... 2021-07-09T03:20:34,074 property profiling_timer_resolution: 2021-07-09T03:20:34,074 def __get__(self): 2021-07-09T03:20:34,074 cdef cl_int err_code 2021-07-09T03:20:34,074 cdef size_t value = 0 2021-07-09T03:20:34,075 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_PROFILING_TIMER_RESOLUTION, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,075 ^ 2021-07-09T03:20:34,075 ------------------------------------------------------------ 2021-07-09T03:20:34,075 opencl/copencl.pyx:480:55: undeclared name not builtin: CL_DEVICE_PROFILING_TIMER_RESOLUTION 2021-07-09T03:20:34,075 Error compiling Cython file: 2021-07-09T03:20:34,075 ------------------------------------------------------------ 2021-07-09T03:20:34,075 ... 2021-07-09T03:20:34,076 property profiling_timer_resolution: 2021-07-09T03:20:34,076 def __get__(self): 2021-07-09T03:20:34,076 cdef cl_int err_code 2021-07-09T03:20:34,076 cdef size_t value = 0 2021-07-09T03:20:34,076 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_PROFILING_TIMER_RESOLUTION, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,076 ^ 2021-07-09T03:20:34,076 ------------------------------------------------------------ 2021-07-09T03:20:34,077 opencl/copencl.pyx:480:108: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,077 Error compiling Cython file: 2021-07-09T03:20:34,077 ------------------------------------------------------------ 2021-07-09T03:20:34,077 ... 2021-07-09T03:20:34,077 property profiling_timer_resolution: 2021-07-09T03:20:34,077 def __get__(self): 2021-07-09T03:20:34,077 cdef cl_int err_code 2021-07-09T03:20:34,078 cdef size_t value = 0 2021-07-09T03:20:34,078 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_PROFILING_TIMER_RESOLUTION, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,078 ^ 2021-07-09T03:20:34,078 ------------------------------------------------------------ 2021-07-09T03:20:34,078 opencl/copencl.pyx:480:126: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,078 Error compiling Cython file: 2021-07-09T03:20:34,078 ------------------------------------------------------------ 2021-07-09T03:20:34,079 ... 2021-07-09T03:20:34,079 property max_parameter_size: 2021-07-09T03:20:34,079 def __get__(self): 2021-07-09T03:20:34,079 cdef cl_int err_code 2021-07-09T03:20:34,079 cdef size_t value = 0 2021-07-09T03:20:34,079 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_PARAMETER_SIZE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,079 ^ 2021-07-09T03:20:34,079 ------------------------------------------------------------ 2021-07-09T03:20:34,080 opencl/copencl.pyx:488:55: undeclared name not builtin: CL_DEVICE_MAX_PARAMETER_SIZE 2021-07-09T03:20:34,080 Error compiling Cython file: 2021-07-09T03:20:34,080 ------------------------------------------------------------ 2021-07-09T03:20:34,080 ... 2021-07-09T03:20:34,080 property max_parameter_size: 2021-07-09T03:20:34,080 def __get__(self): 2021-07-09T03:20:34,080 cdef cl_int err_code 2021-07-09T03:20:34,081 cdef size_t value = 0 2021-07-09T03:20:34,081 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_PARAMETER_SIZE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,081 ^ 2021-07-09T03:20:34,081 ------------------------------------------------------------ 2021-07-09T03:20:34,081 opencl/copencl.pyx:488:100: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,081 Error compiling Cython file: 2021-07-09T03:20:34,081 ------------------------------------------------------------ 2021-07-09T03:20:34,082 ... 2021-07-09T03:20:34,082 property max_parameter_size: 2021-07-09T03:20:34,082 def __get__(self): 2021-07-09T03:20:34,082 cdef cl_int err_code 2021-07-09T03:20:34,082 cdef size_t value = 0 2021-07-09T03:20:34,082 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_MAX_PARAMETER_SIZE, sizeof(value), < void *>& value, NULL) 2021-07-09T03:20:34,082 ^ 2021-07-09T03:20:34,082 ------------------------------------------------------------ 2021-07-09T03:20:34,083 opencl/copencl.pyx:488:118: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,083 Error compiling Cython file: 2021-07-09T03:20:34,083 ------------------------------------------------------------ 2021-07-09T03:20:34,083 ... 2021-07-09T03:20:34,083 property max_image2d_shape: 2021-07-09T03:20:34,083 def __get__(self): 2021-07-09T03:20:34,083 cdef cl_int err_code 2021-07-09T03:20:34,083 cdef size_t w = 0 2021-07-09T03:20:34,084 cdef size_t h = 0 2021-07-09T03:20:34,084 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE2D_MAX_WIDTH, sizeof(w), < void *>& w, NULL) 2021-07-09T03:20:34,084 ^ 2021-07-09T03:20:34,084 ------------------------------------------------------------ 2021-07-09T03:20:34,084 opencl/copencl.pyx:497:55: undeclared name not builtin: CL_DEVICE_IMAGE2D_MAX_WIDTH 2021-07-09T03:20:34,084 Error compiling Cython file: 2021-07-09T03:20:34,085 ------------------------------------------------------------ 2021-07-09T03:20:34,085 ... 2021-07-09T03:20:34,085 property max_image2d_shape: 2021-07-09T03:20:34,085 def __get__(self): 2021-07-09T03:20:34,085 cdef cl_int err_code 2021-07-09T03:20:34,085 cdef size_t w = 0 2021-07-09T03:20:34,085 cdef size_t h = 0 2021-07-09T03:20:34,085 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE2D_MAX_WIDTH, sizeof(w), < void *>& w, NULL) 2021-07-09T03:20:34,086 ^ 2021-07-09T03:20:34,086 ------------------------------------------------------------ 2021-07-09T03:20:34,086 opencl/copencl.pyx:497:95: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,086 Error compiling Cython file: 2021-07-09T03:20:34,086 ------------------------------------------------------------ 2021-07-09T03:20:34,086 ... 2021-07-09T03:20:34,086 property max_image2d_shape: 2021-07-09T03:20:34,087 def __get__(self): 2021-07-09T03:20:34,087 cdef cl_int err_code 2021-07-09T03:20:34,087 cdef size_t w = 0 2021-07-09T03:20:34,087 cdef size_t h = 0 2021-07-09T03:20:34,087 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE2D_MAX_WIDTH, sizeof(w), < void *>& w, NULL) 2021-07-09T03:20:34,087 ^ 2021-07-09T03:20:34,087 ------------------------------------------------------------ 2021-07-09T03:20:34,087 opencl/copencl.pyx:497:109: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,088 Error compiling Cython file: 2021-07-09T03:20:34,088 ------------------------------------------------------------ 2021-07-09T03:20:34,088 ... 2021-07-09T03:20:34,088 def __get__(self): 2021-07-09T03:20:34,088 cdef cl_int err_code 2021-07-09T03:20:34,088 cdef size_t w = 0 2021-07-09T03:20:34,088 cdef size_t h = 0 2021-07-09T03:20:34,088 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE2D_MAX_WIDTH, sizeof(w), < void *>& w, NULL) 2021-07-09T03:20:34,088 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE2D_MAX_HEIGHT, sizeof(h), < void *>& h, NULL) 2021-07-09T03:20:34,089 ^ 2021-07-09T03:20:34,089 ------------------------------------------------------------ 2021-07-09T03:20:34,089 opencl/copencl.pyx:498:55: undeclared name not builtin: CL_DEVICE_IMAGE2D_MAX_HEIGHT 2021-07-09T03:20:34,089 Error compiling Cython file: 2021-07-09T03:20:34,089 ------------------------------------------------------------ 2021-07-09T03:20:34,089 ... 2021-07-09T03:20:34,089 def __get__(self): 2021-07-09T03:20:34,090 cdef cl_int err_code 2021-07-09T03:20:34,090 cdef size_t w = 0 2021-07-09T03:20:34,090 cdef size_t h = 0 2021-07-09T03:20:34,090 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE2D_MAX_WIDTH, sizeof(w), < void *>& w, NULL) 2021-07-09T03:20:34,090 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE2D_MAX_HEIGHT, sizeof(h), < void *>& h, NULL) 2021-07-09T03:20:34,090 ^ 2021-07-09T03:20:34,090 ------------------------------------------------------------ 2021-07-09T03:20:34,090 opencl/copencl.pyx:498:96: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,091 Error compiling Cython file: 2021-07-09T03:20:34,091 ------------------------------------------------------------ 2021-07-09T03:20:34,091 ... 2021-07-09T03:20:34,091 def __get__(self): 2021-07-09T03:20:34,091 cdef cl_int err_code 2021-07-09T03:20:34,091 cdef size_t w = 0 2021-07-09T03:20:34,091 cdef size_t h = 0 2021-07-09T03:20:34,091 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE2D_MAX_WIDTH, sizeof(w), < void *>& w, NULL) 2021-07-09T03:20:34,092 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE2D_MAX_HEIGHT, sizeof(h), < void *>& h, NULL) 2021-07-09T03:20:34,092 ^ 2021-07-09T03:20:34,092 ------------------------------------------------------------ 2021-07-09T03:20:34,092 opencl/copencl.pyx:498:110: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,092 Error compiling Cython file: 2021-07-09T03:20:34,092 ------------------------------------------------------------ 2021-07-09T03:20:34,092 ... 2021-07-09T03:20:34,093 def __get__(self): 2021-07-09T03:20:34,093 cdef cl_int err_code 2021-07-09T03:20:34,093 cdef size_t w = 0 2021-07-09T03:20:34,093 cdef size_t h = 0 2021-07-09T03:20:34,093 cdef size_t d = 0 2021-07-09T03:20:34,093 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE3D_MAX_WIDTH, sizeof(w), < void *>& w, NULL) 2021-07-09T03:20:34,093 ^ 2021-07-09T03:20:34,093 ------------------------------------------------------------ 2021-07-09T03:20:34,094 opencl/copencl.pyx:508:55: undeclared name not builtin: CL_DEVICE_IMAGE3D_MAX_WIDTH 2021-07-09T03:20:34,094 Error compiling Cython file: 2021-07-09T03:20:34,094 ------------------------------------------------------------ 2021-07-09T03:20:34,094 ... 2021-07-09T03:20:34,094 def __get__(self): 2021-07-09T03:20:34,094 cdef cl_int err_code 2021-07-09T03:20:34,094 cdef size_t w = 0 2021-07-09T03:20:34,094 cdef size_t h = 0 2021-07-09T03:20:34,095 cdef size_t d = 0 2021-07-09T03:20:34,095 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE3D_MAX_WIDTH, sizeof(w), < void *>& w, NULL) 2021-07-09T03:20:34,095 ^ 2021-07-09T03:20:34,095 ------------------------------------------------------------ 2021-07-09T03:20:34,095 opencl/copencl.pyx:508:95: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,095 Error compiling Cython file: 2021-07-09T03:20:34,095 ------------------------------------------------------------ 2021-07-09T03:20:34,096 ... 2021-07-09T03:20:34,096 def __get__(self): 2021-07-09T03:20:34,096 cdef cl_int err_code 2021-07-09T03:20:34,096 cdef size_t w = 0 2021-07-09T03:20:34,096 cdef size_t h = 0 2021-07-09T03:20:34,096 cdef size_t d = 0 2021-07-09T03:20:34,096 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE3D_MAX_WIDTH, sizeof(w), < void *>& w, NULL) 2021-07-09T03:20:34,096 ^ 2021-07-09T03:20:34,096 ------------------------------------------------------------ 2021-07-09T03:20:34,097 opencl/copencl.pyx:508:109: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,097 Error compiling Cython file: 2021-07-09T03:20:34,097 ------------------------------------------------------------ 2021-07-09T03:20:34,097 ... 2021-07-09T03:20:34,097 cdef cl_int err_code 2021-07-09T03:20:34,097 cdef size_t w = 0 2021-07-09T03:20:34,098 cdef size_t h = 0 2021-07-09T03:20:34,098 cdef size_t d = 0 2021-07-09T03:20:34,098 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE3D_MAX_WIDTH, sizeof(w), < void *>& w, NULL) 2021-07-09T03:20:34,098 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE3D_MAX_HEIGHT, sizeof(h), < void *>& h, NULL) 2021-07-09T03:20:34,098 ^ 2021-07-09T03:20:34,098 ------------------------------------------------------------ 2021-07-09T03:20:34,098 opencl/copencl.pyx:509:55: undeclared name not builtin: CL_DEVICE_IMAGE3D_MAX_HEIGHT 2021-07-09T03:20:34,099 Error compiling Cython file: 2021-07-09T03:20:34,099 ------------------------------------------------------------ 2021-07-09T03:20:34,099 ... 2021-07-09T03:20:34,099 cdef cl_int err_code 2021-07-09T03:20:34,099 cdef size_t w = 0 2021-07-09T03:20:34,099 cdef size_t h = 0 2021-07-09T03:20:34,099 cdef size_t d = 0 2021-07-09T03:20:34,099 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE3D_MAX_WIDTH, sizeof(w), < void *>& w, NULL) 2021-07-09T03:20:34,099 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE3D_MAX_HEIGHT, sizeof(h), < void *>& h, NULL) 2021-07-09T03:20:34,100 ^ 2021-07-09T03:20:34,100 ------------------------------------------------------------ 2021-07-09T03:20:34,100 opencl/copencl.pyx:509:96: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,100 Error compiling Cython file: 2021-07-09T03:20:34,100 ------------------------------------------------------------ 2021-07-09T03:20:34,100 ... 2021-07-09T03:20:34,100 cdef cl_int err_code 2021-07-09T03:20:34,100 cdef size_t w = 0 2021-07-09T03:20:34,101 cdef size_t h = 0 2021-07-09T03:20:34,101 cdef size_t d = 0 2021-07-09T03:20:34,101 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE3D_MAX_WIDTH, sizeof(w), < void *>& w, NULL) 2021-07-09T03:20:34,101 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE3D_MAX_HEIGHT, sizeof(h), < void *>& h, NULL) 2021-07-09T03:20:34,101 ^ 2021-07-09T03:20:34,101 ------------------------------------------------------------ 2021-07-09T03:20:34,101 opencl/copencl.pyx:509:110: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,102 Error compiling Cython file: 2021-07-09T03:20:34,102 ------------------------------------------------------------ 2021-07-09T03:20:34,102 ... 2021-07-09T03:20:34,102 cdef size_t w = 0 2021-07-09T03:20:34,102 cdef size_t h = 0 2021-07-09T03:20:34,102 cdef size_t d = 0 2021-07-09T03:20:34,102 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE3D_MAX_WIDTH, sizeof(w), < void *>& w, NULL) 2021-07-09T03:20:34,102 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE3D_MAX_HEIGHT, sizeof(h), < void *>& h, NULL) 2021-07-09T03:20:34,102 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE3D_MAX_DEPTH, sizeof(d), < void *>& d, NULL) 2021-07-09T03:20:34,103 ^ 2021-07-09T03:20:34,103 ------------------------------------------------------------ 2021-07-09T03:20:34,103 opencl/copencl.pyx:510:55: undeclared name not builtin: CL_DEVICE_IMAGE3D_MAX_DEPTH 2021-07-09T03:20:34,103 Error compiling Cython file: 2021-07-09T03:20:34,103 ------------------------------------------------------------ 2021-07-09T03:20:34,103 ... 2021-07-09T03:20:34,103 cdef size_t w = 0 2021-07-09T03:20:34,104 cdef size_t h = 0 2021-07-09T03:20:34,104 cdef size_t d = 0 2021-07-09T03:20:34,104 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE3D_MAX_WIDTH, sizeof(w), < void *>& w, NULL) 2021-07-09T03:20:34,104 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE3D_MAX_HEIGHT, sizeof(h), < void *>& h, NULL) 2021-07-09T03:20:34,104 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE3D_MAX_DEPTH, sizeof(d), < void *>& d, NULL) 2021-07-09T03:20:34,104 ^ 2021-07-09T03:20:34,104 ------------------------------------------------------------ 2021-07-09T03:20:34,104 opencl/copencl.pyx:510:95: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,105 Error compiling Cython file: 2021-07-09T03:20:34,105 ------------------------------------------------------------ 2021-07-09T03:20:34,105 ... 2021-07-09T03:20:34,105 cdef size_t w = 0 2021-07-09T03:20:34,105 cdef size_t h = 0 2021-07-09T03:20:34,105 cdef size_t d = 0 2021-07-09T03:20:34,105 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE3D_MAX_WIDTH, sizeof(w), < void *>& w, NULL) 2021-07-09T03:20:34,105 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE3D_MAX_HEIGHT, sizeof(h), < void *>& h, NULL) 2021-07-09T03:20:34,106 err_code = clGetDeviceInfo(self.device_id, CL_DEVICE_IMAGE3D_MAX_DEPTH, sizeof(d), < void *>& d, NULL) 2021-07-09T03:20:34,106 ^ 2021-07-09T03:20:34,106 ------------------------------------------------------------ 2021-07-09T03:20:34,106 opencl/copencl.pyx:510:109: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,106 Error compiling Cython file: 2021-07-09T03:20:34,106 ------------------------------------------------------------ 2021-07-09T03:20:34,106 ... 2021-07-09T03:20:34,107 return [w, h, d] 2021-07-09T03:20:34,107 cdef get_info(self, cl_device_info info_type): 2021-07-09T03:20:34,107 cdef size_t size 2021-07-09T03:20:34,107 cdef cl_int err_code 2021-07-09T03:20:34,107 err_code = clGetDeviceInfo(self.device_id, info_type, 0, NULL, & size) 2021-07-09T03:20:34,107 ^ 2021-07-09T03:20:34,107 ------------------------------------------------------------ 2021-07-09T03:20:34,107 opencl/copencl.pyx:517:65: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,108 Error compiling Cython file: 2021-07-09T03:20:34,108 ------------------------------------------------------------ 2021-07-09T03:20:34,108 ... 2021-07-09T03:20:34,108 return [w, h, d] 2021-07-09T03:20:34,108 cdef get_info(self, cl_device_info info_type): 2021-07-09T03:20:34,108 cdef size_t size 2021-07-09T03:20:34,108 cdef cl_int err_code 2021-07-09T03:20:34,109 err_code = clGetDeviceInfo(self.device_id, info_type, 0, NULL, & size) 2021-07-09T03:20:34,109 ^ 2021-07-09T03:20:34,109 ------------------------------------------------------------ 2021-07-09T03:20:34,109 opencl/copencl.pyx:517:71: Cannot convert 'size_t *' to Python object 2021-07-09T03:20:34,109 Error compiling Cython file: 2021-07-09T03:20:34,109 ------------------------------------------------------------ 2021-07-09T03:20:34,109 ... 2021-07-09T03:20:34,110 err_code = clGetDeviceInfo(self.device_id, info_type, 0, NULL, & size) 2021-07-09T03:20:34,110 if err_code != CL_SUCCESS: raise OpenCLException(err_code) 2021-07-09T03:20:34,110 cdef char * result = < char *> malloc(size * sizeof(char *)) 2021-07-09T03:20:34,110 err_code = clGetDeviceInfo(self.device_id, info_type, size, result, NULL) 2021-07-09T03:20:34,110 ^ 2021-07-09T03:20:34,110 ------------------------------------------------------------ 2021-07-09T03:20:34,111 opencl/copencl.pyx:522:76: Cannot convert 'void *' to Python object 2021-07-09T03:20:34,111 Error compiling Cython file: 2021-07-09T03:20:34,111 ------------------------------------------------------------ 2021-07-09T03:20:34,111 ... 2021-07-09T03:20:34,111 free(result) 2021-07-09T03:20:34,111 return a_python_byte_string 2021-07-09T03:20:34,112 property driver_version: 2021-07-09T03:20:34,112 def __get__(self): 2021-07-09T03:20:34,112 return self.get_info(CL_DRIVER_VERSION) 2021-07-09T03:20:34,112 ^ 2021-07-09T03:20:34,112 ------------------------------------------------------------ 2021-07-09T03:20:34,113 opencl/copencl.pyx:534:33: undeclared name not builtin: CL_DRIVER_VERSION 2021-07-09T03:20:34,113 Error compiling Cython file: 2021-07-09T03:20:34,113 ------------------------------------------------------------ 2021-07-09T03:20:34,113 ... 2021-07-09T03:20:34,114 def __get__(self): 2021-07-09T03:20:34,114 return self.get_info(CL_DRIVER_VERSION) 2021-07-09T03:20:34,114 property version: 2021-07-09T03:20:34,114 def __get__(self): 2021-07-09T03:20:34,115 return self.get_info(CL_DEVICE_PROFILE) 2021-07-09T03:20:34,115 ^ 2021-07-09T03:20:34,115 ------------------------------------------------------------ 2021-07-09T03:20:34,115 opencl/copencl.pyx:538:33: undeclared name not builtin: CL_DEVICE_PROFILE 2021-07-09T03:20:34,116 Error compiling Cython file: 2021-07-09T03:20:34,116 ------------------------------------------------------------ 2021-07-09T03:20:34,116 ... 2021-07-09T03:20:34,116 def __get__(self): 2021-07-09T03:20:34,116 return self.get_info(CL_DEVICE_PROFILE) 2021-07-09T03:20:34,117 property profile: 2021-07-09T03:20:34,117 def __get__(self): 2021-07-09T03:20:34,117 return self.get_info(CL_DEVICE_VERSION) 2021-07-09T03:20:34,117 ^ 2021-07-09T03:20:34,117 ------------------------------------------------------------ 2021-07-09T03:20:34,118 opencl/copencl.pyx:542:33: undeclared name not builtin: CL_DEVICE_VERSION 2021-07-09T03:20:34,118 Error compiling Cython file: 2021-07-09T03:20:34,118 ------------------------------------------------------------ 2021-07-09T03:20:34,118 ... 2021-07-09T03:20:34,118 def __get__(self): 2021-07-09T03:20:34,118 return self.get_info(CL_DEVICE_VERSION) 2021-07-09T03:20:34,119 property extensions: 2021-07-09T03:20:34,119 def __get__(self): 2021-07-09T03:20:34,119 return self.get_info(CL_DEVICE_EXTENSIONS).split() 2021-07-09T03:20:34,119 ^ 2021-07-09T03:20:34,120 ------------------------------------------------------------ 2021-07-09T03:20:34,120 opencl/copencl.pyx:546:33: undeclared name not builtin: CL_DEVICE_EXTENSIONS 2021-07-09T03:20:34,319 cythoning opencl/context.pyx to opencl/context.c 2021-07-09T03:20:34,324 /usr/local/lib/python3.9/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-6gt1nq2h/opencl-for-python_c1a6ab231b0f46fe81e2d5c22234fd72/opencl/context.pyx 2021-07-09T03:20:34,324 tree = Parsing.p_module(s, pxd, full_module_name) 2021-07-09T03:20:34,493 Error compiling Cython file: 2021-07-09T03:20:34,493 ------------------------------------------------------------ 2021-07-09T03:20:34,493 ... 2021-07-09T03:20:34,493 from opencl.errors import OpenCLException 2021-07-09T03:20:34,493 from _cl cimport * 2021-07-09T03:20:34,493 ^ 2021-07-09T03:20:34,493 ------------------------------------------------------------ 2021-07-09T03:20:34,494 opencl/context.pyx:3:0: '_cl.pxd' not found 2021-07-09T03:20:34,495 Error compiling Cython file: 2021-07-09T03:20:34,495 ------------------------------------------------------------ 2021-07-09T03:20:34,495 ... 2021-07-09T03:20:34,495 from opencl.errors import OpenCLException 2021-07-09T03:20:34,496 from _cl cimport * 2021-07-09T03:20:34,496 from opencl.copencl cimport CyPlatform_GetID, CyPlatform_Create 2021-07-09T03:20:34,496 ^ 2021-07-09T03:20:34,497 ------------------------------------------------------------ 2021-07-09T03:20:34,497 opencl/context.pyx:5:0: 'opencl/copencl.pxd' not found 2021-07-09T03:20:34,497 Error compiling Cython file: 2021-07-09T03:20:34,498 ------------------------------------------------------------ 2021-07-09T03:20:34,498 ... 2021-07-09T03:20:34,498 from opencl.errors import OpenCLException 2021-07-09T03:20:34,499 from _cl cimport * 2021-07-09T03:20:34,499 from opencl.copencl cimport CyPlatform_GetID, CyPlatform_Create 2021-07-09T03:20:34,499 ^ 2021-07-09T03:20:34,499 ------------------------------------------------------------ 2021-07-09T03:20:34,500 opencl/context.pyx:5:0: 'opencl/copencl/CyPlatform_GetID.pxd' not found 2021-07-09T03:20:34,500 Error compiling Cython file: 2021-07-09T03:20:34,501 ------------------------------------------------------------ 2021-07-09T03:20:34,501 ... 2021-07-09T03:20:34,501 from opencl.errors import OpenCLException 2021-07-09T03:20:34,501 from _cl cimport * 2021-07-09T03:20:34,501 from opencl.copencl cimport CyPlatform_GetID, CyPlatform_Create 2021-07-09T03:20:34,501 ^ 2021-07-09T03:20:34,502 ------------------------------------------------------------ 2021-07-09T03:20:34,502 opencl/context.pyx:5:0: 'opencl/copencl/CyPlatform_Create.pxd' not found 2021-07-09T03:20:34,502 Error compiling Cython file: 2021-07-09T03:20:34,502 ------------------------------------------------------------ 2021-07-09T03:20:34,502 ... 2021-07-09T03:20:34,502 from opencl.errors import OpenCLException 2021-07-09T03:20:34,503 from _cl cimport * 2021-07-09T03:20:34,503 from opencl.copencl cimport CyPlatform_GetID, CyPlatform_Create 2021-07-09T03:20:34,503 from opencl.copencl cimport CyDevice_GetID, CyDevice_Create 2021-07-09T03:20:34,503 ^ 2021-07-09T03:20:34,503 ------------------------------------------------------------ 2021-07-09T03:20:34,503 opencl/context.pyx:6:0: 'opencl/copencl/CyDevice_GetID.pxd' not found 2021-07-09T03:20:34,504 Error compiling Cython file: 2021-07-09T03:20:34,504 ------------------------------------------------------------ 2021-07-09T03:20:34,504 ... 2021-07-09T03:20:34,504 from opencl.errors import OpenCLException 2021-07-09T03:20:34,504 from _cl cimport * 2021-07-09T03:20:34,505 from opencl.copencl cimport CyPlatform_GetID, CyPlatform_Create 2021-07-09T03:20:34,505 from opencl.copencl cimport CyDevice_GetID, CyDevice_Create 2021-07-09T03:20:34,505 ^ 2021-07-09T03:20:34,505 ------------------------------------------------------------ 2021-07-09T03:20:34,505 opencl/context.pyx:6:0: 'opencl/copencl/CyDevice_Create.pxd' not found 2021-07-09T03:20:36,063 Error compiling Cython file: 2021-07-09T03:20:36,063 ------------------------------------------------------------ 2021-07-09T03:20:36,063 ... 2021-07-09T03:20:36,064 self.properties_dict[name] = (property, value) 2021-07-09T03:20:36,064 def as_dict(self): 2021-07-09T03:20:36,064 return self.properties_dict 2021-07-09T03:20:36,064 cdef cl_context_properties * context_properties(self): 2021-07-09T03:20:36,064 ^ 2021-07-09T03:20:36,064 ------------------------------------------------------------ 2021-07-09T03:20:36,065 opencl/context.pyx:45:9: 'cl_context_properties' is not a type identifier 2021-07-09T03:20:36,065 Error compiling Cython file: 2021-07-09T03:20:36,065 ------------------------------------------------------------ 2021-07-09T03:20:36,065 ... 2021-07-09T03:20:36,066 :param callback: This callback function 2021-07-09T03:20:36,066 will be used by the OpenCL implementation to report information on errors that occur in this 2021-07-09T03:20:36,066 context. the function signature must be callback(str, bytes) 2021-07-09T03:20:36,066 ''' 2021-07-09T03:20:36,066 cdef cl_context context_id 2021-07-09T03:20:36,066 ^ 2021-07-09T03:20:36,066 ------------------------------------------------------------ 2021-07-09T03:20:36,067 opencl/context.pyx:120:9: 'cl_context' is not a type identifier 2021-07-09T03:20:36,067 Error compiling Cython file: 2021-07-09T03:20:36,067 ------------------------------------------------------------ 2021-07-09T03:20:36,067 ... 2021-07-09T03:20:36,067 #=============================================================================== 2021-07-09T03:20:36,068 # API 2021-07-09T03:20:36,068 #=============================================================================== 2021-07-09T03:20:36,068 cdef api cl_context CyContext_GetID(object pycontext): 2021-07-09T03:20:36,068 ^ 2021-07-09T03:20:36,068 ------------------------------------------------------------ 2021-07-09T03:20:36,068 opencl/context.pyx:275:9: 'cl_context' is not a type identifier 2021-07-09T03:20:36,069 Error compiling Cython file: 2021-07-09T03:20:36,069 ------------------------------------------------------------ 2021-07-09T03:20:36,069 ... 2021-07-09T03:20:36,069 cdef api cl_context CyContext_GetID(object pycontext): 2021-07-09T03:20:36,069 cdef Context context = < Context > pycontext 2021-07-09T03:20:36,069 return context.context_id 2021-07-09T03:20:36,070 cdef api object CyContext_Create(cl_context context): 2021-07-09T03:20:36,070 ^ 2021-07-09T03:20:36,070 ------------------------------------------------------------ 2021-07-09T03:20:36,070 opencl/context.pyx:279:33: 'cl_context' is not a type identifier 2021-07-09T03:20:36,070 Error compiling Cython file: 2021-07-09T03:20:36,070 ------------------------------------------------------------ 2021-07-09T03:20:36,070 ... 2021-07-09T03:20:36,071 def __cinit__(self): 2021-07-09T03:20:36,071 self.properties_dict = {} 2021-07-09T03:20:36,071 property platform: 2021-07-09T03:20:36,071 def __get__(self): 2021-07-09T03:20:36,071 cdef cl_platform_id platform_id = NULL 2021-07-09T03:20:36,071 ^ 2021-07-09T03:20:36,071 ------------------------------------------------------------ 2021-07-09T03:20:36,072 opencl/context.pyx:26:17: 'cl_platform_id' is not a type identifier 2021-07-09T03:20:36,072 Error compiling Cython file: 2021-07-09T03:20:36,072 ------------------------------------------------------------ 2021-07-09T03:20:36,072 ... 2021-07-09T03:20:36,072 return CyPlatform_Create(< cl_platform_id > plat) 2021-07-09T03:20:36,072 else: 2021-07-09T03:20:36,072 return None 2021-07-09T03:20:36,073 def __set__(self, value): 2021-07-09T03:20:36,073 cdef cl_platform_id platform_id = CyPlatform_GetID(value) 2021-07-09T03:20:36,073 ^ 2021-07-09T03:20:36,073 ------------------------------------------------------------ 2021-07-09T03:20:36,073 opencl/context.pyx:36:17: 'cl_platform_id' is not a type identifier 2021-07-09T03:20:36,073 Error compiling Cython file: 2021-07-09T03:20:36,074 ------------------------------------------------------------ 2021-07-09T03:20:36,074 ... 2021-07-09T03:20:36,074 cdef cl_context_properties * context_properties(self): 2021-07-09T03:20:36,074 nprops = len(self.properties_dict) 2021-07-09T03:20:36,074 cdef cl_context_properties * props = NULL 2021-07-09T03:20:36,075 ^ 2021-07-09T03:20:36,075 ------------------------------------------------------------ 2021-07-09T03:20:36,075 opencl/context.pyx:49:13: 'cl_context_properties' is not a type identifier 2021-07-09T03:20:36,083 Error compiling Cython file: 2021-07-09T03:20:36,083 ------------------------------------------------------------ 2021-07-09T03:20:36,083 ... 2021-07-09T03:20:36,084 self.context_id = NULL 2021-07-09T03:20:36,084 def __init__(self, devices=(), device_type=CL_DEVICE_TYPE_DEFAULT, ContextProperties properties=None, callback=None): 2021-07-09T03:20:36,084 cdef cl_context_properties * props = NULL 2021-07-09T03:20:36,084 ^ 2021-07-09T03:20:36,084 ------------------------------------------------------------ 2021-07-09T03:20:36,085 opencl/context.pyx:133:13: 'cl_context_properties' is not a type identifier 2021-07-09T03:20:36,085 Error compiling Cython file: 2021-07-09T03:20:36,085 ------------------------------------------------------------ 2021-07-09T03:20:36,085 ... 2021-07-09T03:20:36,085 cdef cl_context_properties * props = NULL 2021-07-09T03:20:36,085 if properties is not None: 2021-07-09T03:20:36,086 props = properties.context_properties() 2021-07-09T03:20:36,086 cdef cl_device_type dtype 2021-07-09T03:20:36,086 ^ 2021-07-09T03:20:36,086 ------------------------------------------------------------ 2021-07-09T03:20:36,086 opencl/context.pyx:138:13: 'cl_device_type' is not a type identifier 2021-07-09T03:20:36,087 Error compiling Cython file: 2021-07-09T03:20:36,087 ------------------------------------------------------------ 2021-07-09T03:20:36,087 ... 2021-07-09T03:20:36,087 if properties is not None: 2021-07-09T03:20:36,087 props = properties.context_properties() 2021-07-09T03:20:36,087 cdef cl_device_type dtype 2021-07-09T03:20:36,087 cdef cl_int err_code 2021-07-09T03:20:36,088 ^ 2021-07-09T03:20:36,088 ------------------------------------------------------------ 2021-07-09T03:20:36,088 opencl/context.pyx:139:13: 'cl_int' is not a type identifier 2021-07-09T03:20:36,088 Error compiling Cython file: 2021-07-09T03:20:36,088 ------------------------------------------------------------ 2021-07-09T03:20:36,088 ... 2021-07-09T03:20:36,088 if properties is not None: 2021-07-09T03:20:36,089 props = properties.context_properties() 2021-07-09T03:20:36,089 cdef cl_device_type dtype 2021-07-09T03:20:36,089 cdef cl_int err_code 2021-07-09T03:20:36,089 cdef cl_uint num_devices 2021-07-09T03:20:36,089 ^ 2021-07-09T03:20:36,089 ------------------------------------------------------------ 2021-07-09T03:20:36,089 opencl/context.pyx:140:13: 'cl_uint' is not a type identifier 2021-07-09T03:20:36,090 Error compiling Cython file: 2021-07-09T03:20:36,090 ------------------------------------------------------------ 2021-07-09T03:20:36,090 ... 2021-07-09T03:20:36,090 props = properties.context_properties() 2021-07-09T03:20:36,090 cdef cl_device_type dtype 2021-07-09T03:20:36,090 cdef cl_int err_code 2021-07-09T03:20:36,090 cdef cl_uint num_devices 2021-07-09T03:20:36,091 cdef cl_device_id * _devices = NULL 2021-07-09T03:20:36,091 ^ 2021-07-09T03:20:36,091 ------------------------------------------------------------ 2021-07-09T03:20:36,091 opencl/context.pyx:141:13: 'cl_device_id' is not a type identifier 2021-07-09T03:20:36,091 Error compiling Cython file: 2021-07-09T03:20:36,091 ------------------------------------------------------------ 2021-07-09T03:20:36,092 ... 2021-07-09T03:20:36,092 property num_devices: 2021-07-09T03:20:36,092 'return the number of devices' 2021-07-09T03:20:36,092 def __get__(self): 2021-07-09T03:20:36,092 cdef cl_int err_code 2021-07-09T03:20:36,092 ^ 2021-07-09T03:20:36,092 ------------------------------------------------------------ 2021-07-09T03:20:36,093 opencl/context.pyx:184:17: 'cl_int' is not a type identifier 2021-07-09T03:20:36,093 Error compiling Cython file: 2021-07-09T03:20:36,093 ------------------------------------------------------------ 2021-07-09T03:20:36,093 ... 2021-07-09T03:20:36,093 property num_devices: 2021-07-09T03:20:36,093 'return the number of devices' 2021-07-09T03:20:36,093 def __get__(self): 2021-07-09T03:20:36,094 cdef cl_int err_code 2021-07-09T03:20:36,094 cdef cl_uint num_devices 2021-07-09T03:20:36,094 ^ 2021-07-09T03:20:36,094 ------------------------------------------------------------ 2021-07-09T03:20:36,094 opencl/context.pyx:185:17: 'cl_uint' is not a type identifier 2021-07-09T03:20:36,094 Error compiling Cython file: 2021-07-09T03:20:36,095 ------------------------------------------------------------ 2021-07-09T03:20:36,095 ... 2021-07-09T03:20:36,095 property properties: 2021-07-09T03:20:36,095 'return a ContextProperties object' 2021-07-09T03:20:36,095 def __get__(self): 2021-07-09T03:20:36,095 properties = ContextProperties() 2021-07-09T03:20:36,095 cdef cl_int err_code 2021-07-09T03:20:36,096 ^ 2021-07-09T03:20:36,096 ------------------------------------------------------------ 2021-07-09T03:20:36,096 opencl/context.pyx:197:17: 'cl_int' is not a type identifier 2021-07-09T03:20:36,096 Error compiling Cython file: 2021-07-09T03:20:36,096 ------------------------------------------------------------ 2021-07-09T03:20:36,096 ... 2021-07-09T03:20:36,096 def __get__(self): 2021-07-09T03:20:36,097 properties = ContextProperties() 2021-07-09T03:20:36,097 cdef cl_int err_code 2021-07-09T03:20:36,097 cdef size_t props_size 2021-07-09T03:20:36,097 cdef cl_context_properties * props = NULL 2021-07-09T03:20:36,097 ^ 2021-07-09T03:20:36,097 ------------------------------------------------------------ 2021-07-09T03:20:36,097 opencl/context.pyx:199:17: 'cl_context_properties' is not a type identifier 2021-07-09T03:20:36,098 Error compiling Cython file: 2021-07-09T03:20:36,098 ------------------------------------------------------------ 2021-07-09T03:20:36,098 ... 2021-07-09T03:20:36,098 property devices: 2021-07-09T03:20:36,098 'return a list of devices associated with this context' 2021-07-09T03:20:36,098 def __get__(self): 2021-07-09T03:20:36,099 cdef cl_int err_code 2021-07-09T03:20:36,099 ^ 2021-07-09T03:20:36,099 ------------------------------------------------------------ 2021-07-09T03:20:36,099 opencl/context.pyx:236:17: 'cl_int' is not a type identifier 2021-07-09T03:20:36,099 Error compiling Cython file: 2021-07-09T03:20:36,099 ------------------------------------------------------------ 2021-07-09T03:20:36,099 ... 2021-07-09T03:20:36,100 def __get__(self): 2021-07-09T03:20:36,100 cdef cl_int err_code 2021-07-09T03:20:36,100 cdef size_t num_devices = self.num_devices 2021-07-09T03:20:36,100 cdef cl_device_id * _devices 2021-07-09T03:20:36,100 ^ 2021-07-09T03:20:36,100 ------------------------------------------------------------ 2021-07-09T03:20:36,101 opencl/context.pyx:238:17: 'cl_device_id' is not a type identifier 2021-07-09T03:20:36,181 Error compiling Cython file: 2021-07-09T03:20:36,182 ------------------------------------------------------------ 2021-07-09T03:20:36,182 ... 2021-07-09T03:20:36,182 Store of key value pairs that can be used to initialize 2021-07-09T03:20:36,182 an opencl.Context object. 2021-07-09T03:20:36,182 ''' 2021-07-09T03:20:36,182 cdef public object properties_dict 2021-07-09T03:20:36,182 property_names_lookup = { < size_t > CL_CONTEXT_PLATFORM : 'platform'} 2021-07-09T03:20:36,182 ^ 2021-07-09T03:20:36,183 ------------------------------------------------------------ 2021-07-09T03:20:36,183 opencl/context.pyx:19:41: undeclared name not builtin: CL_CONTEXT_PLATFORM 2021-07-09T03:20:36,183 Error compiling Cython file: 2021-07-09T03:20:36,183 ------------------------------------------------------------ 2021-07-09T03:20:36,183 ... 2021-07-09T03:20:36,183 d = self.properties_dict 2021-07-09T03:20:36,184 return '' % (d,) 2021-07-09T03:20:36,184 _context_errors = { 2021-07-09T03:20:36,184 CL_INVALID_PLATFORM : ('Properties is NULL and no platform could be selected or if ' 2021-07-09T03:20:36,184 ^ 2021-07-09T03:20:36,184 ------------------------------------------------------------ 2021-07-09T03:20:36,185 opencl/context.pyx:74:23: undeclared name not builtin: CL_INVALID_PLATFORM 2021-07-09T03:20:36,185 Error compiling Cython file: 2021-07-09T03:20:36,185 ------------------------------------------------------------ 2021-07-09T03:20:36,185 ... 2021-07-09T03:20:36,185 _context_errors = { 2021-07-09T03:20:36,186 CL_INVALID_PLATFORM : ('Properties is NULL and no platform could be selected or if ' 2021-07-09T03:20:36,186 'platform value specified in properties is not a valid platform.'), 2021-07-09T03:20:36,186 CL_INVALID_PROPERTY: ('Context property name in properties is not a supported ' 2021-07-09T03:20:36,186 ^ 2021-07-09T03:20:36,186 ------------------------------------------------------------ 2021-07-09T03:20:36,186 opencl/context.pyx:76:19: undeclared name not builtin: CL_INVALID_PROPERTY 2021-07-09T03:20:36,186 Error compiling Cython file: 2021-07-09T03:20:36,187 ------------------------------------------------------------ 2021-07-09T03:20:36,187 ... 2021-07-09T03:20:36,187 CL_INVALID_PLATFORM : ('Properties is NULL and no platform could be selected or if ' 2021-07-09T03:20:36,187 'platform value specified in properties is not a valid platform.'), 2021-07-09T03:20:36,187 CL_INVALID_PROPERTY: ('Context property name in properties is not a supported ' 2021-07-09T03:20:36,187 'property name, if the value specified for a supported property name is not valid, or if the ' 2021-07-09T03:20:36,187 'same property name is specified more than once.'), 2021-07-09T03:20:36,187 CL_INVALID_VALUE: 'pfn_notify is NULL but user_data is not NULL.', 2021-07-09T03:20:36,188 ^ 2021-07-09T03:20:36,188 ------------------------------------------------------------ 2021-07-09T03:20:36,188 opencl/context.pyx:79:19: undeclared name not builtin: CL_INVALID_VALUE 2021-07-09T03:20:36,188 Error compiling Cython file: 2021-07-09T03:20:36,188 ------------------------------------------------------------ 2021-07-09T03:20:36,188 ... 2021-07-09T03:20:36,188 'platform value specified in properties is not a valid platform.'), 2021-07-09T03:20:36,189 CL_INVALID_PROPERTY: ('Context property name in properties is not a supported ' 2021-07-09T03:20:36,189 'property name, if the value specified for a supported property name is not valid, or if the ' 2021-07-09T03:20:36,189 'same property name is specified more than once.'), 2021-07-09T03:20:36,189 CL_INVALID_VALUE: 'pfn_notify is NULL but user_data is not NULL.', 2021-07-09T03:20:36,189 CL_INVALID_DEVICE_TYPE :'device_type is not a valid value.', 2021-07-09T03:20:36,189 ^ 2021-07-09T03:20:36,189 ------------------------------------------------------------ 2021-07-09T03:20:36,189 opencl/context.pyx:80:19: undeclared name not builtin: CL_INVALID_DEVICE_TYPE 2021-07-09T03:20:36,190 Error compiling Cython file: 2021-07-09T03:20:36,190 ------------------------------------------------------------ 2021-07-09T03:20:36,190 ... 2021-07-09T03:20:36,190 CL_INVALID_PROPERTY: ('Context property name in properties is not a supported ' 2021-07-09T03:20:36,190 'property name, if the value specified for a supported property name is not valid, or if the ' 2021-07-09T03:20:36,190 'same property name is specified more than once.'), 2021-07-09T03:20:36,190 CL_INVALID_VALUE: 'pfn_notify is NULL but user_data is not NULL.', 2021-07-09T03:20:36,191 CL_INVALID_DEVICE_TYPE :'device_type is not a valid value.', 2021-07-09T03:20:36,191 CL_DEVICE_NOT_AVAILABLE : ('No devices that match device_type and property values' 2021-07-09T03:20:36,191 ^ 2021-07-09T03:20:36,191 ------------------------------------------------------------ 2021-07-09T03:20:36,191 opencl/context.pyx:81:19: undeclared name not builtin: CL_DEVICE_NOT_AVAILABLE 2021-07-09T03:20:36,191 Error compiling Cython file: 2021-07-09T03:20:36,191 ------------------------------------------------------------ 2021-07-09T03:20:36,192 ... 2021-07-09T03:20:36,192 CL_INVALID_VALUE: 'pfn_notify is NULL but user_data is not NULL.', 2021-07-09T03:20:36,192 CL_INVALID_DEVICE_TYPE :'device_type is not a valid value.', 2021-07-09T03:20:36,192 CL_DEVICE_NOT_AVAILABLE : ('No devices that match device_type and property values' 2021-07-09T03:20:36,192 'specified in properties are currently available.'), 2021-07-09T03:20:36,192 CL_DEVICE_NOT_FOUND: ('No devices that match device_type and property values ' 2021-07-09T03:20:36,192 ^ 2021-07-09T03:20:36,192 ------------------------------------------------------------ 2021-07-09T03:20:36,193 opencl/context.pyx:84:19: undeclared name not builtin: CL_DEVICE_NOT_FOUND 2021-07-09T03:20:36,193 Error compiling Cython file: 2021-07-09T03:20:36,193 ------------------------------------------------------------ 2021-07-09T03:20:36,193 ... 2021-07-09T03:20:36,193 CL_DEVICE_NOT_AVAILABLE : ('No devices that match device_type and property values' 2021-07-09T03:20:36,193 'specified in properties are currently available.'), 2021-07-09T03:20:36,194 CL_DEVICE_NOT_FOUND: ('No devices that match device_type and property values ' 2021-07-09T03:20:36,194 'specified in properties were found.'), 2021-07-09T03:20:36,194 CL_OUT_OF_RESOURCES: ('There is a failure to allocate resources required by the ' 2021-07-09T03:20:36,194 ^ 2021-07-09T03:20:36,194 ------------------------------------------------------------ 2021-07-09T03:20:36,194 opencl/context.pyx:86:19: undeclared name not builtin: CL_OUT_OF_RESOURCES 2021-07-09T03:20:36,195 Error compiling Cython file: 2021-07-09T03:20:36,195 ------------------------------------------------------------ 2021-07-09T03:20:36,195 ... 2021-07-09T03:20:36,195 CL_DEVICE_NOT_FOUND: ('No devices that match device_type and property values ' 2021-07-09T03:20:36,195 'specified in properties were found.'), 2021-07-09T03:20:36,195 CL_OUT_OF_RESOURCES: ('There is a failure to allocate resources required by the ' 2021-07-09T03:20:36,195 'OpenCL implementation on the device.'), 2021-07-09T03:20:36,195 CL_OUT_OF_HOST_MEMORY :('There is a failure to allocate resources required by the ' 2021-07-09T03:20:36,196 ^ 2021-07-09T03:20:36,196 ------------------------------------------------------------ 2021-07-09T03:20:36,196 opencl/context.pyx:88:19: undeclared name not builtin: CL_OUT_OF_HOST_MEMORY 2021-07-09T03:20:36,196 Error compiling Cython file: 2021-07-09T03:20:36,196 ------------------------------------------------------------ 2021-07-09T03:20:36,196 ... 2021-07-09T03:20:36,197 if self.context_id != NULL: 2021-07-09T03:20:36,197 clReleaseContext(self.context_id) 2021-07-09T03:20:36,197 self.context_id = NULL 2021-07-09T03:20:36,197 def __init__(self, devices=(), device_type=CL_DEVICE_TYPE_DEFAULT, ContextProperties properties=None, callback=None): 2021-07-09T03:20:36,197 ^ 2021-07-09T03:20:36,197 ------------------------------------------------------------ 2021-07-09T03:20:36,198 opencl/context.pyx:131:47: undeclared name not builtin: CL_DEVICE_TYPE_DEFAULT 2021-07-09T03:20:36,198 Error compiling Cython file: 2021-07-09T03:20:36,198 ------------------------------------------------------------ 2021-07-09T03:20:36,198 ... 2021-07-09T03:20:36,198 def __get__(self): 2021-07-09T03:20:36,198 cdef cl_platform_id platform_id = NULL 2021-07-09T03:20:36,199 if 'platform' in self.properties_dict: 2021-07-09T03:20:36,199 plat = < size_t > self.properties_dict['platform'][1] 2021-07-09T03:20:36,199 platform_id = < cl_platform_id > plat 2021-07-09T03:20:36,199 ^ 2021-07-09T03:20:36,199 ------------------------------------------------------------ 2021-07-09T03:20:36,199 opencl/context.pyx:30:32: 'cl_platform_id' is not a type identifier 2021-07-09T03:20:36,199 Error compiling Cython file: 2021-07-09T03:20:36,200 ------------------------------------------------------------ 2021-07-09T03:20:36,200 ... 2021-07-09T03:20:36,200 cdef cl_platform_id platform_id = NULL 2021-07-09T03:20:36,200 if 'platform' in self.properties_dict: 2021-07-09T03:20:36,200 plat = < size_t > self.properties_dict['platform'][1] 2021-07-09T03:20:36,200 platform_id = < cl_platform_id > plat 2021-07-09T03:20:36,200 return CyPlatform_Create(< cl_platform_id > plat) 2021-07-09T03:20:36,201 ^ 2021-07-09T03:20:36,201 ------------------------------------------------------------ 2021-07-09T03:20:36,201 opencl/context.pyx:31:23: 'CyPlatform_Create' is not a constant, variable or function identifier 2021-07-09T03:20:36,201 Error compiling Cython file: 2021-07-09T03:20:36,201 ------------------------------------------------------------ 2021-07-09T03:20:36,201 ... 2021-07-09T03:20:36,201 cdef cl_platform_id platform_id = NULL 2021-07-09T03:20:36,202 if 'platform' in self.properties_dict: 2021-07-09T03:20:36,202 plat = < size_t > self.properties_dict['platform'][1] 2021-07-09T03:20:36,202 platform_id = < cl_platform_id > plat 2021-07-09T03:20:36,202 return CyPlatform_Create(< cl_platform_id > plat) 2021-07-09T03:20:36,202 ^ 2021-07-09T03:20:36,202 ------------------------------------------------------------ 2021-07-09T03:20:36,203 opencl/context.pyx:31:43: 'cl_platform_id' is not a type identifier 2021-07-09T03:20:36,203 Error compiling Cython file: 2021-07-09T03:20:36,203 ------------------------------------------------------------ 2021-07-09T03:20:36,203 ... 2021-07-09T03:20:36,203 return CyPlatform_Create(< cl_platform_id > plat) 2021-07-09T03:20:36,203 else: 2021-07-09T03:20:36,203 return None 2021-07-09T03:20:36,204 def __set__(self, value): 2021-07-09T03:20:36,204 cdef cl_platform_id platform_id = CyPlatform_GetID(value) 2021-07-09T03:20:36,204 ^ 2021-07-09T03:20:36,204 ------------------------------------------------------------ 2021-07-09T03:20:36,204 opencl/context.pyx:36:46: 'CyPlatform_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:36,204 Error compiling Cython file: 2021-07-09T03:20:36,205 ------------------------------------------------------------ 2021-07-09T03:20:36,205 ... 2021-07-09T03:20:36,205 cdef cl_context_properties * props = NULL 2021-07-09T03:20:36,205 if nprops == 0: 2021-07-09T03:20:36,205 return NULL 2021-07-09T03:20:36,205 props = < cl_context_properties *> malloc(sizeof(cl_context_properties) * (1 + 2 * nprops)) 2021-07-09T03:20:36,206 ^ 2021-07-09T03:20:36,206 ------------------------------------------------------------ 2021-07-09T03:20:36,206 opencl/context.pyx:54:18: 'cl_context_properties' is not a type identifier 2021-07-09T03:20:36,206 Error compiling Cython file: 2021-07-09T03:20:36,206 ------------------------------------------------------------ 2021-07-09T03:20:36,206 ... 2021-07-09T03:20:36,206 cdef cl_context_properties * props = NULL 2021-07-09T03:20:36,207 if nprops == 0: 2021-07-09T03:20:36,207 return NULL 2021-07-09T03:20:36,207 props = < cl_context_properties *> malloc(sizeof(cl_context_properties) * (1 + 2 * nprops)) 2021-07-09T03:20:36,207 ^ 2021-07-09T03:20:36,207 ------------------------------------------------------------ 2021-07-09T03:20:36,207 opencl/context.pyx:54:78: undeclared name not builtin: cl_context_properties 2021-07-09T03:20:36,208 Error compiling Cython file: 2021-07-09T03:20:36,208 ------------------------------------------------------------ 2021-07-09T03:20:36,208 ... 2021-07-09T03:20:36,208 cdef size_t property 2021-07-09T03:20:36,208 cdef size_t value 2021-07-09T03:20:36,208 cdef int i 2021-07-09T03:20:36,209 for i, (property, value) in enumerate(self.properties_dict.values()): 2021-07-09T03:20:36,209 props[i * 2] = < cl_context_properties > property 2021-07-09T03:20:36,209 ^ 2021-07-09T03:20:36,209 ------------------------------------------------------------ 2021-07-09T03:20:36,209 opencl/context.pyx:60:29: 'cl_context_properties' is not a type identifier 2021-07-09T03:20:36,209 Error compiling Cython file: 2021-07-09T03:20:36,209 ------------------------------------------------------------ 2021-07-09T03:20:36,210 ... 2021-07-09T03:20:36,210 cdef size_t property 2021-07-09T03:20:36,210 cdef size_t value 2021-07-09T03:20:36,210 cdef int i 2021-07-09T03:20:36,210 for i, (property, value) in enumerate(self.properties_dict.values()): 2021-07-09T03:20:36,210 props[i * 2] = < cl_context_properties > property 2021-07-09T03:20:36,210 props[i * 2 + 1] = < cl_context_properties > value 2021-07-09T03:20:36,210 ^ 2021-07-09T03:20:36,210 ------------------------------------------------------------ 2021-07-09T03:20:36,211 opencl/context.pyx:61:33: 'cl_context_properties' is not a type identifier 2021-07-09T03:20:36,211 Error compiling Cython file: 2021-07-09T03:20:36,211 ------------------------------------------------------------ 2021-07-09T03:20:36,211 ... 2021-07-09T03:20:36,211 cdef int i 2021-07-09T03:20:36,211 for i, (property, value) in enumerate(self.properties_dict.values()): 2021-07-09T03:20:36,211 props[i * 2] = < cl_context_properties > property 2021-07-09T03:20:36,212 props[i * 2 + 1] = < cl_context_properties > value 2021-07-09T03:20:36,212 props[nprops * 2] = < cl_context_properties > NULL 2021-07-09T03:20:36,212 ^ 2021-07-09T03:20:36,212 ------------------------------------------------------------ 2021-07-09T03:20:36,212 opencl/context.pyx:63:30: 'cl_context_properties' is not a type identifier 2021-07-09T03:20:36,213 Error compiling Cython file: 2021-07-09T03:20:36,213 ------------------------------------------------------------ 2021-07-09T03:20:36,213 ... 2021-07-09T03:20:36,213 'OpenCL implementation on the host'), 2021-07-09T03:20:36,213 } 2021-07-09T03:20:36,213 cdef void pfn_context_err_notify(char * errinfo, void * private_info, size_t cb, object user_data) with gil: 2021-07-09T03:20:36,213 cdef str info = errinfo 2021-07-09T03:20:36,214 ^ 2021-07-09T03:20:36,214 ------------------------------------------------------------ 2021-07-09T03:20:36,214 opencl/context.pyx:94:20: default encoding required for conversion from 'char *' to 'str object' 2021-07-09T03:20:36,214 Error compiling Cython file: 2021-07-09T03:20:36,214 ------------------------------------------------------------ 2021-07-09T03:20:36,214 ... 2021-07-09T03:20:36,215 def __cinit__(self): 2021-07-09T03:20:36,215 self.context_id = NULL 2021-07-09T03:20:36,215 def __dealloc__(self): 2021-07-09T03:20:36,215 if self.context_id != NULL: 2021-07-09T03:20:36,215 clReleaseContext(self.context_id) 2021-07-09T03:20:36,215 ^ 2021-07-09T03:20:36,215 ------------------------------------------------------------ 2021-07-09T03:20:36,216 opencl/context.pyx:127:12: undeclared name not builtin: clReleaseContext 2021-07-09T03:20:36,216 Error compiling Cython file: 2021-07-09T03:20:36,216 ------------------------------------------------------------ 2021-07-09T03:20:36,216 ... 2021-07-09T03:20:36,216 Py_INCREF(callback) 2021-07-09T03:20:36,216 user_data = < void *> callback 2021-07-09T03:20:36,217 if devices: 2021-07-09T03:20:36,217 num_devices = len(devices) 2021-07-09T03:20:36,217 _devices = < cl_device_id *> malloc(num_devices * sizeof(cl_device_id)) 2021-07-09T03:20:36,217 ^ 2021-07-09T03:20:36,217 ------------------------------------------------------------ 2021-07-09T03:20:36,217 opencl/context.pyx:153:25: 'cl_device_id' is not a type identifier 2021-07-09T03:20:36,217 Error compiling Cython file: 2021-07-09T03:20:36,218 ------------------------------------------------------------ 2021-07-09T03:20:36,218 ... 2021-07-09T03:20:36,218 Py_INCREF(callback) 2021-07-09T03:20:36,218 user_data = < void *> callback 2021-07-09T03:20:36,218 if devices: 2021-07-09T03:20:36,218 num_devices = len(devices) 2021-07-09T03:20:36,218 _devices = < cl_device_id *> malloc(num_devices * sizeof(cl_device_id)) 2021-07-09T03:20:36,218 ^ 2021-07-09T03:20:36,219 ------------------------------------------------------------ 2021-07-09T03:20:36,219 opencl/context.pyx:153:81: undeclared name not builtin: cl_device_id 2021-07-09T03:20:36,219 Error compiling Cython file: 2021-07-09T03:20:36,219 ------------------------------------------------------------ 2021-07-09T03:20:36,219 ... 2021-07-09T03:20:36,219 if devices: 2021-07-09T03:20:36,220 num_devices = len(devices) 2021-07-09T03:20:36,220 _devices = < cl_device_id *> malloc(num_devices * sizeof(cl_device_id)) 2021-07-09T03:20:36,220 for i in range(num_devices): 2021-07-09T03:20:36,220 _devices[i] = CyDevice_GetID(devices[i]) 2021-07-09T03:20:36,220 ^ 2021-07-09T03:20:36,220 ------------------------------------------------------------ 2021-07-09T03:20:36,220 opencl/context.pyx:155:30: 'CyDevice_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:36,221 Error compiling Cython file: 2021-07-09T03:20:36,221 ------------------------------------------------------------ 2021-07-09T03:20:36,221 ... 2021-07-09T03:20:36,221 num_devices = len(devices) 2021-07-09T03:20:36,221 _devices = < cl_device_id *> malloc(num_devices * sizeof(cl_device_id)) 2021-07-09T03:20:36,221 for i in range(num_devices): 2021-07-09T03:20:36,221 _devices[i] = CyDevice_GetID(devices[i]) 2021-07-09T03:20:36,222 self.context_id = clCreateContext(props, num_devices, _devices, pfn_notify, user_data, & err_code) 2021-07-09T03:20:36,222 ^ 2021-07-09T03:20:36,222 ------------------------------------------------------------ 2021-07-09T03:20:36,222 opencl/context.pyx:157:30: undeclared name not builtin: clCreateContext 2021-07-09T03:20:36,222 Error compiling Cython file: 2021-07-09T03:20:36,222 ------------------------------------------------------------ 2021-07-09T03:20:36,222 ... 2021-07-09T03:20:36,223 num_devices = len(devices) 2021-07-09T03:20:36,223 _devices = < cl_device_id *> malloc(num_devices * sizeof(cl_device_id)) 2021-07-09T03:20:36,223 for i in range(num_devices): 2021-07-09T03:20:36,223 _devices[i] = CyDevice_GetID(devices[i]) 2021-07-09T03:20:36,223 self.context_id = clCreateContext(props, num_devices, _devices, pfn_notify, user_data, & err_code) 2021-07-09T03:20:36,223 ^ 2021-07-09T03:20:36,223 ------------------------------------------------------------ 2021-07-09T03:20:36,224 opencl/context.pyx:157:76: Cannot convert 'void *' to Python object 2021-07-09T03:20:36,224 Error compiling Cython file: 2021-07-09T03:20:36,224 ------------------------------------------------------------ 2021-07-09T03:20:36,224 ... 2021-07-09T03:20:36,224 num_devices = len(devices) 2021-07-09T03:20:36,224 _devices = < cl_device_id *> malloc(num_devices * sizeof(cl_device_id)) 2021-07-09T03:20:36,224 for i in range(num_devices): 2021-07-09T03:20:36,225 _devices[i] = CyDevice_GetID(devices[i]) 2021-07-09T03:20:36,225 self.context_id = clCreateContext(props, num_devices, _devices, pfn_notify, user_data, & err_code) 2021-07-09T03:20:36,225 ^ 2021-07-09T03:20:36,225 ------------------------------------------------------------ 2021-07-09T03:20:36,225 opencl/context.pyx:157:88: Cannot convert 'void *' to Python object 2021-07-09T03:20:36,226 Error compiling Cython file: 2021-07-09T03:20:36,226 ------------------------------------------------------------ 2021-07-09T03:20:36,226 ... 2021-07-09T03:20:36,226 self.context_id = clCreateContext(props, num_devices, _devices, pfn_notify, user_data, & err_code) 2021-07-09T03:20:36,226 if _devices != NULL: 2021-07-09T03:20:36,226 free(_devices) 2021-07-09T03:20:36,226 if err_code != CL_SUCCESS: 2021-07-09T03:20:36,227 ^ 2021-07-09T03:20:36,227 ------------------------------------------------------------ 2021-07-09T03:20:36,227 opencl/context.pyx:162:27: undeclared name not builtin: CL_SUCCESS 2021-07-09T03:20:36,227 Error compiling Cython file: 2021-07-09T03:20:36,227 ------------------------------------------------------------ 2021-07-09T03:20:36,227 ... 2021-07-09T03:20:36,227 free(_devices) 2021-07-09T03:20:36,228 if err_code != CL_SUCCESS: 2021-07-09T03:20:36,228 raise OpenCLException(err_code, _context_errors) 2021-07-09T03:20:36,228 else: 2021-07-09T03:20:36,228 dtype = < cl_device_type > device_type 2021-07-09T03:20:36,228 ^ 2021-07-09T03:20:36,228 ------------------------------------------------------------ 2021-07-09T03:20:36,228 opencl/context.pyx:165:22: 'cl_device_type' is not a type identifier 2021-07-09T03:20:36,229 Error compiling Cython file: 2021-07-09T03:20:36,229 ------------------------------------------------------------ 2021-07-09T03:20:36,229 ... 2021-07-09T03:20:36,229 if err_code != CL_SUCCESS: 2021-07-09T03:20:36,229 raise OpenCLException(err_code, _context_errors) 2021-07-09T03:20:36,229 else: 2021-07-09T03:20:36,229 dtype = < cl_device_type > device_type 2021-07-09T03:20:36,229 self.context_id = clCreateContextFromType(props, dtype, pfn_notify, user_data, & err_code) 2021-07-09T03:20:36,230 ^ 2021-07-09T03:20:36,230 ------------------------------------------------------------ 2021-07-09T03:20:36,230 opencl/context.pyx:166:30: undeclared name not builtin: clCreateContextFromType 2021-07-09T03:20:36,230 Error compiling Cython file: 2021-07-09T03:20:36,230 ------------------------------------------------------------ 2021-07-09T03:20:36,230 ... 2021-07-09T03:20:36,231 if err_code != CL_SUCCESS: 2021-07-09T03:20:36,231 raise OpenCLException(err_code, _context_errors) 2021-07-09T03:20:36,231 else: 2021-07-09T03:20:36,231 dtype = < cl_device_type > device_type 2021-07-09T03:20:36,231 self.context_id = clCreateContextFromType(props, dtype, pfn_notify, user_data, & err_code) 2021-07-09T03:20:36,231 ^ 2021-07-09T03:20:36,231 ------------------------------------------------------------ 2021-07-09T03:20:36,231 opencl/context.pyx:166:68: Cannot convert 'void *' to Python object 2021-07-09T03:20:36,232 Error compiling Cython file: 2021-07-09T03:20:36,232 ------------------------------------------------------------ 2021-07-09T03:20:36,232 ... 2021-07-09T03:20:36,232 if err_code != CL_SUCCESS: 2021-07-09T03:20:36,232 raise OpenCLException(err_code, _context_errors) 2021-07-09T03:20:36,232 else: 2021-07-09T03:20:36,232 dtype = < cl_device_type > device_type 2021-07-09T03:20:36,232 self.context_id = clCreateContextFromType(props, dtype, pfn_notify, user_data, & err_code) 2021-07-09T03:20:36,233 ^ 2021-07-09T03:20:36,233 ------------------------------------------------------------ 2021-07-09T03:20:36,233 opencl/context.pyx:166:80: Cannot convert 'void *' to Python object 2021-07-09T03:20:36,233 Error compiling Cython file: 2021-07-09T03:20:36,233 ------------------------------------------------------------ 2021-07-09T03:20:36,233 ... 2021-07-09T03:20:36,233 'return the number of devices' 2021-07-09T03:20:36,234 def __get__(self): 2021-07-09T03:20:36,234 cdef cl_int err_code 2021-07-09T03:20:36,234 cdef cl_uint num_devices 2021-07-09T03:20:36,234 err_code = clGetContextInfo (self.context_id, CL_CONTEXT_NUM_DEVICES, sizeof(cl_uint), & num_devices, NULL) 2021-07-09T03:20:36,234 ^ 2021-07-09T03:20:36,234 ------------------------------------------------------------ 2021-07-09T03:20:36,234 opencl/context.pyx:186:23: undeclared name not builtin: clGetContextInfo 2021-07-09T03:20:36,235 Error compiling Cython file: 2021-07-09T03:20:36,235 ------------------------------------------------------------ 2021-07-09T03:20:36,235 ... 2021-07-09T03:20:36,235 'return the number of devices' 2021-07-09T03:20:36,235 def __get__(self): 2021-07-09T03:20:36,235 cdef cl_int err_code 2021-07-09T03:20:36,235 cdef cl_uint num_devices 2021-07-09T03:20:36,236 err_code = clGetContextInfo (self.context_id, CL_CONTEXT_NUM_DEVICES, sizeof(cl_uint), & num_devices, NULL) 2021-07-09T03:20:36,236 ^ 2021-07-09T03:20:36,236 ------------------------------------------------------------ 2021-07-09T03:20:36,236 opencl/context.pyx:186:58: undeclared name not builtin: CL_CONTEXT_NUM_DEVICES 2021-07-09T03:20:36,236 Error compiling Cython file: 2021-07-09T03:20:36,236 ------------------------------------------------------------ 2021-07-09T03:20:36,236 ... 2021-07-09T03:20:36,237 'return the number of devices' 2021-07-09T03:20:36,237 def __get__(self): 2021-07-09T03:20:36,237 cdef cl_int err_code 2021-07-09T03:20:36,237 cdef cl_uint num_devices 2021-07-09T03:20:36,237 err_code = clGetContextInfo (self.context_id, CL_CONTEXT_NUM_DEVICES, sizeof(cl_uint), & num_devices, NULL) 2021-07-09T03:20:36,237 ^ 2021-07-09T03:20:36,237 ------------------------------------------------------------ 2021-07-09T03:20:36,238 opencl/context.pyx:186:96: undeclared name not builtin: cl_uint 2021-07-09T03:20:36,238 Error compiling Cython file: 2021-07-09T03:20:36,238 ------------------------------------------------------------ 2021-07-09T03:20:36,238 ... 2021-07-09T03:20:36,238 'return the number of devices' 2021-07-09T03:20:36,238 def __get__(self): 2021-07-09T03:20:36,238 cdef cl_int err_code 2021-07-09T03:20:36,239 cdef cl_uint num_devices 2021-07-09T03:20:36,239 err_code = clGetContextInfo (self.context_id, CL_CONTEXT_NUM_DEVICES, sizeof(cl_uint), & num_devices, NULL) 2021-07-09T03:20:36,239 ^ 2021-07-09T03:20:36,239 ------------------------------------------------------------ 2021-07-09T03:20:36,239 opencl/context.pyx:186:114: Cannot convert 'void *' to Python object 2021-07-09T03:20:36,239 Error compiling Cython file: 2021-07-09T03:20:36,239 ------------------------------------------------------------ 2021-07-09T03:20:36,240 ... 2021-07-09T03:20:36,240 cdef cl_int err_code 2021-07-09T03:20:36,240 cdef size_t props_size 2021-07-09T03:20:36,240 cdef cl_context_properties * props = NULL 2021-07-09T03:20:36,240 err_code = clGetContextInfo (self.context_id, CL_CONTEXT_PROPERTIES, 0, NULL, & props_size) 2021-07-09T03:20:36,240 ^ 2021-07-09T03:20:36,240 ------------------------------------------------------------ 2021-07-09T03:20:36,241 opencl/context.pyx:201:58: undeclared name not builtin: CL_CONTEXT_PROPERTIES 2021-07-09T03:20:36,241 Error compiling Cython file: 2021-07-09T03:20:36,241 ------------------------------------------------------------ 2021-07-09T03:20:36,241 ... 2021-07-09T03:20:36,241 cdef cl_int err_code 2021-07-09T03:20:36,241 cdef size_t props_size 2021-07-09T03:20:36,241 cdef cl_context_properties * props = NULL 2021-07-09T03:20:36,242 err_code = clGetContextInfo (self.context_id, CL_CONTEXT_PROPERTIES, 0, NULL, & props_size) 2021-07-09T03:20:36,242 ^ 2021-07-09T03:20:36,242 ------------------------------------------------------------ 2021-07-09T03:20:36,242 opencl/context.pyx:201:84: Cannot convert 'void *' to Python object 2021-07-09T03:20:36,242 Error compiling Cython file: 2021-07-09T03:20:36,242 ------------------------------------------------------------ 2021-07-09T03:20:36,243 ... 2021-07-09T03:20:36,243 cdef cl_int err_code 2021-07-09T03:20:36,243 cdef size_t props_size 2021-07-09T03:20:36,243 cdef cl_context_properties * props = NULL 2021-07-09T03:20:36,243 err_code = clGetContextInfo (self.context_id, CL_CONTEXT_PROPERTIES, 0, NULL, & props_size) 2021-07-09T03:20:36,243 ^ 2021-07-09T03:20:36,243 ------------------------------------------------------------ 2021-07-09T03:20:36,244 opencl/context.pyx:201:90: Cannot convert 'size_t *' to Python object 2021-07-09T03:20:36,244 Error compiling Cython file: 2021-07-09T03:20:36,244 ------------------------------------------------------------ 2021-07-09T03:20:36,244 ... 2021-07-09T03:20:36,244 if err_code != CL_SUCCESS: raise OpenCLException(err_code) 2021-07-09T03:20:36,244 if not props_size: 2021-07-09T03:20:36,245 return properties 2021-07-09T03:20:36,245 props = < cl_context_properties *> malloc(props_size) 2021-07-09T03:20:36,245 ^ 2021-07-09T03:20:36,245 ------------------------------------------------------------ 2021-07-09T03:20:36,245 opencl/context.pyx:207:22: 'cl_context_properties' is not a type identifier 2021-07-09T03:20:36,245 Error compiling Cython file: 2021-07-09T03:20:36,246 ------------------------------------------------------------ 2021-07-09T03:20:36,246 ... 2021-07-09T03:20:36,246 if not props_size: 2021-07-09T03:20:36,246 return properties 2021-07-09T03:20:36,246 props = < cl_context_properties *> malloc(props_size) 2021-07-09T03:20:36,246 err_code = clGetContextInfo (self.context_id, CL_CONTEXT_PROPERTIES, props_size, props, NULL) 2021-07-09T03:20:36,246 ^ 2021-07-09T03:20:36,247 ------------------------------------------------------------ 2021-07-09T03:20:36,247 opencl/context.pyx:209:100: Cannot convert 'void *' to Python object 2021-07-09T03:20:36,247 Error compiling Cython file: 2021-07-09T03:20:36,247 ------------------------------------------------------------ 2021-07-09T03:20:36,247 ... 2021-07-09T03:20:36,247 cdef cl_int err_code 2021-07-09T03:20:36,248 cdef size_t num_devices = self.num_devices 2021-07-09T03:20:36,248 cdef cl_device_id * _devices 2021-07-09T03:20:36,248 _devices = < cl_device_id *> malloc(num_devices * sizeof(cl_device_id)) 2021-07-09T03:20:36,248 ^ 2021-07-09T03:20:36,248 ------------------------------------------------------------ 2021-07-09T03:20:36,248 opencl/context.pyx:240:25: 'cl_device_id' is not a type identifier 2021-07-09T03:20:36,248 Error compiling Cython file: 2021-07-09T03:20:36,249 ------------------------------------------------------------ 2021-07-09T03:20:36,249 ... 2021-07-09T03:20:36,249 cdef size_t num_devices = self.num_devices 2021-07-09T03:20:36,249 cdef cl_device_id * _devices 2021-07-09T03:20:36,249 _devices = < cl_device_id *> malloc(num_devices * sizeof(cl_device_id)) 2021-07-09T03:20:36,249 err_code = clGetContextInfo(self.context_id, CL_CONTEXT_DEVICES, num_devices * sizeof(cl_device_id), _devices, NULL) 2021-07-09T03:20:36,249 ^ 2021-07-09T03:20:36,250 ------------------------------------------------------------ 2021-07-09T03:20:36,250 opencl/context.pyx:242:57: undeclared name not builtin: CL_CONTEXT_DEVICES 2021-07-09T03:20:36,250 Error compiling Cython file: 2021-07-09T03:20:36,250 ------------------------------------------------------------ 2021-07-09T03:20:36,250 ... 2021-07-09T03:20:36,250 cdef size_t num_devices = self.num_devices 2021-07-09T03:20:36,250 cdef cl_device_id * _devices 2021-07-09T03:20:36,251 _devices = < cl_device_id *> malloc(num_devices * sizeof(cl_device_id)) 2021-07-09T03:20:36,251 err_code = clGetContextInfo(self.context_id, CL_CONTEXT_DEVICES, num_devices * sizeof(cl_device_id), _devices, NULL) 2021-07-09T03:20:36,251 ^ 2021-07-09T03:20:36,251 ------------------------------------------------------------ 2021-07-09T03:20:36,251 opencl/context.pyx:242:123: Cannot convert 'void *' to Python object 2021-07-09T03:20:36,251 Error compiling Cython file: 2021-07-09T03:20:36,252 ------------------------------------------------------------ 2021-07-09T03:20:36,252 ... 2021-07-09T03:20:36,252 raise OpenCLException(err_code) 2021-07-09T03:20:36,252 devices = [] 2021-07-09T03:20:36,252 for i in range(num_devices): 2021-07-09T03:20:36,252 device_id = _devices[i] 2021-07-09T03:20:36,252 device = CyDevice_Create(device_id) 2021-07-09T03:20:36,252 ^ 2021-07-09T03:20:36,253 ------------------------------------------------------------ 2021-07-09T03:20:36,253 opencl/context.pyx:251:25: 'CyDevice_Create' is not a constant, variable or function identifier 2021-07-09T03:20:36,253 Error compiling Cython file: 2021-07-09T03:20:36,253 ------------------------------------------------------------ 2021-07-09T03:20:36,253 ... 2021-07-09T03:20:36,253 cdef Context context = < Context > pycontext 2021-07-09T03:20:36,253 return context.context_id 2021-07-09T03:20:36,254 cdef api object CyContext_Create(cl_context context): 2021-07-09T03:20:36,254 ctx = < Context > Context.__new__(Context) 2021-07-09T03:20:36,254 clRetainContext(context) 2021-07-09T03:20:36,254 ^ 2021-07-09T03:20:36,254 ------------------------------------------------------------ 2021-07-09T03:20:36,254 opencl/context.pyx:281:4: undeclared name not builtin: clRetainContext 2021-07-09T03:20:36,300 Error compiling Cython file: 2021-07-09T03:20:36,300 ------------------------------------------------------------ 2021-07-09T03:20:36,301 ... 2021-07-09T03:20:36,301 cdef size_t property 2021-07-09T03:20:36,301 cdef size_t value 2021-07-09T03:20:36,302 cdef int i 2021-07-09T03:20:36,302 for i, (property, value) in enumerate(self.properties_dict.values()): 2021-07-09T03:20:36,302 props[i * 2] = < cl_context_properties > property 2021-07-09T03:20:36,302 ^ 2021-07-09T03:20:36,302 ------------------------------------------------------------ 2021-07-09T03:20:36,302 opencl/context.pyx:60:20: Compiler crash in OptimizeBuiltinCalls 2021-07-09T03:20:36,303 ModuleNode.body = StatListNode(context.pyx:1:0) 2021-07-09T03:20:36,303 StatListNode.stats[1] = CClassDefNode(context.pyx:12:5, 2021-07-09T03:20:36,303 as_name = 'ContextProperties', 2021-07-09T03:20:36,303 class_name = 'ContextProperties', 2021-07-09T03:20:36,303 doc = '\n Store of key value pairs that can be used to initialize\n an opencl.Context object.\n ', 2021-07-09T03:20:36,303 module_name = '', 2021-07-09T03:20:36,304 visibility = 'private') 2021-07-09T03:20:36,304 CClassDefNode.body = StatListNode(context.pyx:13:4) 2021-07-09T03:20:36,304 StatListNode.stats[5] = CFuncDefNode(context.pyx:45:9, 2021-07-09T03:20:36,304 args = [...]/1, 2021-07-09T03:20:36,304 is_c_class_method = 1, 2021-07-09T03:20:36,304 modifiers = [...]/0, 2021-07-09T03:20:36,304 visibility = 'private') 2021-07-09T03:20:36,305 CFuncDefNode.body = StatListNode(context.pyx:47:8, 2021-07-09T03:20:36,305 is_terminator = True) 2021-07-09T03:20:36,305 StatListNode.stats[4] = LetNode(context.pyx:59:8) 2021-07-09T03:20:36,305 LetNode.body = ForInStatNode(context.pyx:59:8) 2021-07-09T03:20:36,305 ForInStatNode.body = StatListNode(context.pyx:60:12) 2021-07-09T03:20:36,305 StatListNode.stats[2] = SingleAssignmentNode(context.pyx:60:27) 2021-07-09T03:20:36,306 SingleAssignmentNode.lhs = IndexNode(context.pyx:60:17, 2021-07-09T03:20:36,306 is_subscript = True, 2021-07-09T03:20:36,306 result_is_used = True, 2021-07-09T03:20:36,307 use_managed_ref = True) 2021-07-09T03:20:36,307 IndexNode.index = MulNode(context.pyx:60:20, 2021-07-09T03:20:36,307 infix = True, 2021-07-09T03:20:36,308 operator = '*', 2021-07-09T03:20:36,308 result_is_used = True, 2021-07-09T03:20:36,308 use_managed_ref = True) 2021-07-09T03:20:36,308 Compiler crash traceback from this point on: 2021-07-09T03:20:36,309 File "/usr/local/lib/python3.9/dist-packages/Cython/Compiler/Visitor.py", line 180, in _visit 2021-07-09T03:20:36,309 return handler_method(obj) 2021-07-09T03:20:36,309 File "/usr/local/lib/python3.9/dist-packages/Cython/Compiler/Visitor.py", line 531, in visit_BinopNode 2021-07-09T03:20:36,309 return self._visit_binop_node(node) 2021-07-09T03:20:36,310 File "/usr/local/lib/python3.9/dist-packages/Cython/Compiler/Visitor.py", line 545, in _visit_binop_node 2021-07-09T03:20:36,310 if obj_type.is_builtin_type: 2021-07-09T03:20:36,310 AttributeError: 'NoneType' object has no attribute 'is_builtin_type' 2021-07-09T03:20:36,310 cythoning opencl/type_formats.pyx to opencl/type_formats.c 2021-07-09T03:20:36,310 /usr/local/lib/python3.9/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-6gt1nq2h/opencl-for-python_c1a6ab231b0f46fe81e2d5c22234fd72/opencl/type_formats.pyx 2021-07-09T03:20:36,311 tree = Parsing.p_module(s, pxd, full_module_name) 2021-07-09T03:20:37,169 cythoning opencl/clgl.pyx to opencl/clgl.c 2021-07-09T03:20:37,174 /usr/local/lib/python3.9/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-6gt1nq2h/opencl-for-python_c1a6ab231b0f46fe81e2d5c22234fd72/opencl/clgl.pyx 2021-07-09T03:20:37,174 tree = Parsing.p_module(s, pxd, full_module_name) 2021-07-09T03:20:37,438 Error compiling Cython file: 2021-07-09T03:20:37,438 ------------------------------------------------------------ 2021-07-09T03:20:37,438 ... 2021-07-09T03:20:37,438 from opencl.errors import OpenCLException 2021-07-09T03:20:37,439 import opencl as cl 2021-07-09T03:20:37,439 import opencl.errors 2021-07-09T03:20:37,439 from opencl.type_formats import type_format, size_from_format, ctype_from_format 2021-07-09T03:20:37,440 from _cl cimport * 2021-07-09T03:20:37,440 ^ 2021-07-09T03:20:37,440 ------------------------------------------------------------ 2021-07-09T03:20:37,440 opencl/clgl.pyx:7:0: '_cl.pxd' not found 2021-07-09T03:20:37,441 Error compiling Cython file: 2021-07-09T03:20:37,441 ------------------------------------------------------------ 2021-07-09T03:20:37,441 ... 2021-07-09T03:20:37,441 import opencl as cl 2021-07-09T03:20:37,441 import opencl.errors 2021-07-09T03:20:37,441 from opencl.type_formats import type_format, size_from_format, ctype_from_format 2021-07-09T03:20:37,442 from _cl cimport * 2021-07-09T03:20:37,442 from clgl cimport * 2021-07-09T03:20:37,442 ^ 2021-07-09T03:20:37,442 ------------------------------------------------------------ 2021-07-09T03:20:37,442 opencl/clgl.pyx:8:0: 'opencl/clgl.pxd' not found 2021-07-09T03:20:39,151 Error compiling Cython file: 2021-07-09T03:20:39,151 ------------------------------------------------------------ 2021-07-09T03:20:39,151 ... 2021-07-09T03:20:39,151 from libc.string cimport strcpy 2021-07-09T03:20:39,152 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:39,152 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:39,152 from opencl.cl_mem cimport CyView_Create, CyMemoryObject_Check, CyMemoryObject_GetID, CyImageFormat_New, CyImage_New 2021-07-09T03:20:39,153 ^ 2021-07-09T03:20:39,153 ------------------------------------------------------------ 2021-07-09T03:20:39,153 opencl/clgl.pyx:16:0: 'opencl/cl_mem.pxd' not found 2021-07-09T03:20:39,153 Error compiling Cython file: 2021-07-09T03:20:39,153 ------------------------------------------------------------ 2021-07-09T03:20:39,154 ... 2021-07-09T03:20:39,154 from libc.string cimport strcpy 2021-07-09T03:20:39,154 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:39,154 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:39,154 from opencl.cl_mem cimport CyView_Create, CyMemoryObject_Check, CyMemoryObject_GetID, CyImageFormat_New, CyImage_New 2021-07-09T03:20:39,154 ^ 2021-07-09T03:20:39,155 ------------------------------------------------------------ 2021-07-09T03:20:39,155 opencl/clgl.pyx:16:0: 'opencl/cl_mem/CyView_Create.pxd' not found 2021-07-09T03:20:39,155 Error compiling Cython file: 2021-07-09T03:20:39,155 ------------------------------------------------------------ 2021-07-09T03:20:39,156 ... 2021-07-09T03:20:39,156 from libc.string cimport strcpy 2021-07-09T03:20:39,156 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:39,157 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:39,157 from opencl.cl_mem cimport CyView_Create, CyMemoryObject_Check, CyMemoryObject_GetID, CyImageFormat_New, CyImage_New 2021-07-09T03:20:39,157 ^ 2021-07-09T03:20:39,157 ------------------------------------------------------------ 2021-07-09T03:20:39,158 opencl/clgl.pyx:16:0: 'opencl/cl_mem/CyMemoryObject_Check.pxd' not found 2021-07-09T03:20:39,158 Error compiling Cython file: 2021-07-09T03:20:39,158 ------------------------------------------------------------ 2021-07-09T03:20:39,159 ... 2021-07-09T03:20:39,159 from libc.string cimport strcpy 2021-07-09T03:20:39,159 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:39,159 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:39,160 from opencl.cl_mem cimport CyView_Create, CyMemoryObject_Check, CyMemoryObject_GetID, CyImageFormat_New, CyImage_New 2021-07-09T03:20:39,160 ^ 2021-07-09T03:20:39,161 ------------------------------------------------------------ 2021-07-09T03:20:39,161 opencl/clgl.pyx:16:0: 'opencl/cl_mem/CyMemoryObject_GetID.pxd' not found 2021-07-09T03:20:39,161 Error compiling Cython file: 2021-07-09T03:20:39,162 ------------------------------------------------------------ 2021-07-09T03:20:39,162 ... 2021-07-09T03:20:39,162 from libc.string cimport strcpy 2021-07-09T03:20:39,162 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:39,162 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:39,162 from opencl.cl_mem cimport CyView_Create, CyMemoryObject_Check, CyMemoryObject_GetID, CyImageFormat_New, CyImage_New 2021-07-09T03:20:39,163 ^ 2021-07-09T03:20:39,163 ------------------------------------------------------------ 2021-07-09T03:20:39,163 opencl/clgl.pyx:16:0: 'opencl/cl_mem/CyImageFormat_New.pxd' not found 2021-07-09T03:20:39,163 Error compiling Cython file: 2021-07-09T03:20:39,163 ------------------------------------------------------------ 2021-07-09T03:20:39,163 ... 2021-07-09T03:20:39,164 from libc.string cimport strcpy 2021-07-09T03:20:39,164 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:39,164 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:39,164 from opencl.cl_mem cimport CyView_Create, CyMemoryObject_Check, CyMemoryObject_GetID, CyImageFormat_New, CyImage_New 2021-07-09T03:20:39,164 ^ 2021-07-09T03:20:39,165 ------------------------------------------------------------ 2021-07-09T03:20:39,165 opencl/clgl.pyx:16:0: 'opencl/cl_mem/CyImage_New.pxd' not found 2021-07-09T03:20:39,165 Error compiling Cython file: 2021-07-09T03:20:39,165 ------------------------------------------------------------ 2021-07-09T03:20:39,165 ... 2021-07-09T03:20:39,166 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:39,166 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:39,167 from opencl.cl_mem cimport CyView_Create, CyMemoryObject_Check, CyMemoryObject_GetID, CyImageFormat_New, CyImage_New 2021-07-09T03:20:39,167 from opencl.context cimport CyContext_GetID, CyContext_Check 2021-07-09T03:20:39,167 ^ 2021-07-09T03:20:39,167 ------------------------------------------------------------ 2021-07-09T03:20:39,168 opencl/clgl.pyx:17:0: 'opencl/context.pxd' not found 2021-07-09T03:20:39,168 Error compiling Cython file: 2021-07-09T03:20:39,168 ------------------------------------------------------------ 2021-07-09T03:20:39,168 ... 2021-07-09T03:20:39,169 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:39,169 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:39,170 from opencl.cl_mem cimport CyView_Create, CyMemoryObject_Check, CyMemoryObject_GetID, CyImageFormat_New, CyImage_New 2021-07-09T03:20:39,170 from opencl.context cimport CyContext_GetID, CyContext_Check 2021-07-09T03:20:39,170 ^ 2021-07-09T03:20:39,170 ------------------------------------------------------------ 2021-07-09T03:20:39,171 opencl/clgl.pyx:17:0: 'opencl/context/CyContext_GetID.pxd' not found 2021-07-09T03:20:39,171 Error compiling Cython file: 2021-07-09T03:20:39,171 ------------------------------------------------------------ 2021-07-09T03:20:39,172 ... 2021-07-09T03:20:39,172 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:39,172 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:39,173 from opencl.cl_mem cimport CyView_Create, CyMemoryObject_Check, CyMemoryObject_GetID, CyImageFormat_New, CyImage_New 2021-07-09T03:20:39,173 from opencl.context cimport CyContext_GetID, CyContext_Check 2021-07-09T03:20:39,173 ^ 2021-07-09T03:20:39,173 ------------------------------------------------------------ 2021-07-09T03:20:39,174 opencl/clgl.pyx:17:0: 'opencl/context/CyContext_Check.pxd' not found 2021-07-09T03:20:39,174 Error compiling Cython file: 2021-07-09T03:20:39,174 ------------------------------------------------------------ 2021-07-09T03:20:39,175 ... 2021-07-09T03:20:39,175 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:39,175 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:39,176 from opencl.cl_mem cimport CyView_Create, CyMemoryObject_Check, CyMemoryObject_GetID, CyImageFormat_New, CyImage_New 2021-07-09T03:20:39,176 from opencl.context cimport CyContext_GetID, CyContext_Check 2021-07-09T03:20:39,176 from opencl.queue cimport CyQueue_GetID, CyQueue_Check, _make_wait_list 2021-07-09T03:20:39,176 ^ 2021-07-09T03:20:39,176 ------------------------------------------------------------ 2021-07-09T03:20:39,177 opencl/clgl.pyx:18:0: 'opencl/queue.pxd' not found 2021-07-09T03:20:39,177 Error compiling Cython file: 2021-07-09T03:20:39,177 ------------------------------------------------------------ 2021-07-09T03:20:39,178 ... 2021-07-09T03:20:39,178 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:39,178 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:39,179 from opencl.cl_mem cimport CyView_Create, CyMemoryObject_Check, CyMemoryObject_GetID, CyImageFormat_New, CyImage_New 2021-07-09T03:20:39,179 from opencl.context cimport CyContext_GetID, CyContext_Check 2021-07-09T03:20:39,179 from opencl.queue cimport CyQueue_GetID, CyQueue_Check, _make_wait_list 2021-07-09T03:20:39,179 ^ 2021-07-09T03:20:39,179 ------------------------------------------------------------ 2021-07-09T03:20:39,180 opencl/clgl.pyx:18:0: 'opencl/queue/CyQueue_GetID.pxd' not found 2021-07-09T03:20:39,180 Error compiling Cython file: 2021-07-09T03:20:39,180 ------------------------------------------------------------ 2021-07-09T03:20:39,180 ... 2021-07-09T03:20:39,180 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:39,180 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:39,181 from opencl.cl_mem cimport CyView_Create, CyMemoryObject_Check, CyMemoryObject_GetID, CyImageFormat_New, CyImage_New 2021-07-09T03:20:39,181 from opencl.context cimport CyContext_GetID, CyContext_Check 2021-07-09T03:20:39,181 from opencl.queue cimport CyQueue_GetID, CyQueue_Check, _make_wait_list 2021-07-09T03:20:39,181 ^ 2021-07-09T03:20:39,181 ------------------------------------------------------------ 2021-07-09T03:20:39,181 opencl/clgl.pyx:18:0: 'opencl/queue/CyQueue_Check.pxd' not found 2021-07-09T03:20:39,181 Error compiling Cython file: 2021-07-09T03:20:39,182 ------------------------------------------------------------ 2021-07-09T03:20:39,182 ... 2021-07-09T03:20:39,182 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:39,182 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:39,182 from opencl.cl_mem cimport CyView_Create, CyMemoryObject_Check, CyMemoryObject_GetID, CyImageFormat_New, CyImage_New 2021-07-09T03:20:39,182 from opencl.context cimport CyContext_GetID, CyContext_Check 2021-07-09T03:20:39,182 from opencl.queue cimport CyQueue_GetID, CyQueue_Check, _make_wait_list 2021-07-09T03:20:39,183 ^ 2021-07-09T03:20:39,183 ------------------------------------------------------------ 2021-07-09T03:20:39,183 opencl/clgl.pyx:18:0: 'opencl/queue/_make_wait_list.pxd' not found 2021-07-09T03:20:39,183 Error compiling Cython file: 2021-07-09T03:20:39,183 ------------------------------------------------------------ 2021-07-09T03:20:39,183 ... 2021-07-09T03:20:39,183 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:39,184 from opencl.cl_mem cimport CyView_Create, CyMemoryObject_Check, CyMemoryObject_GetID, CyImageFormat_New, CyImage_New 2021-07-09T03:20:39,184 from opencl.context cimport CyContext_GetID, CyContext_Check 2021-07-09T03:20:39,184 from opencl.queue cimport CyQueue_GetID, CyQueue_Check, _make_wait_list 2021-07-09T03:20:39,184 from opencl.event cimport PyEvent_New 2021-07-09T03:20:39,184 ^ 2021-07-09T03:20:39,184 ------------------------------------------------------------ 2021-07-09T03:20:39,185 opencl/clgl.pyx:19:0: 'opencl/event.pxd' not found 2021-07-09T03:20:39,185 Error compiling Cython file: 2021-07-09T03:20:39,185 ------------------------------------------------------------ 2021-07-09T03:20:39,185 ... 2021-07-09T03:20:39,185 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:39,185 from opencl.cl_mem cimport CyView_Create, CyMemoryObject_Check, CyMemoryObject_GetID, CyImageFormat_New, CyImage_New 2021-07-09T03:20:39,185 from opencl.context cimport CyContext_GetID, CyContext_Check 2021-07-09T03:20:39,186 from opencl.queue cimport CyQueue_GetID, CyQueue_Check, _make_wait_list 2021-07-09T03:20:39,186 from opencl.event cimport PyEvent_New 2021-07-09T03:20:39,186 ^ 2021-07-09T03:20:39,186 ------------------------------------------------------------ 2021-07-09T03:20:39,186 opencl/clgl.pyx:19:0: 'opencl/event/PyEvent_New.pxd' not found 2021-07-09T03:20:39,195 Error compiling Cython file: 2021-07-09T03:20:39,195 ------------------------------------------------------------ 2021-07-09T03:20:39,195 ... 2021-07-09T03:20:39,195 def get_cl_image_format(match): 2021-07-09T03:20:39,195 ''' 2021-07-09T03:20:39,196 ''' 2021-07-09T03:20:39,196 cdef cl_image_format image_format 2021-07-09T03:20:39,196 ^ 2021-07-09T03:20:39,196 ------------------------------------------------------------ 2021-07-09T03:20:39,196 opencl/clgl.pyx:83:9: 'cl_image_format' is not a type identifier 2021-07-09T03:20:39,197 Error compiling Cython file: 2021-07-09T03:20:39,197 ------------------------------------------------------------ 2021-07-09T03:20:39,197 ... 2021-07-09T03:20:39,197 Check if `memobject` was created from an oengl buffer. 2021-07-09T03:20:39,197 ''' 2021-07-09T03:20:39,197 if not CyMemoryObject_Check(memobject): 2021-07-09T03:20:39,197 raise TypeError("argument must be of type 'cl.MemoryObject'") 2021-07-09T03:20:39,197 cdef cl_int err_code = 0 2021-07-09T03:20:39,198 ^ 2021-07-09T03:20:39,198 ------------------------------------------------------------ 2021-07-09T03:20:39,198 opencl/clgl.pyx:117:9: 'cl_int' is not a type identifier 2021-07-09T03:20:39,198 Error compiling Cython file: 2021-07-09T03:20:39,198 ------------------------------------------------------------ 2021-07-09T03:20:39,198 ... 2021-07-09T03:20:39,198 ''' 2021-07-09T03:20:39,199 if not CyMemoryObject_Check(memobject): 2021-07-09T03:20:39,199 raise TypeError("argument must be of type 'cl.MemoryObject'") 2021-07-09T03:20:39,199 cdef cl_int err_code = 0 2021-07-09T03:20:39,199 cdef cl_mem memobj = CyMemoryObject_GetID(memobject) 2021-07-09T03:20:39,199 ^ 2021-07-09T03:20:39,199 ------------------------------------------------------------ 2021-07-09T03:20:39,199 opencl/clgl.pyx:118:9: 'cl_mem' is not a type identifier 2021-07-09T03:20:39,200 Error compiling Cython file: 2021-07-09T03:20:39,200 ------------------------------------------------------------ 2021-07-09T03:20:39,200 ... 2021-07-09T03:20:39,200 Get the vertex or texture buffer `memobject` was created with. 2021-07-09T03:20:39,200 ''' 2021-07-09T03:20:39,200 if not CyMemoryObject_Check(memobject): 2021-07-09T03:20:39,200 raise TypeError("argument must be of type 'cl.MemoryObject'") 2021-07-09T03:20:39,201 cdef GLuint gl_object_name = 0 2021-07-09T03:20:39,201 ^ 2021-07-09T03:20:39,201 ------------------------------------------------------------ 2021-07-09T03:20:39,201 opencl/clgl.pyx:137:9: 'GLuint' is not a type identifier 2021-07-09T03:20:39,201 Error compiling Cython file: 2021-07-09T03:20:39,201 ------------------------------------------------------------ 2021-07-09T03:20:39,202 ... 2021-07-09T03:20:39,202 ''' 2021-07-09T03:20:39,202 if not CyMemoryObject_Check(memobject): 2021-07-09T03:20:39,202 raise TypeError("argument must be of type 'cl.MemoryObject'") 2021-07-09T03:20:39,202 cdef GLuint gl_object_name = 0 2021-07-09T03:20:39,202 cdef cl_int err_code = 0 2021-07-09T03:20:39,202 ^ 2021-07-09T03:20:39,202 ------------------------------------------------------------ 2021-07-09T03:20:39,203 opencl/clgl.pyx:138:9: 'cl_int' is not a type identifier 2021-07-09T03:20:39,203 Error compiling Cython file: 2021-07-09T03:20:39,203 ------------------------------------------------------------ 2021-07-09T03:20:39,203 ... 2021-07-09T03:20:39,203 if not CyMemoryObject_Check(memobject): 2021-07-09T03:20:39,203 raise TypeError("argument must be of type 'cl.MemoryObject'") 2021-07-09T03:20:39,203 cdef GLuint gl_object_name = 0 2021-07-09T03:20:39,204 cdef cl_int err_code = 0 2021-07-09T03:20:39,204 cdef cl_mem memobj = CyMemoryObject_GetID(memobject) 2021-07-09T03:20:39,204 ^ 2021-07-09T03:20:39,204 ------------------------------------------------------------ 2021-07-09T03:20:39,204 opencl/clgl.pyx:139:9: 'cl_mem' is not a type identifier 2021-07-09T03:20:39,204 Error compiling Cython file: 2021-07-09T03:20:39,204 ------------------------------------------------------------ 2021-07-09T03:20:39,205 ... 2021-07-09T03:20:39,205 raise TypeError("image must be 2 or 3 dimentional (got %i)" % (len(shape),)) 2021-07-09T03:20:39,205 if not CyContext_Check(context): 2021-07-09T03:20:39,205 raise TypeError("argument context must be an opencl.Context object") 2021-07-09T03:20:39,205 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:39,205 ^ 2021-07-09T03:20:39,206 ------------------------------------------------------------ 2021-07-09T03:20:39,206 opencl/clgl.pyx:159:9: 'cl_context' is not a type identifier 2021-07-09T03:20:39,206 Error compiling Cython file: 2021-07-09T03:20:39,206 ------------------------------------------------------------ 2021-07-09T03:20:39,206 ... 2021-07-09T03:20:39,206 if not CyContext_Check(context): 2021-07-09T03:20:39,207 raise TypeError("argument context must be an opencl.Context object") 2021-07-09T03:20:39,207 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:39,207 cdef cl_mem_flags flags = CL_MEM_READ_WRITE 2021-07-09T03:20:39,207 ^ 2021-07-09T03:20:39,207 ------------------------------------------------------------ 2021-07-09T03:20:39,207 opencl/clgl.pyx:161:9: 'cl_mem_flags' is not a type identifier 2021-07-09T03:20:39,208 Error compiling Cython file: 2021-07-09T03:20:39,208 ------------------------------------------------------------ 2021-07-09T03:20:39,208 ... 2021-07-09T03:20:39,208 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:39,208 cdef cl_mem_flags flags = CL_MEM_READ_WRITE 2021-07-09T03:20:39,209 cdef Py_buffer * buffer = < Py_buffer *> malloc(sizeof(Py_buffer)) 2021-07-09T03:20:39,209 cdef cl_int err_code 2021-07-09T03:20:39,209 ^ 2021-07-09T03:20:39,209 ------------------------------------------------------------ 2021-07-09T03:20:39,209 opencl/clgl.pyx:164:9: 'cl_int' is not a type identifier 2021-07-09T03:20:39,209 Error compiling Cython file: 2021-07-09T03:20:39,209 ------------------------------------------------------------ 2021-07-09T03:20:39,210 ... 2021-07-09T03:20:39,210 cdef cl_mem_flags flags = CL_MEM_READ_WRITE 2021-07-09T03:20:39,210 cdef Py_buffer * buffer = < Py_buffer *> malloc(sizeof(Py_buffer)) 2021-07-09T03:20:39,210 cdef cl_int err_code 2021-07-09T03:20:39,210 cdef GLint miplevel = 0 2021-07-09T03:20:39,210 ^ 2021-07-09T03:20:39,211 ------------------------------------------------------------ 2021-07-09T03:20:39,211 opencl/clgl.pyx:166:9: 'GLint' is not a type identifier 2021-07-09T03:20:39,211 Error compiling Cython file: 2021-07-09T03:20:39,211 ------------------------------------------------------------ 2021-07-09T03:20:39,211 ... 2021-07-09T03:20:39,212 cdef Py_buffer * buffer = < Py_buffer *> malloc(sizeof(Py_buffer)) 2021-07-09T03:20:39,212 cdef cl_int err_code 2021-07-09T03:20:39,212 cdef GLint miplevel = 0 2021-07-09T03:20:39,212 cdef GLint ntextures = 0 2021-07-09T03:20:39,212 ^ 2021-07-09T03:20:39,212 ------------------------------------------------------------ 2021-07-09T03:20:39,212 opencl/clgl.pyx:167:9: 'GLint' is not a type identifier 2021-07-09T03:20:39,213 Error compiling Cython file: 2021-07-09T03:20:39,213 ------------------------------------------------------------ 2021-07-09T03:20:39,213 ... 2021-07-09T03:20:39,213 cdef Py_buffer * buffer = < Py_buffer *> malloc(sizeof(Py_buffer)) 2021-07-09T03:20:39,213 cdef cl_int err_code 2021-07-09T03:20:39,213 cdef GLint miplevel = 0 2021-07-09T03:20:39,214 cdef GLint ntextures = 0 2021-07-09T03:20:39,214 cdef GLuint texture 2021-07-09T03:20:39,214 ^ 2021-07-09T03:20:39,214 ------------------------------------------------------------ 2021-07-09T03:20:39,214 opencl/clgl.pyx:168:9: 'GLuint' is not a type identifier 2021-07-09T03:20:39,214 Error compiling Cython file: 2021-07-09T03:20:39,214 ------------------------------------------------------------ 2021-07-09T03:20:39,215 ... 2021-07-09T03:20:39,215 cdef cl_int err_code 2021-07-09T03:20:39,215 cdef GLint miplevel = 0 2021-07-09T03:20:39,215 cdef GLint ntextures = 0 2021-07-09T03:20:39,215 cdef GLuint texture 2021-07-09T03:20:39,215 cdef cl_int width = shape[0] 2021-07-09T03:20:39,215 ^ 2021-07-09T03:20:39,216 ------------------------------------------------------------ 2021-07-09T03:20:39,216 opencl/clgl.pyx:169:9: 'cl_int' is not a type identifier 2021-07-09T03:20:39,216 Error compiling Cython file: 2021-07-09T03:20:39,216 ------------------------------------------------------------ 2021-07-09T03:20:39,216 ... 2021-07-09T03:20:39,216 cdef GLint miplevel = 0 2021-07-09T03:20:39,217 cdef GLint ntextures = 0 2021-07-09T03:20:39,217 cdef GLuint texture 2021-07-09T03:20:39,217 cdef cl_int width = shape[0] 2021-07-09T03:20:39,217 cdef cl_int height = shape[1] 2021-07-09T03:20:39,217 ^ 2021-07-09T03:20:39,217 ------------------------------------------------------------ 2021-07-09T03:20:39,217 opencl/clgl.pyx:170:9: 'cl_int' is not a type identifier 2021-07-09T03:20:39,218 Error compiling Cython file: 2021-07-09T03:20:39,218 ------------------------------------------------------------ 2021-07-09T03:20:39,218 ... 2021-07-09T03:20:39,218 cdef GLint miplevel = 0 2021-07-09T03:20:39,218 cdef GLint ntextures = 0 2021-07-09T03:20:39,218 cdef GLuint texture 2021-07-09T03:20:39,218 cdef cl_int width = shape[0] 2021-07-09T03:20:39,218 cdef cl_int height = shape[1] 2021-07-09T03:20:39,219 cdef cl_int depth = 1 2021-07-09T03:20:39,219 ^ 2021-07-09T03:20:39,219 ------------------------------------------------------------ 2021-07-09T03:20:39,219 opencl/clgl.pyx:171:9: 'cl_int' is not a type identifier 2021-07-09T03:20:39,219 Error compiling Cython file: 2021-07-09T03:20:39,219 ------------------------------------------------------------ 2021-07-09T03:20:39,219 ... 2021-07-09T03:20:39,220 cdef GLint ntextures = 0 2021-07-09T03:20:39,220 cdef GLuint texture 2021-07-09T03:20:39,220 cdef cl_int width = shape[0] 2021-07-09T03:20:39,220 cdef cl_int height = shape[1] 2021-07-09T03:20:39,220 cdef cl_int depth = 1 2021-07-09T03:20:39,220 cdef GLenum format_e = GL_RGBA 2021-07-09T03:20:39,220 ^ 2021-07-09T03:20:39,220 ------------------------------------------------------------ 2021-07-09T03:20:39,221 opencl/clgl.pyx:172:9: 'GLenum' is not a type identifier 2021-07-09T03:20:39,221 Error compiling Cython file: 2021-07-09T03:20:39,221 ------------------------------------------------------------ 2021-07-09T03:20:39,221 ... 2021-07-09T03:20:39,221 cdef GLuint texture 2021-07-09T03:20:39,221 cdef cl_int width = shape[0] 2021-07-09T03:20:39,221 cdef cl_int height = shape[1] 2021-07-09T03:20:39,221 cdef cl_int depth = 1 2021-07-09T03:20:39,222 cdef GLenum format_e = GL_RGBA 2021-07-09T03:20:39,222 cdef GLenum type_e = GL_UNSIGNED_BYTE 2021-07-09T03:20:39,222 ^ 2021-07-09T03:20:39,222 ------------------------------------------------------------ 2021-07-09T03:20:39,222 opencl/clgl.pyx:173:9: 'GLenum' is not a type identifier 2021-07-09T03:20:39,222 Error compiling Cython file: 2021-07-09T03:20:39,223 ------------------------------------------------------------ 2021-07-09T03:20:39,223 ... 2021-07-09T03:20:39,223 cdef cl_int width = shape[0] 2021-07-09T03:20:39,223 cdef cl_int height = shape[1] 2021-07-09T03:20:39,223 cdef cl_int depth = 1 2021-07-09T03:20:39,223 cdef GLenum format_e = GL_RGBA 2021-07-09T03:20:39,223 cdef GLenum type_e = GL_UNSIGNED_BYTE 2021-07-09T03:20:39,223 cdef cl_mem image 2021-07-09T03:20:39,223 ^ 2021-07-09T03:20:39,224 ------------------------------------------------------------ 2021-07-09T03:20:39,224 opencl/clgl.pyx:174:9: 'cl_mem' is not a type identifier 2021-07-09T03:20:39,224 Error compiling Cython file: 2021-07-09T03:20:39,224 ------------------------------------------------------------ 2021-07-09T03:20:39,224 ... 2021-07-09T03:20:39,224 Create an openCL buffer that is also an openGL buffer 2021-07-09T03:20:39,225 ''' 2021-07-09T03:20:39,225 if not CyContext_Check(context): 2021-07-09T03:20:39,225 raise TypeError("argument context must be an opencl.Context object") 2021-07-09T03:20:39,225 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:39,225 ^ 2021-07-09T03:20:39,225 ------------------------------------------------------------ 2021-07-09T03:20:39,226 opencl/clgl.pyx:213:9: 'cl_context' is not a type identifier 2021-07-09T03:20:39,226 Error compiling Cython file: 2021-07-09T03:20:39,226 ------------------------------------------------------------ 2021-07-09T03:20:39,226 ... 2021-07-09T03:20:39,226 if not CyContext_Check(context): 2021-07-09T03:20:39,226 raise TypeError("argument context must be an opencl.Context object") 2021-07-09T03:20:39,227 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:39,227 cdef cl_mem_flags flags = CL_MEM_READ_WRITE 2021-07-09T03:20:39,227 ^ 2021-07-09T03:20:39,227 ------------------------------------------------------------ 2021-07-09T03:20:39,227 opencl/clgl.pyx:215:9: 'cl_mem_flags' is not a type identifier 2021-07-09T03:20:39,227 Error compiling Cython file: 2021-07-09T03:20:39,228 ------------------------------------------------------------ 2021-07-09T03:20:39,228 ... 2021-07-09T03:20:39,228 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:39,228 cdef cl_mem_flags flags = CL_MEM_READ_WRITE 2021-07-09T03:20:39,228 cdef Py_buffer * buffer = < Py_buffer *> malloc(sizeof(Py_buffer)) 2021-07-09T03:20:39,228 cdef cl_int err_code 2021-07-09T03:20:39,228 ^ 2021-07-09T03:20:39,228 ------------------------------------------------------------ 2021-07-09T03:20:39,229 opencl/clgl.pyx:218:9: 'cl_int' is not a type identifier 2021-07-09T03:20:39,229 Error compiling Cython file: 2021-07-09T03:20:39,229 ------------------------------------------------------------ 2021-07-09T03:20:39,229 ... 2021-07-09T03:20:39,229 cdef size_t size = buffer.itemsize 2021-07-09T03:20:39,229 for i in shape: 2021-07-09T03:20:39,230 size *= i 2021-07-09T03:20:39,230 cdef GLuint vbo = 0 2021-07-09T03:20:39,230 ^ 2021-07-09T03:20:39,230 ------------------------------------------------------------ 2021-07-09T03:20:39,230 opencl/clgl.pyx:237:9: 'GLuint' is not a type identifier 2021-07-09T03:20:39,230 Error compiling Cython file: 2021-07-09T03:20:39,231 ------------------------------------------------------------ 2021-07-09T03:20:39,231 ... 2021-07-09T03:20:39,231 for i in shape: 2021-07-09T03:20:39,231 size *= i 2021-07-09T03:20:39,231 cdef GLuint vbo = 0 2021-07-09T03:20:39,231 cdef GLsizeiptr nbytes = 0 2021-07-09T03:20:39,231 ^ 2021-07-09T03:20:39,231 ------------------------------------------------------------ 2021-07-09T03:20:39,232 opencl/clgl.pyx:238:9: 'GLsizeiptr' is not a type identifier 2021-07-09T03:20:39,232 Error compiling Cython file: 2021-07-09T03:20:39,232 ------------------------------------------------------------ 2021-07-09T03:20:39,232 ... 2021-07-09T03:20:39,232 if glGetError() != GL_NO_ERROR: 2021-07-09T03:20:39,232 raise Exception("OpenGL error") 2021-07-09T03:20:39,232 else: 2021-07-09T03:20:39,233 vbo = < GLuint > gl_buffer 2021-07-09T03:20:39,233 cdef cl_mem buffer_id = clCreateFromGLBuffer(ctx, flags, vbo, & err_code) 2021-07-09T03:20:39,233 ^ 2021-07-09T03:20:39,233 ------------------------------------------------------------ 2021-07-09T03:20:39,233 opencl/clgl.pyx:256:9: 'cl_mem' is not a type identifier 2021-07-09T03:20:39,233 Error compiling Cython file: 2021-07-09T03:20:39,233 ------------------------------------------------------------ 2021-07-09T03:20:39,234 ... 2021-07-09T03:20:39,234 def enqueue_acquire_gl_objects(queue, *mem_objects, wait_on=()): 2021-07-09T03:20:39,234 if not CyQueue_Check(queue): 2021-07-09T03:20:39,234 raise TypeError("argument 'queue' is required to be a valid cl.Queue object") 2021-07-09T03:20:39,234 cdef cl_int err_code 2021-07-09T03:20:39,234 ^ 2021-07-09T03:20:39,235 ------------------------------------------------------------ 2021-07-09T03:20:39,235 opencl/clgl.pyx:298:9: 'cl_int' is not a type identifier 2021-07-09T03:20:39,235 Error compiling Cython file: 2021-07-09T03:20:39,235 ------------------------------------------------------------ 2021-07-09T03:20:39,235 ... 2021-07-09T03:20:39,235 if not CyQueue_Check(queue): 2021-07-09T03:20:39,235 raise TypeError("argument 'queue' is required to be a valid cl.Queue object") 2021-07-09T03:20:39,236 cdef cl_int err_code 2021-07-09T03:20:39,236 cdef cl_event * event_wait_list 2021-07-09T03:20:39,236 ^ 2021-07-09T03:20:39,236 ------------------------------------------------------------ 2021-07-09T03:20:39,236 opencl/clgl.pyx:300:9: 'cl_event' is not a type identifier 2021-07-09T03:20:39,237 Error compiling Cython file: 2021-07-09T03:20:39,237 ------------------------------------------------------------ 2021-07-09T03:20:39,237 ... 2021-07-09T03:20:39,237 raise TypeError("argument 'queue' is required to be a valid cl.Queue object") 2021-07-09T03:20:39,237 cdef cl_int err_code 2021-07-09T03:20:39,237 cdef cl_event * event_wait_list 2021-07-09T03:20:39,237 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:39,237 ^ 2021-07-09T03:20:39,238 ------------------------------------------------------------ 2021-07-09T03:20:39,238 opencl/clgl.pyx:301:9: 'cl_uint' is not a type identifier 2021-07-09T03:20:39,238 Error compiling Cython file: 2021-07-09T03:20:39,238 ------------------------------------------------------------ 2021-07-09T03:20:39,238 ... 2021-07-09T03:20:39,238 if len(mem_objects) == 1: 2021-07-09T03:20:39,239 if isinstance(mem_objects[0], (list, tuple)): 2021-07-09T03:20:39,239 mem_objects = mem_objects[0] 2021-07-09T03:20:39,239 cdef cl_uint num_objects = 0 2021-07-09T03:20:39,239 ^ 2021-07-09T03:20:39,239 ------------------------------------------------------------ 2021-07-09T03:20:39,239 opencl/clgl.pyx:310:9: 'cl_uint' is not a type identifier 2021-07-09T03:20:39,239 Error compiling Cython file: 2021-07-09T03:20:39,240 ------------------------------------------------------------ 2021-07-09T03:20:39,240 ... 2021-07-09T03:20:39,240 if len(mem_objects) == 1: 2021-07-09T03:20:39,240 if isinstance(mem_objects[0], (list, tuple)): 2021-07-09T03:20:39,240 mem_objects = mem_objects[0] 2021-07-09T03:20:39,240 cdef cl_uint num_objects = 0 2021-07-09T03:20:39,240 cdef cl_mem * mem_object_ids = NULL 2021-07-09T03:20:39,240 ^ 2021-07-09T03:20:39,241 ------------------------------------------------------------ 2021-07-09T03:20:39,241 opencl/clgl.pyx:311:9: 'cl_mem' is not a type identifier 2021-07-09T03:20:39,241 Error compiling Cython file: 2021-07-09T03:20:39,241 ------------------------------------------------------------ 2021-07-09T03:20:39,241 ... 2021-07-09T03:20:39,241 if isinstance(mem_objects[0], (list, tuple)): 2021-07-09T03:20:39,241 mem_objects = mem_objects[0] 2021-07-09T03:20:39,242 cdef cl_uint num_objects = 0 2021-07-09T03:20:39,242 cdef cl_mem * mem_object_ids = NULL 2021-07-09T03:20:39,242 cdef cl_event event_id 2021-07-09T03:20:39,242 ^ 2021-07-09T03:20:39,242 ------------------------------------------------------------ 2021-07-09T03:20:39,242 opencl/clgl.pyx:312:9: 'cl_event' is not a type identifier 2021-07-09T03:20:39,242 Error compiling Cython file: 2021-07-09T03:20:39,243 ------------------------------------------------------------ 2021-07-09T03:20:39,243 ... 2021-07-09T03:20:39,243 mem_objects = mem_objects[0] 2021-07-09T03:20:39,243 cdef cl_uint num_objects = 0 2021-07-09T03:20:39,243 cdef cl_mem * mem_object_ids = NULL 2021-07-09T03:20:39,243 cdef cl_event event_id 2021-07-09T03:20:39,243 cdef cl_command_queue command_queue = CyQueue_GetID(queue) 2021-07-09T03:20:39,243 ^ 2021-07-09T03:20:39,244 ------------------------------------------------------------ 2021-07-09T03:20:39,244 opencl/clgl.pyx:313:9: 'cl_command_queue' is not a type identifier 2021-07-09T03:20:39,244 Error compiling Cython file: 2021-07-09T03:20:39,244 ------------------------------------------------------------ 2021-07-09T03:20:39,244 ... 2021-07-09T03:20:39,244 def enqueue_release_gl_objects(queue, *mem_objects, wait_on=()): 2021-07-09T03:20:39,245 if not CyQueue_Check(queue): 2021-07-09T03:20:39,245 raise TypeError("argument 'queue' is required to be a valid cl.Queue object") 2021-07-09T03:20:39,245 cdef cl_int err_code 2021-07-09T03:20:39,245 ^ 2021-07-09T03:20:39,245 ------------------------------------------------------------ 2021-07-09T03:20:39,245 opencl/clgl.pyx:344:9: 'cl_int' is not a type identifier 2021-07-09T03:20:39,245 Error compiling Cython file: 2021-07-09T03:20:39,246 ------------------------------------------------------------ 2021-07-09T03:20:39,246 ... 2021-07-09T03:20:39,246 if not CyQueue_Check(queue): 2021-07-09T03:20:39,246 raise TypeError("argument 'queue' is required to be a valid cl.Queue object") 2021-07-09T03:20:39,246 cdef cl_int err_code 2021-07-09T03:20:39,246 cdef cl_event * event_wait_list 2021-07-09T03:20:39,246 ^ 2021-07-09T03:20:39,247 ------------------------------------------------------------ 2021-07-09T03:20:39,247 opencl/clgl.pyx:346:9: 'cl_event' is not a type identifier 2021-07-09T03:20:39,247 Error compiling Cython file: 2021-07-09T03:20:39,247 ------------------------------------------------------------ 2021-07-09T03:20:39,247 ... 2021-07-09T03:20:39,247 raise TypeError("argument 'queue' is required to be a valid cl.Queue object") 2021-07-09T03:20:39,248 cdef cl_int err_code 2021-07-09T03:20:39,248 cdef cl_event * event_wait_list 2021-07-09T03:20:39,248 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:39,248 ^ 2021-07-09T03:20:39,248 ------------------------------------------------------------ 2021-07-09T03:20:39,248 opencl/clgl.pyx:347:9: 'cl_uint' is not a type identifier 2021-07-09T03:20:39,248 Error compiling Cython file: 2021-07-09T03:20:39,249 ------------------------------------------------------------ 2021-07-09T03:20:39,249 ... 2021-07-09T03:20:39,249 if len(mem_objects) == 1: 2021-07-09T03:20:39,249 if isinstance(mem_objects[0], (list, tuple)): 2021-07-09T03:20:39,249 mem_objects = mem_objects[0] 2021-07-09T03:20:39,249 cdef cl_uint num_objects = 0 2021-07-09T03:20:39,249 ^ 2021-07-09T03:20:39,250 ------------------------------------------------------------ 2021-07-09T03:20:39,250 opencl/clgl.pyx:356:9: 'cl_uint' is not a type identifier 2021-07-09T03:20:39,250 Error compiling Cython file: 2021-07-09T03:20:39,250 ------------------------------------------------------------ 2021-07-09T03:20:39,250 ... 2021-07-09T03:20:39,250 if len(mem_objects) == 1: 2021-07-09T03:20:39,250 if isinstance(mem_objects[0], (list, tuple)): 2021-07-09T03:20:39,250 mem_objects = mem_objects[0] 2021-07-09T03:20:39,251 cdef cl_uint num_objects = 0 2021-07-09T03:20:39,251 cdef cl_mem * mem_object_ids = NULL 2021-07-09T03:20:39,251 ^ 2021-07-09T03:20:39,251 ------------------------------------------------------------ 2021-07-09T03:20:39,251 opencl/clgl.pyx:357:9: 'cl_mem' is not a type identifier 2021-07-09T03:20:39,251 Error compiling Cython file: 2021-07-09T03:20:39,252 ------------------------------------------------------------ 2021-07-09T03:20:39,252 ... 2021-07-09T03:20:39,252 if isinstance(mem_objects[0], (list, tuple)): 2021-07-09T03:20:39,252 mem_objects = mem_objects[0] 2021-07-09T03:20:39,252 cdef cl_uint num_objects = 0 2021-07-09T03:20:39,252 cdef cl_mem * mem_object_ids = NULL 2021-07-09T03:20:39,252 cdef cl_event event_id 2021-07-09T03:20:39,252 ^ 2021-07-09T03:20:39,253 ------------------------------------------------------------ 2021-07-09T03:20:39,253 opencl/clgl.pyx:358:9: 'cl_event' is not a type identifier 2021-07-09T03:20:39,253 Error compiling Cython file: 2021-07-09T03:20:39,253 ------------------------------------------------------------ 2021-07-09T03:20:39,253 ... 2021-07-09T03:20:39,253 mem_objects = mem_objects[0] 2021-07-09T03:20:39,254 cdef cl_uint num_objects = 0 2021-07-09T03:20:39,254 cdef cl_mem * mem_object_ids = NULL 2021-07-09T03:20:39,254 cdef cl_event event_id 2021-07-09T03:20:39,254 cdef cl_command_queue command_queue = CyQueue_GetID(queue) 2021-07-09T03:20:39,254 ^ 2021-07-09T03:20:39,254 ------------------------------------------------------------ 2021-07-09T03:20:39,254 opencl/clgl.pyx:359:9: 'cl_command_queue' is not a type identifier 2021-07-09T03:20:39,345 Error compiling Cython file: 2021-07-09T03:20:39,345 ------------------------------------------------------------ 2021-07-09T03:20:39,345 ... 2021-07-09T03:20:39,345 from opencl.queue cimport CyQueue_GetID, CyQueue_Check, _make_wait_list 2021-07-09T03:20:39,345 from opencl.event cimport PyEvent_New 2021-07-09T03:20:39,346 opencl.errors.all_opencl_errors.update( 2021-07-09T03:20:39,346 { 2021-07-09T03:20:39,346 CL_INVALID_GL_OBJECT : 'CL_INVALID_GL_OBJECT', 2021-07-09T03:20:39,346 ^ 2021-07-09T03:20:39,346 ------------------------------------------------------------ 2021-07-09T03:20:39,346 opencl/clgl.pyx:23:5: undeclared name not builtin: CL_INVALID_GL_OBJECT 2021-07-09T03:20:39,346 Error compiling Cython file: 2021-07-09T03:20:39,347 ------------------------------------------------------------ 2021-07-09T03:20:39,347 ... 2021-07-09T03:20:39,347 }) 2021-07-09T03:20:39,347 IMAGE_FORMAT_MAP = ( 2021-07-09T03:20:39,347 (GL_RGBA8, (CL_RGBA, CL_UNORM_INT8)), 2021-07-09T03:20:39,347 ^ 2021-07-09T03:20:39,347 ------------------------------------------------------------ 2021-07-09T03:20:39,348 opencl/clgl.pyx:33:5: undeclared name not builtin: GL_RGBA8 2021-07-09T03:20:39,348 Error compiling Cython file: 2021-07-09T03:20:39,348 ------------------------------------------------------------ 2021-07-09T03:20:39,348 ... 2021-07-09T03:20:39,348 }) 2021-07-09T03:20:39,348 IMAGE_FORMAT_MAP = ( 2021-07-09T03:20:39,349 (GL_RGBA8, (CL_RGBA, CL_UNORM_INT8)), 2021-07-09T03:20:39,349 ^ 2021-07-09T03:20:39,349 ------------------------------------------------------------ 2021-07-09T03:20:39,349 opencl/clgl.pyx:33:16: undeclared name not builtin: CL_RGBA 2021-07-09T03:20:39,349 Error compiling Cython file: 2021-07-09T03:20:39,349 ------------------------------------------------------------ 2021-07-09T03:20:39,350 ... 2021-07-09T03:20:39,350 }) 2021-07-09T03:20:39,350 IMAGE_FORMAT_MAP = ( 2021-07-09T03:20:39,350 (GL_RGBA8, (CL_RGBA, CL_UNORM_INT8)), 2021-07-09T03:20:39,350 ^ 2021-07-09T03:20:39,350 ------------------------------------------------------------ 2021-07-09T03:20:39,351 opencl/clgl.pyx:33:25: undeclared name not builtin: CL_UNORM_INT8 2021-07-09T03:20:39,351 Error compiling Cython file: 2021-07-09T03:20:39,351 ------------------------------------------------------------ 2021-07-09T03:20:39,351 ... 2021-07-09T03:20:39,351 IMAGE_FORMAT_MAP = ( 2021-07-09T03:20:39,352 (GL_RGBA8, (CL_RGBA, CL_UNORM_INT8)), 2021-07-09T03:20:39,352 (GL_RGBA8, (CL_BGRA, CL_UNORM_INT8)), 2021-07-09T03:20:39,352 ^ 2021-07-09T03:20:39,352 ------------------------------------------------------------ 2021-07-09T03:20:39,352 opencl/clgl.pyx:34:16: undeclared name not builtin: CL_BGRA 2021-07-09T03:20:39,352 Error compiling Cython file: 2021-07-09T03:20:39,352 ------------------------------------------------------------ 2021-07-09T03:20:39,352 ... 2021-07-09T03:20:39,353 (GL_RGBA8, (CL_RGBA, CL_UNORM_INT8)), 2021-07-09T03:20:39,353 (GL_RGBA8, (CL_BGRA, CL_UNORM_INT8)), 2021-07-09T03:20:39,353 (GL_RGBA, (CL_RGBA, CL_UNORM_INT8)), 2021-07-09T03:20:39,353 ^ 2021-07-09T03:20:39,353 ------------------------------------------------------------ 2021-07-09T03:20:39,353 opencl/clgl.pyx:36:5: undeclared name not builtin: GL_RGBA 2021-07-09T03:20:39,354 Error compiling Cython file: 2021-07-09T03:20:39,354 ------------------------------------------------------------ 2021-07-09T03:20:39,354 ... 2021-07-09T03:20:39,354 (GL_RGBA8, (CL_RGBA, CL_UNORM_INT8)), 2021-07-09T03:20:39,354 (GL_RGBA8, (CL_BGRA, CL_UNORM_INT8)), 2021-07-09T03:20:39,354 (GL_RGBA, (CL_RGBA, CL_UNORM_INT8)), 2021-07-09T03:20:39,364 (GL_BGRA, (CL_RGBA, CL_UNORM_INT8)), 2021-07-09T03:20:39,364 ^ 2021-07-09T03:20:39,364 ------------------------------------------------------------ 2021-07-09T03:20:39,365 opencl/clgl.pyx:38:5: undeclared name not builtin: GL_BGRA 2021-07-09T03:20:39,365 Error compiling Cython file: 2021-07-09T03:20:39,365 ------------------------------------------------------------ 2021-07-09T03:20:39,365 ... 2021-07-09T03:20:39,365 (GL_RGBA8, (CL_BGRA, CL_UNORM_INT8)), 2021-07-09T03:20:39,365 (GL_RGBA, (CL_RGBA, CL_UNORM_INT8)), 2021-07-09T03:20:39,366 (GL_BGRA, (CL_RGBA, CL_UNORM_INT8)), 2021-07-09T03:20:39,366 (GL_UNSIGNED_INT_8_8_8_8_REV, (CL_RGBA, CL_UNORM_INT8)), 2021-07-09T03:20:39,366 ^ 2021-07-09T03:20:39,366 ------------------------------------------------------------ 2021-07-09T03:20:39,366 opencl/clgl.pyx:39:5: undeclared name not builtin: GL_UNSIGNED_INT_8_8_8_8_REV 2021-07-09T03:20:39,367 Error compiling Cython file: 2021-07-09T03:20:39,367 ------------------------------------------------------------ 2021-07-09T03:20:39,367 ... 2021-07-09T03:20:39,367 (GL_RGBA, (CL_RGBA, CL_UNORM_INT8)), 2021-07-09T03:20:39,367 (GL_BGRA, (CL_RGBA, CL_UNORM_INT8)), 2021-07-09T03:20:39,367 (GL_UNSIGNED_INT_8_8_8_8_REV, (CL_RGBA, CL_UNORM_INT8)), 2021-07-09T03:20:39,367 (GL_RGBA16 , (CL_RGBA, CL_UNORM_INT16)), 2021-07-09T03:20:39,368 ^ 2021-07-09T03:20:39,368 ------------------------------------------------------------ 2021-07-09T03:20:39,368 opencl/clgl.pyx:41:5: undeclared name not builtin: GL_RGBA16 2021-07-09T03:20:39,368 Error compiling Cython file: 2021-07-09T03:20:39,368 ------------------------------------------------------------ 2021-07-09T03:20:39,368 ... 2021-07-09T03:20:39,368 (GL_RGBA, (CL_RGBA, CL_UNORM_INT8)), 2021-07-09T03:20:39,369 (GL_BGRA, (CL_RGBA, CL_UNORM_INT8)), 2021-07-09T03:20:39,369 (GL_UNSIGNED_INT_8_8_8_8_REV, (CL_RGBA, CL_UNORM_INT8)), 2021-07-09T03:20:39,369 (GL_RGBA16 , (CL_RGBA, CL_UNORM_INT16)), 2021-07-09T03:20:39,369 ^ 2021-07-09T03:20:39,369 ------------------------------------------------------------ 2021-07-09T03:20:39,370 opencl/clgl.pyx:41:27: undeclared name not builtin: CL_UNORM_INT16 2021-07-09T03:20:39,370 Error compiling Cython file: 2021-07-09T03:20:39,370 ------------------------------------------------------------ 2021-07-09T03:20:39,370 ... 2021-07-09T03:20:39,370 (GL_UNSIGNED_INT_8_8_8_8_REV, (CL_RGBA, CL_UNORM_INT8)), 2021-07-09T03:20:39,370 (GL_RGBA16 , (CL_RGBA, CL_UNORM_INT16)), 2021-07-09T03:20:39,371 # (GL_RGBA8I, (CL_RGBA, CL_SIGNED_INT8)), 2021-07-09T03:20:39,371 (GL_RGBA8I_EXT, (CL_RGBA, CL_SIGNED_INT8)), 2021-07-09T03:20:39,371 ^ 2021-07-09T03:20:39,371 ------------------------------------------------------------ 2021-07-09T03:20:39,371 opencl/clgl.pyx:44:5: undeclared name not builtin: GL_RGBA8I_EXT 2021-07-09T03:20:39,371 Error compiling Cython file: 2021-07-09T03:20:39,372 ------------------------------------------------------------ 2021-07-09T03:20:39,372 ... 2021-07-09T03:20:39,372 (GL_UNSIGNED_INT_8_8_8_8_REV, (CL_RGBA, CL_UNORM_INT8)), 2021-07-09T03:20:39,372 (GL_RGBA16 , (CL_RGBA, CL_UNORM_INT16)), 2021-07-09T03:20:39,372 # (GL_RGBA8I, (CL_RGBA, CL_SIGNED_INT8)), 2021-07-09T03:20:39,372 (GL_RGBA8I_EXT, (CL_RGBA, CL_SIGNED_INT8)), 2021-07-09T03:20:39,372 ^ 2021-07-09T03:20:39,373 ------------------------------------------------------------ 2021-07-09T03:20:39,373 opencl/clgl.pyx:44:30: undeclared name not builtin: CL_SIGNED_INT8 2021-07-09T03:20:39,373 Error compiling Cython file: 2021-07-09T03:20:39,373 ------------------------------------------------------------ 2021-07-09T03:20:39,373 ... 2021-07-09T03:20:39,374 # (GL_RGBA8I, (CL_RGBA, CL_SIGNED_INT8)), 2021-07-09T03:20:39,374 (GL_RGBA8I_EXT, (CL_RGBA, CL_SIGNED_INT8)), 2021-07-09T03:20:39,374 # (GL_RGBA16I, (CL_RGBA, CL_SIGNED_INT16)), 2021-07-09T03:20:39,374 (GL_RGBA16I_EXT, (CL_RGBA, CL_SIGNED_INT16)), 2021-07-09T03:20:39,374 ^ 2021-07-09T03:20:39,374 ------------------------------------------------------------ 2021-07-09T03:20:39,374 opencl/clgl.pyx:47:5: undeclared name not builtin: GL_RGBA16I_EXT 2021-07-09T03:20:39,375 Error compiling Cython file: 2021-07-09T03:20:39,375 ------------------------------------------------------------ 2021-07-09T03:20:39,375 ... 2021-07-09T03:20:39,375 # (GL_RGBA8I, (CL_RGBA, CL_SIGNED_INT8)), 2021-07-09T03:20:39,375 (GL_RGBA8I_EXT, (CL_RGBA, CL_SIGNED_INT8)), 2021-07-09T03:20:39,376 # (GL_RGBA16I, (CL_RGBA, CL_SIGNED_INT16)), 2021-07-09T03:20:39,376 (GL_RGBA16I_EXT, (CL_RGBA, CL_SIGNED_INT16)), 2021-07-09T03:20:39,376 ^ 2021-07-09T03:20:39,376 ------------------------------------------------------------ 2021-07-09T03:20:39,376 opencl/clgl.pyx:47:31: undeclared name not builtin: CL_SIGNED_INT16 2021-07-09T03:20:39,376 Error compiling Cython file: 2021-07-09T03:20:39,376 ------------------------------------------------------------ 2021-07-09T03:20:39,377 ... 2021-07-09T03:20:39,377 # (GL_RGBA16I, (CL_RGBA, CL_SIGNED_INT16)), 2021-07-09T03:20:39,377 (GL_RGBA16I_EXT, (CL_RGBA, CL_SIGNED_INT16)), 2021-07-09T03:20:39,377 # (GL_RGBA32I, (CL_RGBA, CL_SIGNED_INT32)), 2021-07-09T03:20:39,377 (GL_RGBA32I_EXT, (CL_RGBA, CL_SIGNED_INT32)), 2021-07-09T03:20:39,377 ^ 2021-07-09T03:20:39,377 ------------------------------------------------------------ 2021-07-09T03:20:39,378 opencl/clgl.pyx:50:5: undeclared name not builtin: GL_RGBA32I_EXT 2021-07-09T03:20:39,378 Error compiling Cython file: 2021-07-09T03:20:39,378 ------------------------------------------------------------ 2021-07-09T03:20:39,378 ... 2021-07-09T03:20:39,378 # (GL_RGBA16I, (CL_RGBA, CL_SIGNED_INT16)), 2021-07-09T03:20:39,378 (GL_RGBA16I_EXT, (CL_RGBA, CL_SIGNED_INT16)), 2021-07-09T03:20:39,379 # (GL_RGBA32I, (CL_RGBA, CL_SIGNED_INT32)), 2021-07-09T03:20:39,379 (GL_RGBA32I_EXT, (CL_RGBA, CL_SIGNED_INT32)), 2021-07-09T03:20:39,379 ^ 2021-07-09T03:20:39,379 ------------------------------------------------------------ 2021-07-09T03:20:39,379 opencl/clgl.pyx:50:31: undeclared name not builtin: CL_SIGNED_INT32 2021-07-09T03:20:39,379 Error compiling Cython file: 2021-07-09T03:20:39,380 ------------------------------------------------------------ 2021-07-09T03:20:39,380 ... 2021-07-09T03:20:39,380 # (GL_RGBA32I, (CL_RGBA, CL_SIGNED_INT32)), 2021-07-09T03:20:39,380 (GL_RGBA32I_EXT, (CL_RGBA, CL_SIGNED_INT32)), 2021-07-09T03:20:39,380 # (GL_RGBA8UI, (CL_RGBA, CL_UNSIGNED_INT8)), 2021-07-09T03:20:39,380 (GL_RGBA8UI_EXT, (CL_RGBA, CL_UNSIGNED_INT8)), 2021-07-09T03:20:39,380 ^ 2021-07-09T03:20:39,380 ------------------------------------------------------------ 2021-07-09T03:20:39,381 opencl/clgl.pyx:53:5: undeclared name not builtin: GL_RGBA8UI_EXT 2021-07-09T03:20:39,381 Error compiling Cython file: 2021-07-09T03:20:39,381 ------------------------------------------------------------ 2021-07-09T03:20:39,381 ... 2021-07-09T03:20:39,381 # (GL_RGBA32I, (CL_RGBA, CL_SIGNED_INT32)), 2021-07-09T03:20:39,382 (GL_RGBA32I_EXT, (CL_RGBA, CL_SIGNED_INT32)), 2021-07-09T03:20:39,382 # (GL_RGBA8UI, (CL_RGBA, CL_UNSIGNED_INT8)), 2021-07-09T03:20:39,382 (GL_RGBA8UI_EXT, (CL_RGBA, CL_UNSIGNED_INT8)), 2021-07-09T03:20:39,382 ^ 2021-07-09T03:20:39,382 ------------------------------------------------------------ 2021-07-09T03:20:39,382 opencl/clgl.pyx:53:31: undeclared name not builtin: CL_UNSIGNED_INT8 2021-07-09T03:20:39,383 Error compiling Cython file: 2021-07-09T03:20:39,383 ------------------------------------------------------------ 2021-07-09T03:20:39,383 ... 2021-07-09T03:20:39,383 # (GL_RGBA8UI, (CL_RGBA, CL_UNSIGNED_INT8)), 2021-07-09T03:20:39,383 (GL_RGBA8UI_EXT, (CL_RGBA, CL_UNSIGNED_INT8)), 2021-07-09T03:20:39,383 # (GL_RGBA16UI, (CL_RGBA, CL_UNSIGNED_INT16)), 2021-07-09T03:20:39,384 (GL_RGBA16UI_EXT, (CL_RGBA, CL_UNSIGNED_INT16)), 2021-07-09T03:20:39,384 ^ 2021-07-09T03:20:39,384 ------------------------------------------------------------ 2021-07-09T03:20:39,384 opencl/clgl.pyx:56:5: undeclared name not builtin: GL_RGBA16UI_EXT 2021-07-09T03:20:39,384 Error compiling Cython file: 2021-07-09T03:20:39,384 ------------------------------------------------------------ 2021-07-09T03:20:39,384 ... 2021-07-09T03:20:39,385 # (GL_RGBA8UI, (CL_RGBA, CL_UNSIGNED_INT8)), 2021-07-09T03:20:39,385 (GL_RGBA8UI_EXT, (CL_RGBA, CL_UNSIGNED_INT8)), 2021-07-09T03:20:39,385 # (GL_RGBA16UI, (CL_RGBA, CL_UNSIGNED_INT16)), 2021-07-09T03:20:39,385 (GL_RGBA16UI_EXT, (CL_RGBA, CL_UNSIGNED_INT16)), 2021-07-09T03:20:39,385 ^ 2021-07-09T03:20:39,386 ------------------------------------------------------------ 2021-07-09T03:20:39,386 opencl/clgl.pyx:56:32: undeclared name not builtin: CL_UNSIGNED_INT16 2021-07-09T03:20:39,386 Error compiling Cython file: 2021-07-09T03:20:39,386 ------------------------------------------------------------ 2021-07-09T03:20:39,386 ... 2021-07-09T03:20:39,386 # (GL_RGBA16UI, (CL_RGBA, CL_UNSIGNED_INT16)), 2021-07-09T03:20:39,387 (GL_RGBA16UI_EXT, (CL_RGBA, CL_UNSIGNED_INT16)), 2021-07-09T03:20:39,387 # (GL_RGBA32UI, (CL_RGBA, CL_UNSIGNED_INT32)), 2021-07-09T03:20:39,387 (GL_RGBA32UI_EXT, (CL_RGBA, CL_UNSIGNED_INT32)), 2021-07-09T03:20:39,387 ^ 2021-07-09T03:20:39,387 ------------------------------------------------------------ 2021-07-09T03:20:39,387 opencl/clgl.pyx:59:5: undeclared name not builtin: GL_RGBA32UI_EXT 2021-07-09T03:20:39,388 Error compiling Cython file: 2021-07-09T03:20:39,388 ------------------------------------------------------------ 2021-07-09T03:20:39,388 ... 2021-07-09T03:20:39,388 # (GL_RGBA16UI, (CL_RGBA, CL_UNSIGNED_INT16)), 2021-07-09T03:20:39,388 (GL_RGBA16UI_EXT, (CL_RGBA, CL_UNSIGNED_INT16)), 2021-07-09T03:20:39,388 # (GL_RGBA32UI, (CL_RGBA, CL_UNSIGNED_INT32)), 2021-07-09T03:20:39,389 (GL_RGBA32UI_EXT, (CL_RGBA, CL_UNSIGNED_INT32)), 2021-07-09T03:20:39,389 ^ 2021-07-09T03:20:39,389 ------------------------------------------------------------ 2021-07-09T03:20:39,389 opencl/clgl.pyx:59:32: undeclared name not builtin: CL_UNSIGNED_INT32 2021-07-09T03:20:39,389 Error compiling Cython file: 2021-07-09T03:20:39,389 ------------------------------------------------------------ 2021-07-09T03:20:39,389 ... 2021-07-09T03:20:39,390 # (GL_RGBA32UI, (CL_RGBA, CL_UNSIGNED_INT32)), 2021-07-09T03:20:39,390 (GL_RGBA32UI_EXT, (CL_RGBA, CL_UNSIGNED_INT32)), 2021-07-09T03:20:39,390 # (GL_RGBA16F, (CL_RGBA, CL_HALF_FLOAT)), 2021-07-09T03:20:39,390 (GL_RGBA16F_ARB, (CL_RGBA, CL_HALF_FLOAT)), 2021-07-09T03:20:39,390 ^ 2021-07-09T03:20:39,390 ------------------------------------------------------------ 2021-07-09T03:20:39,391 opencl/clgl.pyx:62:5: undeclared name not builtin: GL_RGBA16F_ARB 2021-07-09T03:20:39,391 Error compiling Cython file: 2021-07-09T03:20:39,391 ------------------------------------------------------------ 2021-07-09T03:20:39,391 ... 2021-07-09T03:20:39,391 # (GL_RGBA32UI, (CL_RGBA, CL_UNSIGNED_INT32)), 2021-07-09T03:20:39,391 (GL_RGBA32UI_EXT, (CL_RGBA, CL_UNSIGNED_INT32)), 2021-07-09T03:20:39,392 # (GL_RGBA16F, (CL_RGBA, CL_HALF_FLOAT)), 2021-07-09T03:20:39,392 (GL_RGBA16F_ARB, (CL_RGBA, CL_HALF_FLOAT)), 2021-07-09T03:20:39,392 ^ 2021-07-09T03:20:39,392 ------------------------------------------------------------ 2021-07-09T03:20:39,392 opencl/clgl.pyx:62:31: undeclared name not builtin: CL_HALF_FLOAT 2021-07-09T03:20:39,392 Error compiling Cython file: 2021-07-09T03:20:39,393 ------------------------------------------------------------ 2021-07-09T03:20:39,393 ... 2021-07-09T03:20:39,393 # (GL_RGBA16F, (CL_RGBA, CL_HALF_FLOAT)), 2021-07-09T03:20:39,393 (GL_RGBA16F_ARB, (CL_RGBA, CL_HALF_FLOAT)), 2021-07-09T03:20:39,393 # (GL_RGBA32F, (CL_RGBA, CL_FLOAT)), 2021-07-09T03:20:39,393 (GL_RGBA32F_ARB, (CL_RGBA, CL_FLOAT)), 2021-07-09T03:20:39,393 ^ 2021-07-09T03:20:39,394 ------------------------------------------------------------ 2021-07-09T03:20:39,394 opencl/clgl.pyx:65:5: undeclared name not builtin: GL_RGBA32F_ARB 2021-07-09T03:20:39,394 Error compiling Cython file: 2021-07-09T03:20:39,394 ------------------------------------------------------------ 2021-07-09T03:20:39,394 ... 2021-07-09T03:20:39,394 # (GL_RGBA16F, (CL_RGBA, CL_HALF_FLOAT)), 2021-07-09T03:20:39,395 (GL_RGBA16F_ARB, (CL_RGBA, CL_HALF_FLOAT)), 2021-07-09T03:20:39,395 # (GL_RGBA32F, (CL_RGBA, CL_FLOAT)), 2021-07-09T03:20:39,395 (GL_RGBA32F_ARB, (CL_RGBA, CL_FLOAT)), 2021-07-09T03:20:39,395 ^ 2021-07-09T03:20:39,395 ------------------------------------------------------------ 2021-07-09T03:20:39,395 opencl/clgl.pyx:65:31: undeclared name not builtin: CL_FLOAT 2021-07-09T03:20:39,395 Error compiling Cython file: 2021-07-09T03:20:39,396 ------------------------------------------------------------ 2021-07-09T03:20:39,396 ... 2021-07-09T03:20:39,396 for gl_format, (channel_order, channel_data_type) in IMAGE_FORMAT_MAP: 2021-07-09T03:20:39,396 if gl_format == match: 2021-07-09T03:20:39,396 image_format.image_channel_order = channel_order 2021-07-09T03:20:39,396 image_format.image_channel_data_type = channel_data_type 2021-07-09T03:20:39,396 return CyImageFormat_New(image_format) 2021-07-09T03:20:39,396 ^ 2021-07-09T03:20:39,397 ------------------------------------------------------------ 2021-07-09T03:20:39,397 opencl/clgl.pyx:89:19: 'CyImageFormat_New' is not a constant, variable or function identifier 2021-07-09T03:20:39,397 Error compiling Cython file: 2021-07-09T03:20:39,397 ------------------------------------------------------------ 2021-07-09T03:20:39,397 ... 2021-07-09T03:20:39,397 raise Exception("opencl does not support opeGL format %r" % (gl_format)) 2021-07-09T03:20:39,398 def get_current_opengl_context(): 2021-07-09T03:20:39,398 return < size_t > CGLGetCurrentContext() 2021-07-09T03:20:39,398 ^ 2021-07-09T03:20:39,398 ------------------------------------------------------------ 2021-07-09T03:20:39,398 opencl/clgl.pyx:95:22: undeclared name not builtin: CGLGetCurrentContext 2021-07-09T03:20:39,399 Error compiling Cython file: 2021-07-09T03:20:39,399 ------------------------------------------------------------ 2021-07-09T03:20:39,399 ... 2021-07-09T03:20:39,399 def get_current_opengl_context(): 2021-07-09T03:20:39,399 return < size_t > CGLGetCurrentContext() 2021-07-09T03:20:39,399 def get_current_opengl_sharegroup(): 2021-07-09T03:20:39,400 return < size_t > CGLGetShareGroup(< void *> CGLGetCurrentContext()) 2021-07-09T03:20:39,400 ^ 2021-07-09T03:20:39,400 ------------------------------------------------------------ 2021-07-09T03:20:39,400 opencl/clgl.pyx:98:22: undeclared name not builtin: CGLGetShareGroup 2021-07-09T03:20:39,400 Error compiling Cython file: 2021-07-09T03:20:39,400 ------------------------------------------------------------ 2021-07-09T03:20:39,400 ... 2021-07-09T03:20:39,401 def get_current_opengl_context(): 2021-07-09T03:20:39,401 return < size_t > CGLGetCurrentContext() 2021-07-09T03:20:39,401 def get_current_opengl_sharegroup(): 2021-07-09T03:20:39,401 return < size_t > CGLGetShareGroup(< void *> CGLGetCurrentContext()) 2021-07-09T03:20:39,401 ^ 2021-07-09T03:20:39,401 ------------------------------------------------------------ 2021-07-09T03:20:39,402 opencl/clgl.pyx:98:39: Casting temporary Python object to non-numeric non-Python type 2021-07-09T03:20:39,402 Error compiling Cython file: 2021-07-09T03:20:39,402 ------------------------------------------------------------ 2021-07-09T03:20:39,402 ... 2021-07-09T03:20:39,402 def get_current_opengl_context(): 2021-07-09T03:20:39,402 return < size_t > CGLGetCurrentContext() 2021-07-09T03:20:39,403 def get_current_opengl_sharegroup(): 2021-07-09T03:20:39,403 return < size_t > CGLGetShareGroup(< void *> CGLGetCurrentContext()) 2021-07-09T03:20:39,403 ^ 2021-07-09T03:20:39,403 ------------------------------------------------------------ 2021-07-09T03:20:39,403 opencl/clgl.pyx:98:39: Cannot convert 'void *' to Python object 2021-07-09T03:20:39,403 Error compiling Cython file: 2021-07-09T03:20:39,404 ------------------------------------------------------------ 2021-07-09T03:20:39,404 ... 2021-07-09T03:20:39,404 cdef size_t shgrp = < size_t > get_current_opengl_sharegroup() 2021-07-09T03:20:39,404 if shgrp == 0: 2021-07-09T03:20:39,404 raise Exception("function `get_current_opengl_sharegroup` returned NULL. Did you create an openGL context yet?") 2021-07-09T03:20:39,404 context_properties.set_property("gl_sharegroup", < size_t > CL_CONTEXT_PROPERTY_USE_CGL_SHAREGROUP_APPLE, shgrp) 2021-07-09T03:20:39,404 ^ 2021-07-09T03:20:39,405 ------------------------------------------------------------ 2021-07-09T03:20:39,405 opencl/clgl.pyx:106:64: undeclared name not builtin: CL_CONTEXT_PROPERTY_USE_CGL_SHAREGROUP_APPLE 2021-07-09T03:20:39,405 Error compiling Cython file: 2021-07-09T03:20:39,405 ------------------------------------------------------------ 2021-07-09T03:20:39,405 ... 2021-07-09T03:20:39,405 ''' 2021-07-09T03:20:39,406 is_gl_object(memobject) -> bool 2021-07-09T03:20:39,406 Check if `memobject` was created from an oengl buffer. 2021-07-09T03:20:39,406 ''' 2021-07-09T03:20:39,406 if not CyMemoryObject_Check(memobject): 2021-07-09T03:20:39,406 ^ 2021-07-09T03:20:39,406 ------------------------------------------------------------ 2021-07-09T03:20:39,406 opencl/clgl.pyx:114:11: 'CyMemoryObject_Check' is not a constant, variable or function identifier 2021-07-09T03:20:39,407 Error compiling Cython file: 2021-07-09T03:20:39,407 ------------------------------------------------------------ 2021-07-09T03:20:39,407 ... 2021-07-09T03:20:39,407 ''' 2021-07-09T03:20:39,407 if not CyMemoryObject_Check(memobject): 2021-07-09T03:20:39,407 raise TypeError("argument must be of type 'cl.MemoryObject'") 2021-07-09T03:20:39,407 cdef cl_int err_code = 0 2021-07-09T03:20:39,407 cdef cl_mem memobj = CyMemoryObject_GetID(memobject) 2021-07-09T03:20:39,408 ^ 2021-07-09T03:20:39,408 ------------------------------------------------------------ 2021-07-09T03:20:39,408 opencl/clgl.pyx:118:25: 'CyMemoryObject_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:39,408 Error compiling Cython file: 2021-07-09T03:20:39,408 ------------------------------------------------------------ 2021-07-09T03:20:39,408 ... 2021-07-09T03:20:39,409 if not CyMemoryObject_Check(memobject): 2021-07-09T03:20:39,409 raise TypeError("argument must be of type 'cl.MemoryObject'") 2021-07-09T03:20:39,409 cdef cl_int err_code = 0 2021-07-09T03:20:39,409 cdef cl_mem memobj = CyMemoryObject_GetID(memobject) 2021-07-09T03:20:39,409 err_code = clGetGLObjectInfo(memobj, NULL, NULL) 2021-07-09T03:20:39,409 ^ 2021-07-09T03:20:39,409 ------------------------------------------------------------ 2021-07-09T03:20:39,410 opencl/clgl.pyx:119:15: undeclared name not builtin: clGetGLObjectInfo 2021-07-09T03:20:39,410 Error compiling Cython file: 2021-07-09T03:20:39,410 ------------------------------------------------------------ 2021-07-09T03:20:39,410 ... 2021-07-09T03:20:39,410 if not CyMemoryObject_Check(memobject): 2021-07-09T03:20:39,410 raise TypeError("argument must be of type 'cl.MemoryObject'") 2021-07-09T03:20:39,410 cdef cl_int err_code = 0 2021-07-09T03:20:39,411 cdef cl_mem memobj = CyMemoryObject_GetID(memobject) 2021-07-09T03:20:39,411 err_code = clGetGLObjectInfo(memobj, NULL, NULL) 2021-07-09T03:20:39,411 ^ 2021-07-09T03:20:39,411 ------------------------------------------------------------ 2021-07-09T03:20:39,411 opencl/clgl.pyx:119:41: Cannot convert 'void *' to Python object 2021-07-09T03:20:39,411 Error compiling Cython file: 2021-07-09T03:20:39,412 ------------------------------------------------------------ 2021-07-09T03:20:39,412 ... 2021-07-09T03:20:39,412 if not CyMemoryObject_Check(memobject): 2021-07-09T03:20:39,412 raise TypeError("argument must be of type 'cl.MemoryObject'") 2021-07-09T03:20:39,412 cdef cl_int err_code = 0 2021-07-09T03:20:39,412 cdef cl_mem memobj = CyMemoryObject_GetID(memobject) 2021-07-09T03:20:39,412 err_code = clGetGLObjectInfo(memobj, NULL, NULL) 2021-07-09T03:20:39,412 ^ 2021-07-09T03:20:39,413 ------------------------------------------------------------ 2021-07-09T03:20:39,413 opencl/clgl.pyx:119:47: Cannot convert 'void *' to Python object 2021-07-09T03:20:39,413 Error compiling Cython file: 2021-07-09T03:20:39,413 ------------------------------------------------------------ 2021-07-09T03:20:39,413 ... 2021-07-09T03:20:39,413 cdef cl_mem memobj = CyMemoryObject_GetID(memobject) 2021-07-09T03:20:39,414 err_code = clGetGLObjectInfo(memobj, NULL, NULL) 2021-07-09T03:20:39,414 if err_code == CL_INVALID_GL_OBJECT: 2021-07-09T03:20:39,414 return False 2021-07-09T03:20:39,414 elif err_code != CL_SUCCESS: 2021-07-09T03:20:39,414 ^ 2021-07-09T03:20:39,414 ------------------------------------------------------------ 2021-07-09T03:20:39,415 opencl/clgl.pyx:123:21: undeclared name not builtin: CL_SUCCESS 2021-07-09T03:20:39,415 Error compiling Cython file: 2021-07-09T03:20:39,415 ------------------------------------------------------------ 2021-07-09T03:20:39,415 ... 2021-07-09T03:20:39,415 ''' 2021-07-09T03:20:39,415 get_gl_name(memobject) -> GLuint 2021-07-09T03:20:39,416 Get the vertex or texture buffer `memobject` was created with. 2021-07-09T03:20:39,416 ''' 2021-07-09T03:20:39,416 if not CyMemoryObject_Check(memobject): 2021-07-09T03:20:39,416 ^ 2021-07-09T03:20:39,416 ------------------------------------------------------------ 2021-07-09T03:20:39,416 opencl/clgl.pyx:134:11: 'CyMemoryObject_Check' is not a constant, variable or function identifier 2021-07-09T03:20:39,417 Error compiling Cython file: 2021-07-09T03:20:39,417 ------------------------------------------------------------ 2021-07-09T03:20:39,417 ... 2021-07-09T03:20:39,417 if not CyMemoryObject_Check(memobject): 2021-07-09T03:20:39,417 raise TypeError("argument must be of type 'cl.MemoryObject'") 2021-07-09T03:20:39,417 cdef GLuint gl_object_name = 0 2021-07-09T03:20:39,417 cdef cl_int err_code = 0 2021-07-09T03:20:39,417 cdef cl_mem memobj = CyMemoryObject_GetID(memobject) 2021-07-09T03:20:39,418 ^ 2021-07-09T03:20:39,418 ------------------------------------------------------------ 2021-07-09T03:20:39,418 opencl/clgl.pyx:139:25: 'CyMemoryObject_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:39,418 Error compiling Cython file: 2021-07-09T03:20:39,418 ------------------------------------------------------------ 2021-07-09T03:20:39,418 ... 2021-07-09T03:20:39,418 raise TypeError("argument must be of type 'cl.MemoryObject'") 2021-07-09T03:20:39,419 cdef GLuint gl_object_name = 0 2021-07-09T03:20:39,419 cdef cl_int err_code = 0 2021-07-09T03:20:39,419 cdef cl_mem memobj = CyMemoryObject_GetID(memobject) 2021-07-09T03:20:39,419 err_code = clGetGLObjectInfo(memobj, NULL, & gl_object_name) 2021-07-09T03:20:39,419 ^ 2021-07-09T03:20:39,419 ------------------------------------------------------------ 2021-07-09T03:20:39,420 opencl/clgl.pyx:140:41: Cannot convert 'void *' to Python object 2021-07-09T03:20:39,420 Error compiling Cython file: 2021-07-09T03:20:39,420 ------------------------------------------------------------ 2021-07-09T03:20:39,420 ... 2021-07-09T03:20:39,420 Create an opencl image that is also a openGL texture. 2021-07-09T03:20:39,420 ''' 2021-07-09T03:20:39,420 if len(shape) not in [2, 3]: 2021-07-09T03:20:39,420 raise TypeError("image must be 2 or 3 dimentional (got %i)" % (len(shape),)) 2021-07-09T03:20:39,421 if not CyContext_Check(context): 2021-07-09T03:20:39,421 ^ 2021-07-09T03:20:39,421 ------------------------------------------------------------ 2021-07-09T03:20:39,421 opencl/clgl.pyx:156:11: 'CyContext_Check' is not a constant, variable or function identifier 2021-07-09T03:20:39,421 Error compiling Cython file: 2021-07-09T03:20:39,421 ------------------------------------------------------------ 2021-07-09T03:20:39,422 ... 2021-07-09T03:20:39,422 raise TypeError("image must be 2 or 3 dimentional (got %i)" % (len(shape),)) 2021-07-09T03:20:39,422 if not CyContext_Check(context): 2021-07-09T03:20:39,422 raise TypeError("argument context must be an opencl.Context object") 2021-07-09T03:20:39,422 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:39,422 ^ 2021-07-09T03:20:39,422 ------------------------------------------------------------ 2021-07-09T03:20:39,423 opencl/clgl.pyx:159:26: 'CyContext_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:39,423 Error compiling Cython file: 2021-07-09T03:20:39,423 ------------------------------------------------------------ 2021-07-09T03:20:39,423 ... 2021-07-09T03:20:39,423 if not CyContext_Check(context): 2021-07-09T03:20:39,423 raise TypeError("argument context must be an opencl.Context object") 2021-07-09T03:20:39,423 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:39,424 cdef cl_mem_flags flags = CL_MEM_READ_WRITE 2021-07-09T03:20:39,424 ^ 2021-07-09T03:20:39,424 ------------------------------------------------------------ 2021-07-09T03:20:39,424 opencl/clgl.pyx:161:30: undeclared name not builtin: CL_MEM_READ_WRITE 2021-07-09T03:20:39,424 Error compiling Cython file: 2021-07-09T03:20:39,424 ------------------------------------------------------------ 2021-07-09T03:20:39,425 ... 2021-07-09T03:20:39,425 cdef GLuint texture 2021-07-09T03:20:39,425 cdef cl_int width = shape[0] 2021-07-09T03:20:39,425 cdef cl_int height = shape[1] 2021-07-09T03:20:39,425 cdef cl_int depth = 1 2021-07-09T03:20:39,425 cdef GLenum format_e = GL_RGBA 2021-07-09T03:20:39,425 cdef GLenum type_e = GL_UNSIGNED_BYTE 2021-07-09T03:20:39,425 ^ 2021-07-09T03:20:39,425 ------------------------------------------------------------ 2021-07-09T03:20:39,426 opencl/clgl.pyx:173:25: undeclared name not builtin: GL_UNSIGNED_BYTE 2021-07-09T03:20:39,426 Error compiling Cython file: 2021-07-09T03:20:39,426 ------------------------------------------------------------ 2021-07-09T03:20:39,426 ... 2021-07-09T03:20:39,426 cdef GLenum format_e = GL_RGBA 2021-07-09T03:20:39,426 cdef GLenum type_e = GL_UNSIGNED_BYTE 2021-07-09T03:20:39,426 cdef cl_mem image 2021-07-09T03:20:39,427 if len(shape) == 2: 2021-07-09T03:20:39,427 glEnable(GL_TEXTURE_2D) 2021-07-09T03:20:39,427 ^ 2021-07-09T03:20:39,427 ------------------------------------------------------------ 2021-07-09T03:20:39,427 opencl/clgl.pyx:177:8: undeclared name not builtin: glEnable 2021-07-09T03:20:39,427 Error compiling Cython file: 2021-07-09T03:20:39,428 ------------------------------------------------------------ 2021-07-09T03:20:39,428 ... 2021-07-09T03:20:39,428 cdef GLenum format_e = GL_RGBA 2021-07-09T03:20:39,428 cdef GLenum type_e = GL_UNSIGNED_BYTE 2021-07-09T03:20:39,428 cdef cl_mem image 2021-07-09T03:20:39,428 if len(shape) == 2: 2021-07-09T03:20:39,428 glEnable(GL_TEXTURE_2D) 2021-07-09T03:20:39,428 ^ 2021-07-09T03:20:39,428 ------------------------------------------------------------ 2021-07-09T03:20:39,429 opencl/clgl.pyx:177:17: undeclared name not builtin: GL_TEXTURE_2D 2021-07-09T03:20:39,429 Error compiling Cython file: 2021-07-09T03:20:39,429 ------------------------------------------------------------ 2021-07-09T03:20:39,429 ... 2021-07-09T03:20:39,429 cdef GLenum type_e = GL_UNSIGNED_BYTE 2021-07-09T03:20:39,429 cdef cl_mem image 2021-07-09T03:20:39,430 if len(shape) == 2: 2021-07-09T03:20:39,430 glEnable(GL_TEXTURE_2D) 2021-07-09T03:20:39,430 glGenTextures(1, & texture) 2021-07-09T03:20:39,430 ^ 2021-07-09T03:20:39,430 ------------------------------------------------------------ 2021-07-09T03:20:39,430 opencl/clgl.pyx:178:8: undeclared name not builtin: glGenTextures 2021-07-09T03:20:39,430 Error compiling Cython file: 2021-07-09T03:20:39,431 ------------------------------------------------------------ 2021-07-09T03:20:39,431 ... 2021-07-09T03:20:39,431 cdef cl_mem image 2021-07-09T03:20:39,431 if len(shape) == 2: 2021-07-09T03:20:39,431 glEnable(GL_TEXTURE_2D) 2021-07-09T03:20:39,431 glGenTextures(1, & texture) 2021-07-09T03:20:39,431 glBindTexture(GL_TEXTURE_2D, texture) 2021-07-09T03:20:39,431 ^ 2021-07-09T03:20:39,432 ------------------------------------------------------------ 2021-07-09T03:20:39,432 opencl/clgl.pyx:179:8: undeclared name not builtin: glBindTexture 2021-07-09T03:20:39,432 Error compiling Cython file: 2021-07-09T03:20:39,432 ------------------------------------------------------------ 2021-07-09T03:20:39,432 ... 2021-07-09T03:20:39,432 if len(shape) == 2: 2021-07-09T03:20:39,432 glEnable(GL_TEXTURE_2D) 2021-07-09T03:20:39,433 glGenTextures(1, & texture) 2021-07-09T03:20:39,433 glBindTexture(GL_TEXTURE_2D, texture) 2021-07-09T03:20:39,433 glTexImage2D(GL_TEXTURE_2D, 0, 4, width, height, 0, format_e, type_e, NULL) 2021-07-09T03:20:39,433 ^ 2021-07-09T03:20:39,433 ------------------------------------------------------------ 2021-07-09T03:20:39,433 opencl/clgl.pyx:180:8: undeclared name not builtin: glTexImage2D 2021-07-09T03:20:39,433 Error compiling Cython file: 2021-07-09T03:20:39,434 ------------------------------------------------------------ 2021-07-09T03:20:39,434 ... 2021-07-09T03:20:39,434 if len(shape) == 2: 2021-07-09T03:20:39,434 glEnable(GL_TEXTURE_2D) 2021-07-09T03:20:39,434 glGenTextures(1, & texture) 2021-07-09T03:20:39,434 glBindTexture(GL_TEXTURE_2D, texture) 2021-07-09T03:20:39,434 glTexImage2D(GL_TEXTURE_2D, 0, 4, width, height, 0, format_e, type_e, NULL) 2021-07-09T03:20:39,434 ^ 2021-07-09T03:20:39,435 ------------------------------------------------------------ 2021-07-09T03:20:39,435 opencl/clgl.pyx:180:78: Cannot convert 'void *' to Python object 2021-07-09T03:20:39,435 Error compiling Cython file: 2021-07-09T03:20:39,435 ------------------------------------------------------------ 2021-07-09T03:20:39,435 ... 2021-07-09T03:20:39,435 glGenTextures(1, & texture) 2021-07-09T03:20:39,435 glBindTexture(GL_TEXTURE_2D, texture) 2021-07-09T03:20:39,436 glTexImage2D(GL_TEXTURE_2D, 0, 4, width, height, 0, format_e, type_e, NULL) 2021-07-09T03:20:39,436 glBindTexture(GL_TEXTURE_2D, 0) 2021-07-09T03:20:39,436 image = clCreateFromGLTexture2D(ctx, flags, GL_TEXTURE_2D, miplevel, texture, & err_code) 2021-07-09T03:20:39,436 ^ 2021-07-09T03:20:39,436 ------------------------------------------------------------ 2021-07-09T03:20:39,436 opencl/clgl.pyx:183:16: undeclared name not builtin: clCreateFromGLTexture2D 2021-07-09T03:20:39,437 Error compiling Cython file: 2021-07-09T03:20:39,437 ------------------------------------------------------------ 2021-07-09T03:20:39,437 ... 2021-07-09T03:20:39,437 image = clCreateFromGLTexture2D(ctx, flags, GL_TEXTURE_2D, miplevel, texture, & err_code) 2021-07-09T03:20:39,437 else : # len(shape) == 3 2021-07-09T03:20:39,437 depth = shape[2] 2021-07-09T03:20:39,437 glEnable(GL_TEXTURE_3D) 2021-07-09T03:20:39,438 ^ 2021-07-09T03:20:39,438 ------------------------------------------------------------ 2021-07-09T03:20:39,438 opencl/clgl.pyx:187:17: undeclared name not builtin: GL_TEXTURE_3D 2021-07-09T03:20:39,438 Error compiling Cython file: 2021-07-09T03:20:39,438 ------------------------------------------------------------ 2021-07-09T03:20:39,438 ... 2021-07-09T03:20:39,438 else : # len(shape) == 3 2021-07-09T03:20:39,438 depth = shape[2] 2021-07-09T03:20:39,439 glEnable(GL_TEXTURE_3D) 2021-07-09T03:20:39,439 glGenTextures(1, & texture) 2021-07-09T03:20:39,439 glBindTexture(GL_TEXTURE_3D, texture) 2021-07-09T03:20:39,439 glTexImage3D(GL_TEXTURE_3D, 0, 4, width, height, depth, 0, format_e, type_e, NULL) 2021-07-09T03:20:39,439 ^ 2021-07-09T03:20:39,439 ------------------------------------------------------------ 2021-07-09T03:20:39,439 opencl/clgl.pyx:190:8: undeclared name not builtin: glTexImage3D 2021-07-09T03:20:39,440 Error compiling Cython file: 2021-07-09T03:20:39,440 ------------------------------------------------------------ 2021-07-09T03:20:39,440 ... 2021-07-09T03:20:39,440 else : # len(shape) == 3 2021-07-09T03:20:39,440 depth = shape[2] 2021-07-09T03:20:39,440 glEnable(GL_TEXTURE_3D) 2021-07-09T03:20:39,440 glGenTextures(1, & texture) 2021-07-09T03:20:39,440 glBindTexture(GL_TEXTURE_3D, texture) 2021-07-09T03:20:39,441 glTexImage3D(GL_TEXTURE_3D, 0, 4, width, height, depth, 0, format_e, type_e, NULL) 2021-07-09T03:20:39,441 ^ 2021-07-09T03:20:39,441 ------------------------------------------------------------ 2021-07-09T03:20:39,441 opencl/clgl.pyx:190:85: Cannot convert 'void *' to Python object 2021-07-09T03:20:39,441 Error compiling Cython file: 2021-07-09T03:20:39,441 ------------------------------------------------------------ 2021-07-09T03:20:39,441 ... 2021-07-09T03:20:39,442 glGenTextures(1, & texture) 2021-07-09T03:20:39,442 glBindTexture(GL_TEXTURE_3D, texture) 2021-07-09T03:20:39,442 glTexImage3D(GL_TEXTURE_3D, 0, 4, width, height, depth, 0, format_e, type_e, NULL) 2021-07-09T03:20:39,442 glBindTexture(GL_TEXTURE_3D, 0) 2021-07-09T03:20:39,442 image = clCreateFromGLTexture3D(ctx, flags, GL_TEXTURE_3D, miplevel, texture, & err_code) 2021-07-09T03:20:39,442 ^ 2021-07-09T03:20:39,442 ------------------------------------------------------------ 2021-07-09T03:20:39,442 opencl/clgl.pyx:193:16: undeclared name not builtin: clCreateFromGLTexture3D 2021-07-09T03:20:39,443 Error compiling Cython file: 2021-07-09T03:20:39,443 ------------------------------------------------------------ 2021-07-09T03:20:39,443 ... 2021-07-09T03:20:39,443 image = clCreateFromGLTexture3D(ctx, flags, GL_TEXTURE_3D, miplevel, texture, & err_code) 2021-07-09T03:20:39,443 if err_code != CL_SUCCESS: 2021-07-09T03:20:39,443 raise OpenCLException(err_code) 2021-07-09T03:20:39,444 cdef gl_err = glGetError() 2021-07-09T03:20:39,444 ^ 2021-07-09T03:20:39,444 ------------------------------------------------------------ 2021-07-09T03:20:39,444 opencl/clgl.pyx:198:18: undeclared name not builtin: glGetError 2021-07-09T03:20:39,444 Error compiling Cython file: 2021-07-09T03:20:39,444 ------------------------------------------------------------ 2021-07-09T03:20:39,444 ... 2021-07-09T03:20:39,445 if err_code != CL_SUCCESS: 2021-07-09T03:20:39,445 raise OpenCLException(err_code) 2021-07-09T03:20:39,445 cdef gl_err = glGetError() 2021-07-09T03:20:39,445 if gl_err != GL_NO_ERROR: 2021-07-09T03:20:39,445 ^ 2021-07-09T03:20:39,445 ------------------------------------------------------------ 2021-07-09T03:20:39,446 opencl/clgl.pyx:199:17: undeclared name not builtin: GL_NO_ERROR 2021-07-09T03:20:39,446 Error compiling Cython file: 2021-07-09T03:20:39,446 ------------------------------------------------------------ 2021-07-09T03:20:39,446 ... 2021-07-09T03:20:39,446 cdef gl_err = glGetError() 2021-07-09T03:20:39,446 if gl_err != GL_NO_ERROR: 2021-07-09T03:20:39,446 raise Exception((gl_err, "OpenGL error")) 2021-07-09T03:20:39,447 return CyImage_New(image) 2021-07-09T03:20:39,447 ^ 2021-07-09T03:20:39,447 ------------------------------------------------------------ 2021-07-09T03:20:39,447 opencl/clgl.pyx:202:11: 'CyImage_New' is not a constant, variable or function identifier 2021-07-09T03:20:39,447 Error compiling Cython file: 2021-07-09T03:20:39,448 ------------------------------------------------------------ 2021-07-09T03:20:39,448 ... 2021-07-09T03:20:39,448 ''' 2021-07-09T03:20:39,448 empty_gl(context, shape, ctype='B', gl_buffer=None) -> cl.DeviceMemoryView 2021-07-09T03:20:39,448 Create an openCL buffer that is also an openGL buffer 2021-07-09T03:20:39,448 ''' 2021-07-09T03:20:39,448 if not CyContext_Check(context): 2021-07-09T03:20:39,448 ^ 2021-07-09T03:20:39,449 ------------------------------------------------------------ 2021-07-09T03:20:39,449 opencl/clgl.pyx:210:11: 'CyContext_Check' is not a constant, variable or function identifier 2021-07-09T03:20:39,449 Error compiling Cython file: 2021-07-09T03:20:39,449 ------------------------------------------------------------ 2021-07-09T03:20:39,449 ... 2021-07-09T03:20:39,449 Create an openCL buffer that is also an openGL buffer 2021-07-09T03:20:39,449 ''' 2021-07-09T03:20:39,449 if not CyContext_Check(context): 2021-07-09T03:20:39,450 raise TypeError("argument context must be an opencl.Context object") 2021-07-09T03:20:39,450 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:39,450 ^ 2021-07-09T03:20:39,450 ------------------------------------------------------------ 2021-07-09T03:20:39,450 opencl/clgl.pyx:213:26: 'CyContext_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:39,450 Error compiling Cython file: 2021-07-09T03:20:39,451 ------------------------------------------------------------ 2021-07-09T03:20:39,451 ... 2021-07-09T03:20:39,451 cdef GLuint vbo = 0 2021-07-09T03:20:39,451 cdef GLsizeiptr nbytes = 0 2021-07-09T03:20:39,451 if gl_buffer is None: 2021-07-09T03:20:39,451 glGenBuffers(1, & vbo) 2021-07-09T03:20:39,451 ^ 2021-07-09T03:20:39,452 ------------------------------------------------------------ 2021-07-09T03:20:39,452 opencl/clgl.pyx:241:8: undeclared name not builtin: glGenBuffers 2021-07-09T03:20:39,452 Error compiling Cython file: 2021-07-09T03:20:39,452 ------------------------------------------------------------ 2021-07-09T03:20:39,452 ... 2021-07-09T03:20:39,452 cdef GLuint vbo = 0 2021-07-09T03:20:39,452 cdef GLsizeiptr nbytes = 0 2021-07-09T03:20:39,453 if gl_buffer is None: 2021-07-09T03:20:39,453 glGenBuffers(1, & vbo) 2021-07-09T03:20:39,453 glBindBuffer(GL_ARRAY_BUFFER, vbo) 2021-07-09T03:20:39,453 ^ 2021-07-09T03:20:39,453 ------------------------------------------------------------ 2021-07-09T03:20:39,453 opencl/clgl.pyx:242:8: undeclared name not builtin: glBindBuffer 2021-07-09T03:20:39,453 Error compiling Cython file: 2021-07-09T03:20:39,454 ------------------------------------------------------------ 2021-07-09T03:20:39,454 ... 2021-07-09T03:20:39,454 cdef GLuint vbo = 0 2021-07-09T03:20:39,454 cdef GLsizeiptr nbytes = 0 2021-07-09T03:20:39,454 if gl_buffer is None: 2021-07-09T03:20:39,454 glGenBuffers(1, & vbo) 2021-07-09T03:20:39,454 glBindBuffer(GL_ARRAY_BUFFER, vbo) 2021-07-09T03:20:39,454 ^ 2021-07-09T03:20:39,455 ------------------------------------------------------------ 2021-07-09T03:20:39,455 opencl/clgl.pyx:242:21: undeclared name not builtin: GL_ARRAY_BUFFER 2021-07-09T03:20:39,455 Error compiling Cython file: 2021-07-09T03:20:39,455 ------------------------------------------------------------ 2021-07-09T03:20:39,455 ... 2021-07-09T03:20:39,455 nbytes = buffer.itemsize 2021-07-09T03:20:39,456 for i in shape: 2021-07-09T03:20:39,456 nbytes *= i 2021-07-09T03:20:39,456 glBufferData(GL_ARRAY_BUFFER, nbytes, NULL, GL_STATIC_DRAW) 2021-07-09T03:20:39,456 ^ 2021-07-09T03:20:39,456 ------------------------------------------------------------ 2021-07-09T03:20:39,456 opencl/clgl.pyx:249:8: undeclared name not builtin: glBufferData 2021-07-09T03:20:39,457 Error compiling Cython file: 2021-07-09T03:20:39,457 ------------------------------------------------------------ 2021-07-09T03:20:39,457 ... 2021-07-09T03:20:39,457 nbytes = buffer.itemsize 2021-07-09T03:20:39,457 for i in shape: 2021-07-09T03:20:39,457 nbytes *= i 2021-07-09T03:20:39,457 glBufferData(GL_ARRAY_BUFFER, nbytes, NULL, GL_STATIC_DRAW) 2021-07-09T03:20:39,458 ^ 2021-07-09T03:20:39,458 ------------------------------------------------------------ 2021-07-09T03:20:39,458 opencl/clgl.pyx:249:52: undeclared name not builtin: GL_STATIC_DRAW 2021-07-09T03:20:39,458 Error compiling Cython file: 2021-07-09T03:20:39,458 ------------------------------------------------------------ 2021-07-09T03:20:39,458 ... 2021-07-09T03:20:39,458 nbytes = buffer.itemsize 2021-07-09T03:20:39,459 for i in shape: 2021-07-09T03:20:39,459 nbytes *= i 2021-07-09T03:20:39,459 glBufferData(GL_ARRAY_BUFFER, nbytes, NULL, GL_STATIC_DRAW) 2021-07-09T03:20:39,459 ^ 2021-07-09T03:20:39,459 ------------------------------------------------------------ 2021-07-09T03:20:39,459 opencl/clgl.pyx:249:46: Cannot convert 'void *' to Python object 2021-07-09T03:20:39,460 Error compiling Cython file: 2021-07-09T03:20:39,460 ------------------------------------------------------------ 2021-07-09T03:20:39,460 ... 2021-07-09T03:20:39,460 glBufferData(GL_ARRAY_BUFFER, nbytes, NULL, GL_STATIC_DRAW) 2021-07-09T03:20:39,460 if glGetError() != GL_NO_ERROR: 2021-07-09T03:20:39,460 raise Exception("OpenGL error") 2021-07-09T03:20:39,460 else: 2021-07-09T03:20:39,460 vbo = < GLuint > gl_buffer 2021-07-09T03:20:39,461 ^ 2021-07-09T03:20:39,461 ------------------------------------------------------------ 2021-07-09T03:20:39,461 opencl/clgl.pyx:254:16: 'GLuint' is not a type identifier 2021-07-09T03:20:39,461 Error compiling Cython file: 2021-07-09T03:20:39,461 ------------------------------------------------------------ 2021-07-09T03:20:39,461 ... 2021-07-09T03:20:39,461 if glGetError() != GL_NO_ERROR: 2021-07-09T03:20:39,462 raise Exception("OpenGL error") 2021-07-09T03:20:39,462 else: 2021-07-09T03:20:39,462 vbo = < GLuint > gl_buffer 2021-07-09T03:20:39,462 cdef cl_mem buffer_id = clCreateFromGLBuffer(ctx, flags, vbo, & err_code) 2021-07-09T03:20:39,462 ^ 2021-07-09T03:20:39,462 ------------------------------------------------------------ 2021-07-09T03:20:39,462 opencl/clgl.pyx:256:28: undeclared name not builtin: clCreateFromGLBuffer 2021-07-09T03:20:39,463 Error compiling Cython file: 2021-07-09T03:20:39,463 ------------------------------------------------------------ 2021-07-09T03:20:39,463 ... 2021-07-09T03:20:39,463 buffer.shape[i] = shape[i] 2021-07-09T03:20:39,463 buffer.suboffsets[i] = 0 2021-07-09T03:20:39,463 PyBuffer_FillContiguousStrides(buffer.ndim, buffer.shape, buffer.strides, buffer.itemsize, 'C') 2021-07-09T03:20:39,464 return CyView_Create(buffer_id, buffer, ctype, 0) 2021-07-09T03:20:39,464 ^ 2021-07-09T03:20:39,464 ------------------------------------------------------------ 2021-07-09T03:20:39,464 opencl/clgl.pyx:277:11: 'CyView_Create' is not a constant, variable or function identifier 2021-07-09T03:20:39,464 Error compiling Cython file: 2021-07-09T03:20:39,464 ------------------------------------------------------------ 2021-07-09T03:20:39,465 ... 2021-07-09T03:20:39,465 buffer.shape[i] = shape[i] 2021-07-09T03:20:39,465 buffer.suboffsets[i] = 0 2021-07-09T03:20:39,465 PyBuffer_FillContiguousStrides(buffer.ndim, buffer.shape, buffer.strides, buffer.itemsize, 'C') 2021-07-09T03:20:39,465 return CyView_Create(buffer_id, buffer, ctype, 0) 2021-07-09T03:20:39,465 ^ 2021-07-09T03:20:39,465 ------------------------------------------------------------ 2021-07-09T03:20:39,466 opencl/clgl.pyx:277:36: Cannot convert 'Py_buffer *' to Python object 2021-07-09T03:20:39,466 Error compiling Cython file: 2021-07-09T03:20:39,466 ------------------------------------------------------------ 2021-07-09T03:20:39,466 ... 2021-07-09T03:20:39,466 enqueue_release_gl_objects(self.queue, *self.mem_objects) 2021-07-09T03:20:39,466 def enqueue_acquire_gl_objects(queue, *mem_objects, wait_on=()): 2021-07-09T03:20:39,467 if not CyQueue_Check(queue): 2021-07-09T03:20:39,467 ^ 2021-07-09T03:20:39,467 ------------------------------------------------------------ 2021-07-09T03:20:39,467 opencl/clgl.pyx:295:11: 'CyQueue_Check' is not a constant, variable or function identifier 2021-07-09T03:20:39,467 Error compiling Cython file: 2021-07-09T03:20:39,467 ------------------------------------------------------------ 2021-07-09T03:20:39,468 ... 2021-07-09T03:20:39,468 raise TypeError("argument 'queue' is required to be a valid cl.Queue object") 2021-07-09T03:20:39,468 cdef cl_int err_code 2021-07-09T03:20:39,468 cdef cl_event * event_wait_list 2021-07-09T03:20:39,468 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:39,468 ^ 2021-07-09T03:20:39,469 ------------------------------------------------------------ 2021-07-09T03:20:39,469 opencl/clgl.pyx:301:43: '_make_wait_list' is not a constant, variable or function identifier 2021-07-09T03:20:39,469 Error compiling Cython file: 2021-07-09T03:20:39,469 ------------------------------------------------------------ 2021-07-09T03:20:39,469 ... 2021-07-09T03:20:39,469 cdef cl_int err_code 2021-07-09T03:20:39,469 cdef cl_event * event_wait_list 2021-07-09T03:20:39,470 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:39,470 if event_wait_list == < cl_event *> 1: 2021-07-09T03:20:39,470 ^ 2021-07-09T03:20:39,470 ------------------------------------------------------------ 2021-07-09T03:20:39,470 opencl/clgl.pyx:303:28: 'cl_event' is not a type identifier 2021-07-09T03:20:39,470 Error compiling Cython file: 2021-07-09T03:20:39,471 ------------------------------------------------------------ 2021-07-09T03:20:39,471 ... 2021-07-09T03:20:39,471 mem_objects = mem_objects[0] 2021-07-09T03:20:39,471 cdef cl_uint num_objects = 0 2021-07-09T03:20:39,471 cdef cl_mem * mem_object_ids = NULL 2021-07-09T03:20:39,471 cdef cl_event event_id 2021-07-09T03:20:39,471 cdef cl_command_queue command_queue = CyQueue_GetID(queue) 2021-07-09T03:20:39,471 ^ 2021-07-09T03:20:39,472 ------------------------------------------------------------ 2021-07-09T03:20:39,472 opencl/clgl.pyx:313:42: 'CyQueue_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:39,472 Error compiling Cython file: 2021-07-09T03:20:39,472 ------------------------------------------------------------ 2021-07-09T03:20:39,472 ... 2021-07-09T03:20:39,472 num_objects = len(mem_objects) 2021-07-09T03:20:39,473 if num_objects == 0: 2021-07-09T03:20:39,473 return None 2021-07-09T03:20:39,473 mem_object_ids = < cl_mem *> malloc(sizeof(cl_mem) * num_objects) 2021-07-09T03:20:39,473 ^ 2021-07-09T03:20:39,473 ------------------------------------------------------------ 2021-07-09T03:20:39,473 opencl/clgl.pyx:321:23: 'cl_mem' is not a type identifier 2021-07-09T03:20:39,473 Error compiling Cython file: 2021-07-09T03:20:39,474 ------------------------------------------------------------ 2021-07-09T03:20:39,474 ... 2021-07-09T03:20:39,474 num_objects = len(mem_objects) 2021-07-09T03:20:39,474 if num_objects == 0: 2021-07-09T03:20:39,474 return None 2021-07-09T03:20:39,474 mem_object_ids = < cl_mem *> malloc(sizeof(cl_mem) * num_objects) 2021-07-09T03:20:39,474 ^ 2021-07-09T03:20:39,475 ------------------------------------------------------------ 2021-07-09T03:20:39,475 opencl/clgl.pyx:321:53: undeclared name not builtin: cl_mem 2021-07-09T03:20:39,475 Error compiling Cython file: 2021-07-09T03:20:39,475 ------------------------------------------------------------ 2021-07-09T03:20:39,475 ... 2021-07-09T03:20:39,475 if num_objects == 0: 2021-07-09T03:20:39,475 return None 2021-07-09T03:20:39,476 mem_object_ids = < cl_mem *> malloc(sizeof(cl_mem) * num_objects) 2021-07-09T03:20:39,476 for i in range(num_objects): 2021-07-09T03:20:39,476 if not CyMemoryObject_Check(mem_objects[i]): 2021-07-09T03:20:39,476 ^ 2021-07-09T03:20:39,476 ------------------------------------------------------------ 2021-07-09T03:20:39,476 opencl/clgl.pyx:323:15: 'CyMemoryObject_Check' is not a constant, variable or function identifier 2021-07-09T03:20:39,477 Error compiling Cython file: 2021-07-09T03:20:39,477 ------------------------------------------------------------ 2021-07-09T03:20:39,477 ... 2021-07-09T03:20:39,477 for i in range(num_objects): 2021-07-09T03:20:39,477 if not CyMemoryObject_Check(mem_objects[i]): 2021-07-09T03:20:39,477 free(mem_object_ids) 2021-07-09T03:20:39,477 raise TypeError("argument mem_objects got an invalid MemoryObject (got %r)" % type(mem_objects[i])) 2021-07-09T03:20:39,477 mem_object_ids[i] = CyMemoryObject_GetID(mem_objects[i]) 2021-07-09T03:20:39,478 ^ 2021-07-09T03:20:39,478 ------------------------------------------------------------ 2021-07-09T03:20:39,478 opencl/clgl.pyx:327:28: 'CyMemoryObject_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:39,478 Error compiling Cython file: 2021-07-09T03:20:39,478 ------------------------------------------------------------ 2021-07-09T03:20:39,478 ... 2021-07-09T03:20:39,478 free(mem_object_ids) 2021-07-09T03:20:39,479 raise TypeError("argument mem_objects got an invalid MemoryObject (got %r)" % type(mem_objects[i])) 2021-07-09T03:20:39,479 mem_object_ids[i] = CyMemoryObject_GetID(mem_objects[i]) 2021-07-09T03:20:39,479 err_code = clEnqueueAcquireGLObjects(command_queue, num_objects, mem_object_ids, 2021-07-09T03:20:39,479 ^ 2021-07-09T03:20:39,479 ------------------------------------------------------------ 2021-07-09T03:20:39,479 opencl/clgl.pyx:329:15: undeclared name not builtin: clEnqueueAcquireGLObjects 2021-07-09T03:20:39,480 Error compiling Cython file: 2021-07-09T03:20:39,480 ------------------------------------------------------------ 2021-07-09T03:20:39,480 ... 2021-07-09T03:20:39,480 free(mem_object_ids) 2021-07-09T03:20:39,480 if err_code != CL_SUCCESS: 2021-07-09T03:20:39,480 raise OpenCLException(err_code) 2021-07-09T03:20:39,481 return PyEvent_New(event_id) 2021-07-09T03:20:39,481 ^ 2021-07-09T03:20:39,481 ------------------------------------------------------------ 2021-07-09T03:20:39,481 opencl/clgl.pyx:337:11: 'PyEvent_New' is not a constant, variable or function identifier 2021-07-09T03:20:39,481 Error compiling Cython file: 2021-07-09T03:20:39,481 ------------------------------------------------------------ 2021-07-09T03:20:39,481 ... 2021-07-09T03:20:39,482 return PyEvent_New(event_id) 2021-07-09T03:20:39,482 def enqueue_release_gl_objects(queue, *mem_objects, wait_on=()): 2021-07-09T03:20:39,482 if not CyQueue_Check(queue): 2021-07-09T03:20:39,482 ^ 2021-07-09T03:20:39,482 ------------------------------------------------------------ 2021-07-09T03:20:39,482 opencl/clgl.pyx:341:11: 'CyQueue_Check' is not a constant, variable or function identifier 2021-07-09T03:20:39,483 Error compiling Cython file: 2021-07-09T03:20:39,483 ------------------------------------------------------------ 2021-07-09T03:20:39,483 ... 2021-07-09T03:20:39,483 raise TypeError("argument 'queue' is required to be a valid cl.Queue object") 2021-07-09T03:20:39,483 cdef cl_int err_code 2021-07-09T03:20:39,483 cdef cl_event * event_wait_list 2021-07-09T03:20:39,484 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:39,484 ^ 2021-07-09T03:20:39,484 ------------------------------------------------------------ 2021-07-09T03:20:39,484 opencl/clgl.pyx:347:43: '_make_wait_list' is not a constant, variable or function identifier 2021-07-09T03:20:39,484 Error compiling Cython file: 2021-07-09T03:20:39,484 ------------------------------------------------------------ 2021-07-09T03:20:39,484 ... 2021-07-09T03:20:39,485 cdef cl_int err_code 2021-07-09T03:20:39,485 cdef cl_event * event_wait_list 2021-07-09T03:20:39,485 cdef cl_uint num_events_in_wait_list = _make_wait_list(wait_on, & event_wait_list) 2021-07-09T03:20:39,485 if event_wait_list == < cl_event *> 1: 2021-07-09T03:20:39,485 ^ 2021-07-09T03:20:39,485 ------------------------------------------------------------ 2021-07-09T03:20:39,486 opencl/clgl.pyx:349:28: 'cl_event' is not a type identifier 2021-07-09T03:20:39,486 Error compiling Cython file: 2021-07-09T03:20:39,486 ------------------------------------------------------------ 2021-07-09T03:20:39,486 ... 2021-07-09T03:20:39,486 mem_objects = mem_objects[0] 2021-07-09T03:20:39,486 cdef cl_uint num_objects = 0 2021-07-09T03:20:39,486 cdef cl_mem * mem_object_ids = NULL 2021-07-09T03:20:39,487 cdef cl_event event_id 2021-07-09T03:20:39,487 cdef cl_command_queue command_queue = CyQueue_GetID(queue) 2021-07-09T03:20:39,487 ^ 2021-07-09T03:20:39,487 ------------------------------------------------------------ 2021-07-09T03:20:39,487 opencl/clgl.pyx:359:42: 'CyQueue_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:39,487 Error compiling Cython file: 2021-07-09T03:20:39,487 ------------------------------------------------------------ 2021-07-09T03:20:39,488 ... 2021-07-09T03:20:39,488 num_objects = len(mem_objects) 2021-07-09T03:20:39,488 if num_objects == 0: 2021-07-09T03:20:39,488 return None 2021-07-09T03:20:39,488 mem_object_ids = < cl_mem *> malloc(sizeof(cl_mem) * num_objects) 2021-07-09T03:20:39,488 ^ 2021-07-09T03:20:39,488 ------------------------------------------------------------ 2021-07-09T03:20:39,489 opencl/clgl.pyx:367:23: 'cl_mem' is not a type identifier 2021-07-09T03:20:39,489 Error compiling Cython file: 2021-07-09T03:20:39,489 ------------------------------------------------------------ 2021-07-09T03:20:39,489 ... 2021-07-09T03:20:39,489 if num_objects == 0: 2021-07-09T03:20:39,489 return None 2021-07-09T03:20:39,489 mem_object_ids = < cl_mem *> malloc(sizeof(cl_mem) * num_objects) 2021-07-09T03:20:39,490 for i in range(num_objects): 2021-07-09T03:20:39,490 if not CyMemoryObject_Check(mem_objects[i]): 2021-07-09T03:20:39,490 ^ 2021-07-09T03:20:39,490 ------------------------------------------------------------ 2021-07-09T03:20:39,490 opencl/clgl.pyx:369:15: 'CyMemoryObject_Check' is not a constant, variable or function identifier 2021-07-09T03:20:39,490 Error compiling Cython file: 2021-07-09T03:20:39,490 ------------------------------------------------------------ 2021-07-09T03:20:39,491 ... 2021-07-09T03:20:39,491 for i in range(num_objects): 2021-07-09T03:20:39,491 if not CyMemoryObject_Check(mem_objects[i]): 2021-07-09T03:20:39,491 free(mem_object_ids) 2021-07-09T03:20:39,491 raise TypeError("argument mem_objects got an invalid MemoryObject (got %r)" % type(mem_objects[i])) 2021-07-09T03:20:39,491 mem_object_ids[i] = CyMemoryObject_GetID(mem_objects[i]) 2021-07-09T03:20:39,491 ^ 2021-07-09T03:20:39,491 ------------------------------------------------------------ 2021-07-09T03:20:39,492 opencl/clgl.pyx:373:28: 'CyMemoryObject_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:39,492 Error compiling Cython file: 2021-07-09T03:20:39,492 ------------------------------------------------------------ 2021-07-09T03:20:39,492 ... 2021-07-09T03:20:39,492 free(mem_object_ids) 2021-07-09T03:20:39,492 raise TypeError("argument mem_objects got an invalid MemoryObject (got %r)" % type(mem_objects[i])) 2021-07-09T03:20:39,493 mem_object_ids[i] = CyMemoryObject_GetID(mem_objects[i]) 2021-07-09T03:20:39,493 err_code = clEnqueueReleaseGLObjects(command_queue, num_objects, mem_object_ids, 2021-07-09T03:20:39,493 ^ 2021-07-09T03:20:39,493 ------------------------------------------------------------ 2021-07-09T03:20:39,493 opencl/clgl.pyx:375:15: undeclared name not builtin: clEnqueueReleaseGLObjects 2021-07-09T03:20:39,493 Error compiling Cython file: 2021-07-09T03:20:39,494 ------------------------------------------------------------ 2021-07-09T03:20:39,494 ... 2021-07-09T03:20:39,494 free(mem_object_ids) 2021-07-09T03:20:39,494 if err_code != CL_SUCCESS: 2021-07-09T03:20:39,494 raise OpenCLException(err_code) 2021-07-09T03:20:39,494 return PyEvent_New(event_id) 2021-07-09T03:20:39,495 ^ 2021-07-09T03:20:39,495 ------------------------------------------------------------ 2021-07-09T03:20:39,495 opencl/clgl.pyx:383:11: 'PyEvent_New' is not a constant, variable or function identifier 2021-07-09T03:20:39,580 cythoning opencl/event.pyx to opencl/event.c 2021-07-09T03:20:39,585 /usr/local/lib/python3.9/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-6gt1nq2h/opencl-for-python_c1a6ab231b0f46fe81e2d5c22234fd72/opencl/event.pyx 2021-07-09T03:20:39,585 tree = Parsing.p_module(s, pxd, full_module_name) 2021-07-09T03:20:39,861 Error compiling Cython file: 2021-07-09T03:20:39,861 ------------------------------------------------------------ 2021-07-09T03:20:39,861 ... 2021-07-09T03:20:39,862 from opencl.type_formats import refrence, ctype_from_format, type_format, cdefn 2021-07-09T03:20:39,862 from opencl.errors import OpenCLException, BuildError 2021-07-09T03:20:39,862 from libc.stdlib cimport malloc, free 2021-07-09T03:20:39,862 from libc.stdio cimport printf 2021-07-09T03:20:39,862 from _cl cimport * 2021-07-09T03:20:39,862 ^ 2021-07-09T03:20:39,862 ------------------------------------------------------------ 2021-07-09T03:20:39,863 opencl/event.pyx:12:0: '_cl.pxd' not found 2021-07-09T03:20:41,329 Error compiling Cython file: 2021-07-09T03:20:41,329 ------------------------------------------------------------ 2021-07-09T03:20:41,329 ... 2021-07-09T03:20:41,329 from libc.stdio cimport printf 2021-07-09T03:20:41,329 from _cl cimport * 2021-07-09T03:20:41,329 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:41,330 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:41,330 from opencl.context cimport CyContext_GetID, CyContext_Create, CyContext_Check 2021-07-09T03:20:41,330 ^ 2021-07-09T03:20:41,330 ------------------------------------------------------------ 2021-07-09T03:20:41,330 opencl/event.pyx:16:0: 'opencl/context.pxd' not found 2021-07-09T03:20:41,331 Error compiling Cython file: 2021-07-09T03:20:41,331 ------------------------------------------------------------ 2021-07-09T03:20:41,331 ... 2021-07-09T03:20:41,331 from libc.stdio cimport printf 2021-07-09T03:20:41,331 from _cl cimport * 2021-07-09T03:20:41,331 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:41,331 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:41,331 from opencl.context cimport CyContext_GetID, CyContext_Create, CyContext_Check 2021-07-09T03:20:41,332 ^ 2021-07-09T03:20:41,332 ------------------------------------------------------------ 2021-07-09T03:20:41,332 opencl/event.pyx:16:0: 'opencl/context/CyContext_GetID.pxd' not found 2021-07-09T03:20:41,332 Error compiling Cython file: 2021-07-09T03:20:41,332 ------------------------------------------------------------ 2021-07-09T03:20:41,333 ... 2021-07-09T03:20:41,333 from libc.stdio cimport printf 2021-07-09T03:20:41,333 from _cl cimport * 2021-07-09T03:20:41,333 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:41,333 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:41,333 from opencl.context cimport CyContext_GetID, CyContext_Create, CyContext_Check 2021-07-09T03:20:41,333 ^ 2021-07-09T03:20:41,333 ------------------------------------------------------------ 2021-07-09T03:20:41,334 opencl/event.pyx:16:0: 'opencl/context/CyContext_Create.pxd' not found 2021-07-09T03:20:41,334 Error compiling Cython file: 2021-07-09T03:20:41,334 ------------------------------------------------------------ 2021-07-09T03:20:41,334 ... 2021-07-09T03:20:41,334 from libc.stdio cimport printf 2021-07-09T03:20:41,334 from _cl cimport * 2021-07-09T03:20:41,335 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:41,335 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:41,335 from opencl.context cimport CyContext_GetID, CyContext_Create, CyContext_Check 2021-07-09T03:20:41,335 ^ 2021-07-09T03:20:41,335 ------------------------------------------------------------ 2021-07-09T03:20:41,335 opencl/event.pyx:16:0: 'opencl/context/CyContext_Check.pxd' not found 2021-07-09T03:20:41,336 Error compiling Cython file: 2021-07-09T03:20:41,336 ------------------------------------------------------------ 2021-07-09T03:20:41,336 ... 2021-07-09T03:20:41,336 cdef extern from "Python.h": 2021-07-09T03:20:41,336 void PyEval_InitThreads() 2021-07-09T03:20:41,337 cdef void pfn_event_notify(cl_event event, cl_int event_command_exec_status, void * data) with gil: 2021-07-09T03:20:41,337 ^ 2021-07-09T03:20:41,337 ------------------------------------------------------------ 2021-07-09T03:20:41,337 opencl/event.pyx:22:27: 'cl_event' is not a type identifier 2021-07-09T03:20:41,337 Error compiling Cython file: 2021-07-09T03:20:41,338 ------------------------------------------------------------ 2021-07-09T03:20:41,338 ... 2021-07-09T03:20:41,338 cdef extern from "Python.h": 2021-07-09T03:20:41,338 void PyEval_InitThreads() 2021-07-09T03:20:41,338 cdef void pfn_event_notify(cl_event event, cl_int event_command_exec_status, void * data) with gil: 2021-07-09T03:20:41,338 ^ 2021-07-09T03:20:41,339 ------------------------------------------------------------ 2021-07-09T03:20:41,339 opencl/event.pyx:22:43: 'cl_int' is not a type identifier 2021-07-09T03:20:41,339 Error compiling Cython file: 2021-07-09T03:20:41,339 ------------------------------------------------------------ 2021-07-09T03:20:41,339 ... 2021-07-09T03:20:41,339 RUNNING = CL_RUNNING 2021-07-09T03:20:41,339 COMPLETE = CL_COMPLETE 2021-07-09T03:20:41,340 STATUS_DICT = { CL_QUEUED: 'queued', CL_SUBMITTED:'submitted', CL_RUNNING: 'running', CL_COMPLETE:'complete'} 2021-07-09T03:20:41,340 cdef cl_event event_id 2021-07-09T03:20:41,340 ^ 2021-07-09T03:20:41,340 ------------------------------------------------------------ 2021-07-09T03:20:41,340 opencl/event.pyx:50:9: 'cl_event' is not a type identifier 2021-07-09T03:20:41,341 Error compiling Cython file: 2021-07-09T03:20:41,341 ------------------------------------------------------------ 2021-07-09T03:20:41,341 ... 2021-07-09T03:20:41,341 #=============================================================================== 2021-07-09T03:20:41,341 # 2021-07-09T03:20:41,341 #=============================================================================== 2021-07-09T03:20:41,342 cdef api object cl_eventAs_PyEvent(cl_event event_id): 2021-07-09T03:20:41,342 ^ 2021-07-09T03:20:41,342 ------------------------------------------------------------ 2021-07-09T03:20:41,342 opencl/event.pyx:141:35: 'cl_event' is not a type identifier 2021-07-09T03:20:41,342 Error compiling Cython file: 2021-07-09T03:20:41,342 ------------------------------------------------------------ 2021-07-09T03:20:41,342 ... 2021-07-09T03:20:41,343 cdef Event event = < Event > Event.__new__(Event) 2021-07-09T03:20:41,343 clRetainEvent(event_id) 2021-07-09T03:20:41,343 event.event_id = event_id 2021-07-09T03:20:41,343 return event 2021-07-09T03:20:41,343 cdef api cl_event cl_eventFrom_PyEvent(object event): 2021-07-09T03:20:41,343 ^ 2021-07-09T03:20:41,343 ------------------------------------------------------------ 2021-07-09T03:20:41,344 opencl/event.pyx:147:9: 'cl_event' is not a type identifier 2021-07-09T03:20:41,344 Error compiling Cython file: 2021-07-09T03:20:41,344 ------------------------------------------------------------ 2021-07-09T03:20:41,344 ... 2021-07-09T03:20:41,344 return event 2021-07-09T03:20:41,344 cdef api cl_event cl_eventFrom_PyEvent(object event): 2021-07-09T03:20:41,345 return (< Event > event).event_id 2021-07-09T03:20:41,345 cdef api object PyEvent_New(cl_event event_id): 2021-07-09T03:20:41,345 ^ 2021-07-09T03:20:41,345 ------------------------------------------------------------ 2021-07-09T03:20:41,345 opencl/event.pyx:150:28: 'cl_event' is not a type identifier 2021-07-09T03:20:41,345 Error compiling Cython file: 2021-07-09T03:20:41,346 ------------------------------------------------------------ 2021-07-09T03:20:41,346 ... 2021-07-09T03:20:41,346 Waits on the host thread for commands identified by event objects in event_list to complete. 2021-07-09T03:20:41,346 A command is considered complete if its execution status is CL_COMPLETE or a negative value. 2021-07-09T03:20:41,346 ''' 2021-07-09T03:20:41,346 cdef cl_int err_code 2021-07-09T03:20:41,346 ^ 2021-07-09T03:20:41,347 ------------------------------------------------------------ 2021-07-09T03:20:41,347 opencl/event.pyx:72:13: 'cl_int' is not a type identifier 2021-07-09T03:20:41,347 Error compiling Cython file: 2021-07-09T03:20:41,347 ------------------------------------------------------------ 2021-07-09T03:20:41,347 ... 2021-07-09T03:20:41,347 property status: 2021-07-09T03:20:41,348 ''' 2021-07-09T03:20:41,348 the current status of the event. 2021-07-09T03:20:41,348 ''' 2021-07-09T03:20:41,348 def __get__(self): 2021-07-09T03:20:41,348 cdef cl_int err_code 2021-07-09T03:20:41,348 ^ 2021-07-09T03:20:41,348 ------------------------------------------------------------ 2021-07-09T03:20:41,348 opencl/event.pyx:85:17: 'cl_int' is not a type identifier 2021-07-09T03:20:41,349 Error compiling Cython file: 2021-07-09T03:20:41,349 ------------------------------------------------------------ 2021-07-09T03:20:41,349 ... 2021-07-09T03:20:41,349 ''' 2021-07-09T03:20:41,349 the current status of the event. 2021-07-09T03:20:41,349 ''' 2021-07-09T03:20:41,349 def __get__(self): 2021-07-09T03:20:41,349 cdef cl_int err_code 2021-07-09T03:20:41,350 cdef cl_int status 2021-07-09T03:20:41,350 ^ 2021-07-09T03:20:41,350 ------------------------------------------------------------ 2021-07-09T03:20:41,350 opencl/event.pyx:86:17: 'cl_int' is not a type identifier 2021-07-09T03:20:41,350 Error compiling Cython file: 2021-07-09T03:20:41,350 ------------------------------------------------------------ 2021-07-09T03:20:41,350 ... 2021-07-09T03:20:41,351 event.add_callback(callback) 2021-07-09T03:20:41,351 Registers a user callback function for on completion of the event. 2021-07-09T03:20:41,351 :param callback: must be of the signature callback(event, status) 2021-07-09T03:20:41,351 ''' 2021-07-09T03:20:41,351 cdef cl_int err_code 2021-07-09T03:20:41,351 ^ 2021-07-09T03:20:41,351 ------------------------------------------------------------ 2021-07-09T03:20:41,352 opencl/event.pyx:102:13: 'cl_int' is not a type identifier 2021-07-09T03:20:41,352 Error compiling Cython file: 2021-07-09T03:20:41,352 ------------------------------------------------------------ 2021-07-09T03:20:41,352 ... 2021-07-09T03:20:41,352 Creates a user event object. User events allow applications to enqueue commands that wait on a 2021-07-09T03:20:41,352 user event to finish before the command is executed by the device. 2021-07-09T03:20:41,352 ''' 2021-07-09T03:20:41,353 def __cinit__(self, context): 2021-07-09T03:20:41,353 cdef cl_int err_code 2021-07-09T03:20:41,353 ^ 2021-07-09T03:20:41,353 ------------------------------------------------------------ 2021-07-09T03:20:41,353 opencl/event.pyx:118:13: 'cl_int' is not a type identifier 2021-07-09T03:20:41,353 Error compiling Cython file: 2021-07-09T03:20:41,354 ------------------------------------------------------------ 2021-07-09T03:20:41,354 ... 2021-07-09T03:20:41,354 ''' 2021-07-09T03:20:41,354 def __cinit__(self, context): 2021-07-09T03:20:41,354 cdef cl_int err_code 2021-07-09T03:20:41,354 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:41,354 ^ 2021-07-09T03:20:41,355 ------------------------------------------------------------ 2021-07-09T03:20:41,355 opencl/event.pyx:120:13: 'cl_context' is not a type identifier 2021-07-09T03:20:41,355 Error compiling Cython file: 2021-07-09T03:20:41,355 ------------------------------------------------------------ 2021-07-09T03:20:41,355 ... 2021-07-09T03:20:41,356 def complete(self): 2021-07-09T03:20:41,356 ''' 2021-07-09T03:20:41,356 Set this event status to complete. 2021-07-09T03:20:41,356 ''' 2021-07-09T03:20:41,356 cdef cl_int err_code 2021-07-09T03:20:41,356 ^ 2021-07-09T03:20:41,356 ------------------------------------------------------------ 2021-07-09T03:20:41,356 opencl/event.pyx:130:13: 'cl_int' is not a type identifier 2021-07-09T03:20:41,401 Error compiling Cython file: 2021-07-09T03:20:41,401 ------------------------------------------------------------ 2021-07-09T03:20:41,401 ... 2021-07-09T03:20:41,401 ''' 2021-07-09T03:20:41,402 An event object can be used to track the execution status of a command. The API calls that 2021-07-09T03:20:41,402 enqueue commands to a command-queue create a new event object that is returned in the event 2021-07-09T03:20:41,402 argument. 2021-07-09T03:20:41,402 ''' 2021-07-09T03:20:41,402 QUEUED = CL_QUEUED 2021-07-09T03:20:41,402 ^ 2021-07-09T03:20:41,402 ------------------------------------------------------------ 2021-07-09T03:20:41,403 opencl/event.pyx:43:13: undeclared name not builtin: CL_QUEUED 2021-07-09T03:20:41,403 Error compiling Cython file: 2021-07-09T03:20:41,403 ------------------------------------------------------------ 2021-07-09T03:20:41,403 ... 2021-07-09T03:20:41,403 An event object can be used to track the execution status of a command. The API calls that 2021-07-09T03:20:41,403 enqueue commands to a command-queue create a new event object that is returned in the event 2021-07-09T03:20:41,403 argument. 2021-07-09T03:20:41,404 ''' 2021-07-09T03:20:41,404 QUEUED = CL_QUEUED 2021-07-09T03:20:41,404 SUBMITTED = CL_SUBMITTED 2021-07-09T03:20:41,404 ^ 2021-07-09T03:20:41,404 ------------------------------------------------------------ 2021-07-09T03:20:41,404 opencl/event.pyx:44:16: undeclared name not builtin: CL_SUBMITTED 2021-07-09T03:20:41,404 Error compiling Cython file: 2021-07-09T03:20:41,405 ------------------------------------------------------------ 2021-07-09T03:20:41,405 ... 2021-07-09T03:20:41,405 enqueue commands to a command-queue create a new event object that is returned in the event 2021-07-09T03:20:41,405 argument. 2021-07-09T03:20:41,405 ''' 2021-07-09T03:20:41,405 QUEUED = CL_QUEUED 2021-07-09T03:20:41,405 SUBMITTED = CL_SUBMITTED 2021-07-09T03:20:41,405 RUNNING = CL_RUNNING 2021-07-09T03:20:41,405 ^ 2021-07-09T03:20:41,406 ------------------------------------------------------------ 2021-07-09T03:20:41,406 opencl/event.pyx:45:14: undeclared name not builtin: CL_RUNNING 2021-07-09T03:20:41,406 Error compiling Cython file: 2021-07-09T03:20:41,406 ------------------------------------------------------------ 2021-07-09T03:20:41,406 ... 2021-07-09T03:20:41,406 argument. 2021-07-09T03:20:41,407 ''' 2021-07-09T03:20:41,407 QUEUED = CL_QUEUED 2021-07-09T03:20:41,407 SUBMITTED = CL_SUBMITTED 2021-07-09T03:20:41,407 RUNNING = CL_RUNNING 2021-07-09T03:20:41,407 COMPLETE = CL_COMPLETE 2021-07-09T03:20:41,407 ^ 2021-07-09T03:20:41,407 ------------------------------------------------------------ 2021-07-09T03:20:41,407 opencl/event.pyx:46:15: undeclared name not builtin: CL_COMPLETE 2021-07-09T03:20:41,408 Error compiling Cython file: 2021-07-09T03:20:41,408 ------------------------------------------------------------ 2021-07-09T03:20:41,408 ... 2021-07-09T03:20:41,408 def __cinit__(self): 2021-07-09T03:20:41,408 self.event_id = NULL 2021-07-09T03:20:41,408 def __dealloc__(self): 2021-07-09T03:20:41,409 if self.event_id != NULL: 2021-07-09T03:20:41,409 clReleaseEvent(self.event_id) 2021-07-09T03:20:41,409 ^ 2021-07-09T03:20:41,409 ------------------------------------------------------------ 2021-07-09T03:20:41,409 opencl/event.pyx:57:12: undeclared name not builtin: clReleaseEvent 2021-07-09T03:20:41,409 Error compiling Cython file: 2021-07-09T03:20:41,409 ------------------------------------------------------------ 2021-07-09T03:20:41,410 ... 2021-07-09T03:20:41,410 ''' 2021-07-09T03:20:41,410 cdef cl_int err_code 2021-07-09T03:20:41,410 with nogil: 2021-07-09T03:20:41,410 err_code = clWaitForEvents(1, & self.event_id) 2021-07-09T03:20:41,410 ^ 2021-07-09T03:20:41,410 ------------------------------------------------------------ 2021-07-09T03:20:41,411 opencl/event.pyx:75:23: undeclared name not builtin: clWaitForEvents 2021-07-09T03:20:41,411 Error compiling Cython file: 2021-07-09T03:20:41,411 ------------------------------------------------------------ 2021-07-09T03:20:41,411 ... 2021-07-09T03:20:41,411 cdef cl_int err_code 2021-07-09T03:20:41,412 with nogil: 2021-07-09T03:20:41,412 err_code = clWaitForEvents(1, & self.event_id) 2021-07-09T03:20:41,412 if err_code != CL_SUCCESS: 2021-07-09T03:20:41,412 ^ 2021-07-09T03:20:41,412 ------------------------------------------------------------ 2021-07-09T03:20:41,412 opencl/event.pyx:77:23: undeclared name not builtin: CL_SUCCESS 2021-07-09T03:20:41,413 Error compiling Cython file: 2021-07-09T03:20:41,413 ------------------------------------------------------------ 2021-07-09T03:20:41,413 ... 2021-07-09T03:20:41,413 ''' 2021-07-09T03:20:41,413 def __get__(self): 2021-07-09T03:20:41,413 cdef cl_int err_code 2021-07-09T03:20:41,413 cdef cl_int status 2021-07-09T03:20:41,414 err_code = clGetEventInfo(self.event_id, CL_EVENT_COMMAND_EXECUTION_STATUS, sizeof(cl_int), & status, NULL) 2021-07-09T03:20:41,414 ^ 2021-07-09T03:20:41,414 ------------------------------------------------------------ 2021-07-09T03:20:41,414 opencl/event.pyx:88:23: undeclared name not builtin: clGetEventInfo 2021-07-09T03:20:41,414 Error compiling Cython file: 2021-07-09T03:20:41,414 ------------------------------------------------------------ 2021-07-09T03:20:41,415 ... 2021-07-09T03:20:41,415 ''' 2021-07-09T03:20:41,415 def __get__(self): 2021-07-09T03:20:41,415 cdef cl_int err_code 2021-07-09T03:20:41,415 cdef cl_int status 2021-07-09T03:20:41,415 err_code = clGetEventInfo(self.event_id, CL_EVENT_COMMAND_EXECUTION_STATUS, sizeof(cl_int), & status, NULL) 2021-07-09T03:20:41,416 ^ 2021-07-09T03:20:41,416 ------------------------------------------------------------ 2021-07-09T03:20:41,416 opencl/event.pyx:88:53: undeclared name not builtin: CL_EVENT_COMMAND_EXECUTION_STATUS 2021-07-09T03:20:41,416 Error compiling Cython file: 2021-07-09T03:20:41,416 ------------------------------------------------------------ 2021-07-09T03:20:41,416 ... 2021-07-09T03:20:41,416 ''' 2021-07-09T03:20:41,417 def __get__(self): 2021-07-09T03:20:41,417 cdef cl_int err_code 2021-07-09T03:20:41,417 cdef cl_int status 2021-07-09T03:20:41,417 err_code = clGetEventInfo(self.event_id, CL_EVENT_COMMAND_EXECUTION_STATUS, sizeof(cl_int), & status, NULL) 2021-07-09T03:20:41,417 ^ 2021-07-09T03:20:41,417 ------------------------------------------------------------ 2021-07-09T03:20:41,417 opencl/event.pyx:88:101: undeclared name not builtin: cl_int 2021-07-09T03:20:41,418 Error compiling Cython file: 2021-07-09T03:20:41,418 ------------------------------------------------------------ 2021-07-09T03:20:41,418 ... 2021-07-09T03:20:41,418 ''' 2021-07-09T03:20:41,418 def __get__(self): 2021-07-09T03:20:41,418 cdef cl_int err_code 2021-07-09T03:20:41,418 cdef cl_int status 2021-07-09T03:20:41,419 err_code = clGetEventInfo(self.event_id, CL_EVENT_COMMAND_EXECUTION_STATUS, sizeof(cl_int), & status, NULL) 2021-07-09T03:20:41,419 ^ 2021-07-09T03:20:41,419 ------------------------------------------------------------ 2021-07-09T03:20:41,419 opencl/event.pyx:88:114: Cannot convert 'void *' to Python object 2021-07-09T03:20:41,419 Error compiling Cython file: 2021-07-09T03:20:41,420 ------------------------------------------------------------ 2021-07-09T03:20:41,420 ... 2021-07-09T03:20:41,420 :param callback: must be of the signature callback(event, status) 2021-07-09T03:20:41,420 ''' 2021-07-09T03:20:41,420 cdef cl_int err_code 2021-07-09T03:20:41,420 Py_INCREF(callback) 2021-07-09T03:20:41,420 err_code = clSetEventCallback(self.event_id, CL_COMPLETE, < void *> & pfn_event_notify, < void *> callback) 2021-07-09T03:20:41,420 ^ 2021-07-09T03:20:41,421 ------------------------------------------------------------ 2021-07-09T03:20:41,421 opencl/event.pyx:105:19: undeclared name not builtin: clSetEventCallback 2021-07-09T03:20:41,421 Error compiling Cython file: 2021-07-09T03:20:41,421 ------------------------------------------------------------ 2021-07-09T03:20:41,421 ... 2021-07-09T03:20:41,421 :param callback: must be of the signature callback(event, status) 2021-07-09T03:20:41,421 ''' 2021-07-09T03:20:41,422 cdef cl_int err_code 2021-07-09T03:20:41,422 Py_INCREF(callback) 2021-07-09T03:20:41,422 err_code = clSetEventCallback(self.event_id, CL_COMPLETE, < void *> & pfn_event_notify, < void *> callback) 2021-07-09T03:20:41,422 ^ 2021-07-09T03:20:41,422 ------------------------------------------------------------ 2021-07-09T03:20:41,422 opencl/event.pyx:105:66: Cannot convert 'void *' to Python object 2021-07-09T03:20:41,423 Error compiling Cython file: 2021-07-09T03:20:41,423 ------------------------------------------------------------ 2021-07-09T03:20:41,423 ... 2021-07-09T03:20:41,423 :param callback: must be of the signature callback(event, status) 2021-07-09T03:20:41,423 ''' 2021-07-09T03:20:41,423 cdef cl_int err_code 2021-07-09T03:20:41,423 Py_INCREF(callback) 2021-07-09T03:20:41,423 err_code = clSetEventCallback(self.event_id, CL_COMPLETE, < void *> & pfn_event_notify, < void *> callback) 2021-07-09T03:20:41,423 ^ 2021-07-09T03:20:41,424 ------------------------------------------------------------ 2021-07-09T03:20:41,424 opencl/event.pyx:105:96: Cannot convert 'void *' to Python object 2021-07-09T03:20:41,424 Error compiling Cython file: 2021-07-09T03:20:41,424 ------------------------------------------------------------ 2021-07-09T03:20:41,424 ... 2021-07-09T03:20:41,424 ''' 2021-07-09T03:20:41,425 def __cinit__(self, context): 2021-07-09T03:20:41,425 cdef cl_int err_code 2021-07-09T03:20:41,425 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:41,425 ^ 2021-07-09T03:20:41,425 ------------------------------------------------------------ 2021-07-09T03:20:41,426 opencl/event.pyx:120:30: 'CyContext_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:41,426 Error compiling Cython file: 2021-07-09T03:20:41,426 ------------------------------------------------------------ 2021-07-09T03:20:41,426 ... 2021-07-09T03:20:41,426 def __cinit__(self, context): 2021-07-09T03:20:41,426 cdef cl_int err_code 2021-07-09T03:20:41,426 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:41,427 self.event_id = clCreateUserEvent(ctx, & err_code) 2021-07-09T03:20:41,427 ^ 2021-07-09T03:20:41,427 ------------------------------------------------------------ 2021-07-09T03:20:41,427 opencl/event.pyx:121:24: undeclared name not builtin: clCreateUserEvent 2021-07-09T03:20:41,427 Error compiling Cython file: 2021-07-09T03:20:41,427 ------------------------------------------------------------ 2021-07-09T03:20:41,427 ... 2021-07-09T03:20:41,428 ''' 2021-07-09T03:20:41,428 Set this event status to complete. 2021-07-09T03:20:41,428 ''' 2021-07-09T03:20:41,428 cdef cl_int err_code 2021-07-09T03:20:41,428 err_code = clSetUserEventStatus(self.event_id, CL_COMPLETE) 2021-07-09T03:20:41,428 ^ 2021-07-09T03:20:41,428 ------------------------------------------------------------ 2021-07-09T03:20:41,429 opencl/event.pyx:132:19: undeclared name not builtin: clSetUserEventStatus 2021-07-09T03:20:41,429 Error compiling Cython file: 2021-07-09T03:20:41,429 ------------------------------------------------------------ 2021-07-09T03:20:41,429 ... 2021-07-09T03:20:41,429 #=============================================================================== 2021-07-09T03:20:41,429 # 2021-07-09T03:20:41,429 #=============================================================================== 2021-07-09T03:20:41,429 cdef api object cl_eventAs_PyEvent(cl_event event_id): 2021-07-09T03:20:41,430 cdef Event event = < Event > Event.__new__(Event) 2021-07-09T03:20:41,430 clRetainEvent(event_id) 2021-07-09T03:20:41,430 ^ 2021-07-09T03:20:41,430 ------------------------------------------------------------ 2021-07-09T03:20:41,430 opencl/event.pyx:143:4: undeclared name not builtin: clRetainEvent 2021-07-09T03:20:41,467 Error compiling Cython file: 2021-07-09T03:20:41,467 ------------------------------------------------------------ 2021-07-09T03:20:41,467 ... 2021-07-09T03:20:41,467 ''' 2021-07-09T03:20:41,467 cdef cl_int err_code 2021-07-09T03:20:41,467 with nogil: 2021-07-09T03:20:41,468 err_code = clWaitForEvents(1, & self.event_id) 2021-07-09T03:20:41,468 ^ 2021-07-09T03:20:41,468 ------------------------------------------------------------ 2021-07-09T03:20:41,468 opencl/event.pyx:75:38: Coercion from Python not allowed without the GIL 2021-07-09T03:20:41,468 Error compiling Cython file: 2021-07-09T03:20:41,468 ------------------------------------------------------------ 2021-07-09T03:20:41,468 ... 2021-07-09T03:20:41,469 ''' 2021-07-09T03:20:41,469 cdef cl_int err_code 2021-07-09T03:20:41,469 with nogil: 2021-07-09T03:20:41,469 err_code = clWaitForEvents(1, & self.event_id) 2021-07-09T03:20:41,469 ^ 2021-07-09T03:20:41,469 ------------------------------------------------------------ 2021-07-09T03:20:41,470 opencl/event.pyx:75:38: Calling gil-requiring function not allowed without gil 2021-07-09T03:20:41,470 Error compiling Cython file: 2021-07-09T03:20:41,470 ------------------------------------------------------------ 2021-07-09T03:20:41,470 ... 2021-07-09T03:20:41,470 ''' 2021-07-09T03:20:41,470 cdef cl_int err_code 2021-07-09T03:20:41,471 with nogil: 2021-07-09T03:20:41,471 err_code = clWaitForEvents(1, & self.event_id) 2021-07-09T03:20:41,471 ^ 2021-07-09T03:20:41,471 ------------------------------------------------------------ 2021-07-09T03:20:41,471 opencl/event.pyx:75:23: Accessing Python global or builtin not allowed without gil 2021-07-09T03:20:41,471 Error compiling Cython file: 2021-07-09T03:20:41,471 ------------------------------------------------------------ 2021-07-09T03:20:41,472 ... 2021-07-09T03:20:41,472 ''' 2021-07-09T03:20:41,472 cdef cl_int err_code 2021-07-09T03:20:41,472 with nogil: 2021-07-09T03:20:41,472 err_code = clWaitForEvents(1, & self.event_id) 2021-07-09T03:20:41,472 ^ 2021-07-09T03:20:41,473 ------------------------------------------------------------ 2021-07-09T03:20:41,473 opencl/event.pyx:75:38: Constructing Python tuple not allowed without gil 2021-07-09T03:20:41,473 Error compiling Cython file: 2021-07-09T03:20:41,473 ------------------------------------------------------------ 2021-07-09T03:20:41,473 ... 2021-07-09T03:20:41,474 ''' 2021-07-09T03:20:41,474 cdef cl_int err_code 2021-07-09T03:20:41,474 with nogil: 2021-07-09T03:20:41,474 err_code = clWaitForEvents(1, & self.event_id) 2021-07-09T03:20:41,474 ^ 2021-07-09T03:20:41,474 ------------------------------------------------------------ 2021-07-09T03:20:41,475 opencl/event.pyx:75:42: Converting to Python object not allowed without gil 2021-07-09T03:20:41,475 cythoning opencl/kernel.pyx to opencl/kernel.c 2021-07-09T03:20:41,478 /usr/local/lib/python3.9/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-6gt1nq2h/opencl-for-python_c1a6ab231b0f46fe81e2d5c22234fd72/opencl/kernel.pyx 2021-07-09T03:20:41,478 tree = Parsing.p_module(s, pxd, full_module_name) 2021-07-09T03:20:41,884 Error compiling Cython file: 2021-07-09T03:20:41,884 ------------------------------------------------------------ 2021-07-09T03:20:41,884 ... 2021-07-09T03:20:41,884 from opencl.errors import OpenCLException 2021-07-09T03:20:41,884 from opencl.cl_mem import MemoryObject, DeviceMemoryView 2021-07-09T03:20:41,885 from inspect import isfunction 2021-07-09T03:20:41,885 from opencl.type_formats import refrence, ctype_from_format, type_format, cdefn, cmp_formats 2021-07-09T03:20:41,885 from _cl cimport * 2021-07-09T03:20:41,885 ^ 2021-07-09T03:20:41,885 ------------------------------------------------------------ 2021-07-09T03:20:41,885 opencl/kernel.pyx:10:0: '_cl.pxd' not found 2021-07-09T03:20:42,004 Error compiling Cython file: 2021-07-09T03:20:42,004 ------------------------------------------------------------ 2021-07-09T03:20:42,004 ... 2021-07-09T03:20:42,004 from opencl.type_formats import refrence, ctype_from_format, type_format, cdefn, cmp_formats 2021-07-09T03:20:42,005 from _cl cimport * 2021-07-09T03:20:42,005 from opencl.cl_mem import mem_layout 2021-07-09T03:20:42,005 from libc.stdlib cimport malloc, free 2021-07-09T03:20:42,005 from opencl.cl_mem cimport CyMemoryObject_GetID, CyMemoryObject_Check 2021-07-09T03:20:42,005 ^ 2021-07-09T03:20:42,005 ------------------------------------------------------------ 2021-07-09T03:20:42,005 opencl/kernel.pyx:14:0: 'opencl/cl_mem.pxd' not found 2021-07-09T03:20:42,006 Error compiling Cython file: 2021-07-09T03:20:42,006 ------------------------------------------------------------ 2021-07-09T03:20:42,006 ... 2021-07-09T03:20:42,006 from opencl.type_formats import refrence, ctype_from_format, type_format, cdefn, cmp_formats 2021-07-09T03:20:42,006 from _cl cimport * 2021-07-09T03:20:42,006 from opencl.cl_mem import mem_layout 2021-07-09T03:20:42,007 from libc.stdlib cimport malloc, free 2021-07-09T03:20:42,007 from opencl.cl_mem cimport CyMemoryObject_GetID, CyMemoryObject_Check 2021-07-09T03:20:42,007 ^ 2021-07-09T03:20:42,007 ------------------------------------------------------------ 2021-07-09T03:20:42,007 opencl/kernel.pyx:14:0: 'opencl/cl_mem/CyMemoryObject_GetID.pxd' not found 2021-07-09T03:20:42,008 Error compiling Cython file: 2021-07-09T03:20:42,008 ------------------------------------------------------------ 2021-07-09T03:20:42,008 ... 2021-07-09T03:20:42,008 from opencl.type_formats import refrence, ctype_from_format, type_format, cdefn, cmp_formats 2021-07-09T03:20:42,008 from _cl cimport * 2021-07-09T03:20:42,008 from opencl.cl_mem import mem_layout 2021-07-09T03:20:42,008 from libc.stdlib cimport malloc, free 2021-07-09T03:20:42,009 from opencl.cl_mem cimport CyMemoryObject_GetID, CyMemoryObject_Check 2021-07-09T03:20:42,009 ^ 2021-07-09T03:20:42,009 ------------------------------------------------------------ 2021-07-09T03:20:42,009 opencl/kernel.pyx:14:0: 'opencl/cl_mem/CyMemoryObject_Check.pxd' not found 2021-07-09T03:20:43,442 Error compiling Cython file: 2021-07-09T03:20:43,442 ------------------------------------------------------------ 2021-07-09T03:20:43,442 ... 2021-07-09T03:20:43,443 from opencl.cl_mem import mem_layout 2021-07-09T03:20:43,443 from libc.stdlib cimport malloc, free 2021-07-09T03:20:43,443 from opencl.cl_mem cimport CyMemoryObject_GetID, CyMemoryObject_Check 2021-07-09T03:20:43,443 from cpython cimport PyObject, PyArg_VaParseTupleAndKeywords, Py_INCREF 2021-07-09T03:20:43,443 from opencl.copencl cimport CyDevice_Check, CyDevice_GetID 2021-07-09T03:20:43,443 ^ 2021-07-09T03:20:43,443 ------------------------------------------------------------ 2021-07-09T03:20:43,444 opencl/kernel.pyx:16:0: 'opencl/copencl.pxd' not found 2021-07-09T03:20:43,444 Error compiling Cython file: 2021-07-09T03:20:43,444 ------------------------------------------------------------ 2021-07-09T03:20:43,444 ... 2021-07-09T03:20:43,444 from opencl.cl_mem import mem_layout 2021-07-09T03:20:43,445 from libc.stdlib cimport malloc, free 2021-07-09T03:20:43,445 from opencl.cl_mem cimport CyMemoryObject_GetID, CyMemoryObject_Check 2021-07-09T03:20:43,445 from cpython cimport PyObject, PyArg_VaParseTupleAndKeywords, Py_INCREF 2021-07-09T03:20:43,445 from opencl.copencl cimport CyDevice_Check, CyDevice_GetID 2021-07-09T03:20:43,445 ^ 2021-07-09T03:20:43,445 ------------------------------------------------------------ 2021-07-09T03:20:43,445 opencl/kernel.pyx:16:0: 'opencl/copencl/CyDevice_Check.pxd' not found 2021-07-09T03:20:43,446 Error compiling Cython file: 2021-07-09T03:20:43,446 ------------------------------------------------------------ 2021-07-09T03:20:43,446 ... 2021-07-09T03:20:43,446 from opencl.cl_mem import mem_layout 2021-07-09T03:20:43,446 from libc.stdlib cimport malloc, free 2021-07-09T03:20:43,446 from opencl.cl_mem cimport CyMemoryObject_GetID, CyMemoryObject_Check 2021-07-09T03:20:43,447 from cpython cimport PyObject, PyArg_VaParseTupleAndKeywords, Py_INCREF 2021-07-09T03:20:43,447 from opencl.copencl cimport CyDevice_Check, CyDevice_GetID 2021-07-09T03:20:43,447 ^ 2021-07-09T03:20:43,447 ------------------------------------------------------------ 2021-07-09T03:20:43,447 opencl/kernel.pyx:16:0: 'opencl/copencl/CyDevice_GetID.pxd' not found 2021-07-09T03:20:43,447 Error compiling Cython file: 2021-07-09T03:20:43,447 ------------------------------------------------------------ 2021-07-09T03:20:43,448 ... 2021-07-09T03:20:43,448 from libc.stdlib cimport malloc, free 2021-07-09T03:20:43,448 from opencl.cl_mem cimport CyMemoryObject_GetID, CyMemoryObject_Check 2021-07-09T03:20:43,448 from cpython cimport PyObject, PyArg_VaParseTupleAndKeywords, Py_INCREF 2021-07-09T03:20:43,448 from opencl.copencl cimport CyDevice_Check, CyDevice_GetID 2021-07-09T03:20:43,448 from opencl.context cimport CyContext_Create 2021-07-09T03:20:43,448 ^ 2021-07-09T03:20:43,449 ------------------------------------------------------------ 2021-07-09T03:20:43,449 opencl/kernel.pyx:17:0: 'opencl/context.pxd' not found 2021-07-09T03:20:43,449 Error compiling Cython file: 2021-07-09T03:20:43,449 ------------------------------------------------------------ 2021-07-09T03:20:43,449 ... 2021-07-09T03:20:43,450 from libc.stdlib cimport malloc, free 2021-07-09T03:20:43,450 from opencl.cl_mem cimport CyMemoryObject_GetID, CyMemoryObject_Check 2021-07-09T03:20:43,450 from cpython cimport PyObject, PyArg_VaParseTupleAndKeywords, Py_INCREF 2021-07-09T03:20:43,450 from opencl.copencl cimport CyDevice_Check, CyDevice_GetID 2021-07-09T03:20:43,450 from opencl.context cimport CyContext_Create 2021-07-09T03:20:43,450 ^ 2021-07-09T03:20:43,450 ------------------------------------------------------------ 2021-07-09T03:20:43,450 opencl/kernel.pyx:17:0: 'opencl/context/CyContext_Create.pxd' not found 2021-07-09T03:20:43,453 Error compiling Cython file: 2021-07-09T03:20:43,453 ------------------------------------------------------------ 2021-07-09T03:20:43,453 ... 2021-07-09T03:20:43,453 A kernel object encapsulates a specific __kernel function declared in a 2021-07-09T03:20:43,453 program and the argument values to be used when executing this __kernel function. 2021-07-09T03:20:43,454 ''' 2021-07-09T03:20:43,454 cdef cl_kernel kernel_id 2021-07-09T03:20:43,454 ^ 2021-07-09T03:20:43,454 ------------------------------------------------------------ 2021-07-09T03:20:43,454 opencl/kernel.pyx:316:9: 'cl_kernel' is not a type identifier 2021-07-09T03:20:43,457 Error compiling Cython file: 2021-07-09T03:20:43,457 ------------------------------------------------------------ 2021-07-09T03:20:43,457 ... 2021-07-09T03:20:43,457 #=============================================================================== 2021-07-09T03:20:43,457 # API 2021-07-09T03:20:43,457 #=============================================================================== 2021-07-09T03:20:43,458 cdef api cl_kernel KernelFromPyKernel(object py_kernel): 2021-07-09T03:20:43,458 ^ 2021-07-09T03:20:43,458 ------------------------------------------------------------ 2021-07-09T03:20:43,458 opencl/kernel.pyx:636:9: 'cl_kernel' is not a type identifier 2021-07-09T03:20:43,458 Error compiling Cython file: 2021-07-09T03:20:43,458 ------------------------------------------------------------ 2021-07-09T03:20:43,459 ... 2021-07-09T03:20:43,459 cdef api cl_kernel KernelFromPyKernel(object py_kernel): 2021-07-09T03:20:43,459 cdef Kernel kernel = < Kernel > py_kernel 2021-07-09T03:20:43,459 return kernel.kernel_id 2021-07-09T03:20:43,459 cdef api object KernelAsPyKernel(cl_kernel kernel_id): 2021-07-09T03:20:43,459 ^ 2021-07-09T03:20:43,459 ------------------------------------------------------------ 2021-07-09T03:20:43,460 opencl/kernel.pyx:640:33: 'cl_kernel' is not a type identifier 2021-07-09T03:20:43,463 Error compiling Cython file: 2021-07-09T03:20:43,463 ------------------------------------------------------------ 2021-07-09T03:20:43,463 ... 2021-07-09T03:20:43,464 return mem_layout 2021-07-09T03:20:43,464 def __call__(self, memobj): 2021-07-09T03:20:43,464 if not isinstance(memobj, MemoryObject): 2021-07-09T03:20:43,464 raise TypeError("arguemnt must be an instance of MemoryObject") 2021-07-09T03:20:43,464 cdef cl_mem buffer = CyMemoryObject_GetID(memobj) 2021-07-09T03:20:43,464 ^ 2021-07-09T03:20:43,464 ------------------------------------------------------------ 2021-07-09T03:20:43,465 opencl/kernel.pyx:112:13: 'cl_mem' is not a type identifier 2021-07-09T03:20:43,477 Error compiling Cython file: 2021-07-09T03:20:43,477 ------------------------------------------------------------ 2021-07-09T03:20:43,477 ... 2021-07-09T03:20:43,477 raise TypeError("argnames must have %i values (got %i)" % (self.nargs, len(self._argnames))) 2021-07-09T03:20:43,478 property nargs: 2021-07-09T03:20:43,478 'Number of arguments that this kernel takes' 2021-07-09T03:20:43,478 def __get__(self): 2021-07-09T03:20:43,478 cdef cl_int err_code 2021-07-09T03:20:43,478 ^ 2021-07-09T03:20:43,478 ------------------------------------------------------------ 2021-07-09T03:20:43,479 opencl/kernel.pyx:381:17: 'cl_int' is not a type identifier 2021-07-09T03:20:43,479 Error compiling Cython file: 2021-07-09T03:20:43,479 ------------------------------------------------------------ 2021-07-09T03:20:43,479 ... 2021-07-09T03:20:43,479 property nargs: 2021-07-09T03:20:43,479 'Number of arguments that this kernel takes' 2021-07-09T03:20:43,480 def __get__(self): 2021-07-09T03:20:43,480 cdef cl_int err_code 2021-07-09T03:20:43,480 cdef cl_uint nargs 2021-07-09T03:20:43,480 ^ 2021-07-09T03:20:43,480 ------------------------------------------------------------ 2021-07-09T03:20:43,480 opencl/kernel.pyx:382:17: 'cl_uint' is not a type identifier 2021-07-09T03:20:43,480 Error compiling Cython file: 2021-07-09T03:20:43,481 ------------------------------------------------------------ 2021-07-09T03:20:43,481 ... 2021-07-09T03:20:43,481 # return CyProgram_Create(program_id) 2021-07-09T03:20:43,481 property context: 2021-07-09T03:20:43,481 'The context this kernel was created with.' 2021-07-09T03:20:43,481 def __get__(self): 2021-07-09T03:20:43,481 cdef cl_int err_code 2021-07-09T03:20:43,481 ^ 2021-07-09T03:20:43,482 ------------------------------------------------------------ 2021-07-09T03:20:43,482 opencl/kernel.pyx:404:17: 'cl_int' is not a type identifier 2021-07-09T03:20:43,482 Error compiling Cython file: 2021-07-09T03:20:43,482 ------------------------------------------------------------ 2021-07-09T03:20:43,482 ... 2021-07-09T03:20:43,482 property context: 2021-07-09T03:20:43,483 'The context this kernel was created with.' 2021-07-09T03:20:43,483 def __get__(self): 2021-07-09T03:20:43,483 cdef cl_int err_code 2021-07-09T03:20:43,483 cdef cl_context context_id 2021-07-09T03:20:43,483 ^ 2021-07-09T03:20:43,483 ------------------------------------------------------------ 2021-07-09T03:20:43,483 opencl/kernel.pyx:405:17: 'cl_context' is not a type identifier 2021-07-09T03:20:43,484 Error compiling Cython file: 2021-07-09T03:20:43,484 ------------------------------------------------------------ 2021-07-09T03:20:43,484 ... 2021-07-09T03:20:43,484 requirements of the kernel (register usage etc.) to determine what this workgroup size should be. 2021-07-09T03:20:43,484 ''' 2021-07-09T03:20:43,484 if not CyDevice_Check(device): 2021-07-09T03:20:43,484 raise TypeError("expected argument to be a device") 2021-07-09T03:20:43,485 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,485 ^ 2021-07-09T03:20:43,485 ------------------------------------------------------------ 2021-07-09T03:20:43,485 opencl/kernel.pyx:424:13: 'cl_device_id' is not a type identifier 2021-07-09T03:20:43,485 Error compiling Cython file: 2021-07-09T03:20:43,485 ------------------------------------------------------------ 2021-07-09T03:20:43,486 ... 2021-07-09T03:20:43,486 ''' 2021-07-09T03:20:43,486 if not CyDevice_Check(device): 2021-07-09T03:20:43,486 raise TypeError("expected argument to be a device") 2021-07-09T03:20:43,486 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,486 cdef cl_int err_code 2021-07-09T03:20:43,486 ^ 2021-07-09T03:20:43,486 ------------------------------------------------------------ 2021-07-09T03:20:43,487 opencl/kernel.pyx:425:13: 'cl_int' is not a type identifier 2021-07-09T03:20:43,487 Error compiling Cython file: 2021-07-09T03:20:43,487 ------------------------------------------------------------ 2021-07-09T03:20:43,487 ... 2021-07-09T03:20:43,487 if not CyDevice_Check(device): 2021-07-09T03:20:43,488 raise TypeError("expected argument to be a device") 2021-07-09T03:20:43,488 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,488 cdef cl_int err_code 2021-07-09T03:20:43,488 cdef cl_context context_id 2021-07-09T03:20:43,488 ^ 2021-07-09T03:20:43,488 ------------------------------------------------------------ 2021-07-09T03:20:43,488 opencl/kernel.pyx:426:13: 'cl_context' is not a type identifier 2021-07-09T03:20:43,489 Error compiling Cython file: 2021-07-09T03:20:43,489 ------------------------------------------------------------ 2021-07-09T03:20:43,489 ... 2021-07-09T03:20:43,489 unless the work-group size specified is larger than the device maximum. 2021-07-09T03:20:43,489 ''' 2021-07-09T03:20:43,489 if not CyDevice_Check(device): 2021-07-09T03:20:43,489 raise TypeError("expected argument to be a device") 2021-07-09T03:20:43,490 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,490 ^ 2021-07-09T03:20:43,490 ------------------------------------------------------------ 2021-07-09T03:20:43,490 opencl/kernel.pyx:447:13: 'cl_device_id' is not a type identifier 2021-07-09T03:20:43,490 Error compiling Cython file: 2021-07-09T03:20:43,490 ------------------------------------------------------------ 2021-07-09T03:20:43,491 ... 2021-07-09T03:20:43,491 ''' 2021-07-09T03:20:43,491 if not CyDevice_Check(device): 2021-07-09T03:20:43,491 raise TypeError("expected argument to be a device") 2021-07-09T03:20:43,491 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,491 cdef cl_int err_code 2021-07-09T03:20:43,491 ^ 2021-07-09T03:20:43,491 ------------------------------------------------------------ 2021-07-09T03:20:43,492 opencl/kernel.pyx:448:13: 'cl_int' is not a type identifier 2021-07-09T03:20:43,492 Error compiling Cython file: 2021-07-09T03:20:43,492 ------------------------------------------------------------ 2021-07-09T03:20:43,492 ... 2021-07-09T03:20:43,492 if not CyDevice_Check(device): 2021-07-09T03:20:43,492 raise TypeError("expected argument to be a device") 2021-07-09T03:20:43,493 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,493 cdef cl_int err_code 2021-07-09T03:20:43,493 cdef cl_context context_id 2021-07-09T03:20:43,493 ^ 2021-07-09T03:20:43,493 ------------------------------------------------------------ 2021-07-09T03:20:43,493 opencl/kernel.pyx:449:13: 'cl_context' is not a type identifier 2021-07-09T03:20:43,493 Error compiling Cython file: 2021-07-09T03:20:43,494 ------------------------------------------------------------ 2021-07-09T03:20:43,494 ... 2021-07-09T03:20:43,494 kernel with the __private qualifier. 2021-07-09T03:20:43,494 ''' 2021-07-09T03:20:43,494 if not CyDevice_Check(device): 2021-07-09T03:20:43,494 raise TypeError("expected argument to be a device") 2021-07-09T03:20:43,494 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,494 ^ 2021-07-09T03:20:43,495 ------------------------------------------------------------ 2021-07-09T03:20:43,495 opencl/kernel.pyx:469:13: 'cl_device_id' is not a type identifier 2021-07-09T03:20:43,495 Error compiling Cython file: 2021-07-09T03:20:43,495 ------------------------------------------------------------ 2021-07-09T03:20:43,495 ... 2021-07-09T03:20:43,495 ''' 2021-07-09T03:20:43,496 if not CyDevice_Check(device): 2021-07-09T03:20:43,496 raise TypeError("expected argument to be a device") 2021-07-09T03:20:43,496 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,496 cdef cl_int err_code 2021-07-09T03:20:43,496 ^ 2021-07-09T03:20:43,496 ------------------------------------------------------------ 2021-07-09T03:20:43,496 opencl/kernel.pyx:470:13: 'cl_int' is not a type identifier 2021-07-09T03:20:43,497 Error compiling Cython file: 2021-07-09T03:20:43,497 ------------------------------------------------------------ 2021-07-09T03:20:43,497 ... 2021-07-09T03:20:43,497 if not CyDevice_Check(device): 2021-07-09T03:20:43,497 raise TypeError("expected argument to be a device") 2021-07-09T03:20:43,497 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,497 cdef cl_int err_code 2021-07-09T03:20:43,498 cdef cl_context context_id 2021-07-09T03:20:43,498 ^ 2021-07-09T03:20:43,498 ------------------------------------------------------------ 2021-07-09T03:20:43,498 opencl/kernel.pyx:471:13: 'cl_context' is not a type identifier 2021-07-09T03:20:43,498 Error compiling Cython file: 2021-07-09T03:20:43,498 ------------------------------------------------------------ 2021-07-09T03:20:43,499 ... 2021-07-09T03:20:43,499 ''' 2021-07-09T03:20:43,499 if not CyDevice_Check(device): 2021-07-09T03:20:43,499 raise TypeError("expected argument to be a device") 2021-07-09T03:20:43,499 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,499 ^ 2021-07-09T03:20:43,499 ------------------------------------------------------------ 2021-07-09T03:20:43,500 opencl/kernel.pyx:494:13: 'cl_device_id' is not a type identifier 2021-07-09T03:20:43,500 Error compiling Cython file: 2021-07-09T03:20:43,500 ------------------------------------------------------------ 2021-07-09T03:20:43,500 ... 2021-07-09T03:20:43,500 if not CyDevice_Check(device): 2021-07-09T03:20:43,500 raise TypeError("expected argument to be a device") 2021-07-09T03:20:43,501 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,501 cdef cl_int err_code 2021-07-09T03:20:43,501 ^ 2021-07-09T03:20:43,501 ------------------------------------------------------------ 2021-07-09T03:20:43,501 opencl/kernel.pyx:495:13: 'cl_int' is not a type identifier 2021-07-09T03:20:43,501 Error compiling Cython file: 2021-07-09T03:20:43,502 ------------------------------------------------------------ 2021-07-09T03:20:43,502 ... 2021-07-09T03:20:43,502 if not CyDevice_Check(device): 2021-07-09T03:20:43,502 raise TypeError("expected argument to be a device") 2021-07-09T03:20:43,502 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,502 cdef cl_int err_code 2021-07-09T03:20:43,502 cdef cl_context context_id 2021-07-09T03:20:43,502 ^ 2021-07-09T03:20:43,503 ------------------------------------------------------------ 2021-07-09T03:20:43,503 opencl/kernel.pyx:496:13: 'cl_context' is not a type identifier 2021-07-09T03:20:43,503 Error compiling Cython file: 2021-07-09T03:20:43,503 ------------------------------------------------------------ 2021-07-09T03:20:43,503 ... 2021-07-09T03:20:43,503 Returns the work-group size specified by the __attribute__((reqd_work_group_size(X, Y, Z))) qualifier. 2021-07-09T03:20:43,503 ''' 2021-07-09T03:20:43,504 if not CyDevice_Check(device): 2021-07-09T03:20:43,504 raise TypeError("expected argument to be a device") 2021-07-09T03:20:43,504 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,504 ^ 2021-07-09T03:20:43,504 ------------------------------------------------------------ 2021-07-09T03:20:43,504 opencl/kernel.pyx:513:13: 'cl_device_id' is not a type identifier 2021-07-09T03:20:43,505 Error compiling Cython file: 2021-07-09T03:20:43,505 ------------------------------------------------------------ 2021-07-09T03:20:43,505 ... 2021-07-09T03:20:43,505 ''' 2021-07-09T03:20:43,505 if not CyDevice_Check(device): 2021-07-09T03:20:43,505 raise TypeError("expected argument to be a device") 2021-07-09T03:20:43,505 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,506 cdef cl_int err_code 2021-07-09T03:20:43,506 ^ 2021-07-09T03:20:43,506 ------------------------------------------------------------ 2021-07-09T03:20:43,506 opencl/kernel.pyx:514:13: 'cl_int' is not a type identifier 2021-07-09T03:20:43,506 Error compiling Cython file: 2021-07-09T03:20:43,506 ------------------------------------------------------------ 2021-07-09T03:20:43,506 ... 2021-07-09T03:20:43,507 if not CyDevice_Check(device): 2021-07-09T03:20:43,507 raise TypeError("expected argument to be a device") 2021-07-09T03:20:43,507 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,507 cdef cl_int err_code 2021-07-09T03:20:43,507 cdef cl_context context_id 2021-07-09T03:20:43,507 ^ 2021-07-09T03:20:43,507 ------------------------------------------------------------ 2021-07-09T03:20:43,508 opencl/kernel.pyx:515:13: 'cl_context' is not a type identifier 2021-07-09T03:20:43,508 Error compiling Cython file: 2021-07-09T03:20:43,508 ------------------------------------------------------------ 2021-07-09T03:20:43,508 ... 2021-07-09T03:20:43,508 property name: 2021-07-09T03:20:43,508 'The name of this kernel' 2021-07-09T03:20:43,509 def __get__(self): 2021-07-09T03:20:43,509 cdef cl_int err_code 2021-07-09T03:20:43,509 ^ 2021-07-09T03:20:43,509 ------------------------------------------------------------ 2021-07-09T03:20:43,509 opencl/kernel.pyx:528:17: 'cl_int' is not a type identifier 2021-07-09T03:20:43,509 Error compiling Cython file: 2021-07-09T03:20:43,510 ------------------------------------------------------------ 2021-07-09T03:20:43,510 ... 2021-07-09T03:20:43,510 argnames = range(self.nargs) if self._argnames is None else self._argnames 2021-07-09T03:20:43,510 defaults = [] if self.__defaults__ is None else self.__defaults__ 2021-07-09T03:20:43,510 arglist = parse_args(self.name, args, kwargs, argnames, defaults) 2021-07-09T03:20:43,510 cdef cl_int err_code 2021-07-09T03:20:43,510 ^ 2021-07-09T03:20:43,511 ------------------------------------------------------------ 2021-07-09T03:20:43,511 opencl/kernel.pyx:563:13: 'cl_int' is not a type identifier 2021-07-09T03:20:43,511 Error compiling Cython file: 2021-07-09T03:20:43,511 ------------------------------------------------------------ 2021-07-09T03:20:43,511 ... 2021-07-09T03:20:43,511 cdef cl_int err_code 2021-07-09T03:20:43,511 cdef size_t arg_size 2021-07-09T03:20:43,512 cdef size_t tmp 2021-07-09T03:20:43,512 cdef void * arg_value 2021-07-09T03:20:43,512 cdef cl_mem mem_id 2021-07-09T03:20:43,512 ^ 2021-07-09T03:20:43,512 ------------------------------------------------------------ 2021-07-09T03:20:43,512 opencl/kernel.pyx:567:13: 'cl_mem' is not a type identifier 2021-07-09T03:20:43,719 Error compiling Cython file: 2021-07-09T03:20:43,720 ------------------------------------------------------------ 2021-07-09T03:20:43,720 ... 2021-07-09T03:20:43,720 ai[4 + i] = strides[i] 2021-07-09T03:20:43,720 return ai 2021-07-09T03:20:43,720 set_kerne_arg_errors = { 2021-07-09T03:20:43,720 CL_INVALID_KERNEL : 'kernel is not a valid kernel object.', 2021-07-09T03:20:43,721 ^ 2021-07-09T03:20:43,721 ------------------------------------------------------------ 2021-07-09T03:20:43,721 opencl/kernel.pyx:229:4: undeclared name not builtin: CL_INVALID_KERNEL 2021-07-09T03:20:43,721 Error compiling Cython file: 2021-07-09T03:20:43,721 ------------------------------------------------------------ 2021-07-09T03:20:43,721 ... 2021-07-09T03:20:43,722 return ai 2021-07-09T03:20:43,722 set_kerne_arg_errors = { 2021-07-09T03:20:43,722 CL_INVALID_KERNEL : 'kernel is not a valid kernel object.', 2021-07-09T03:20:43,722 CL_INVALID_ARG_INDEX :'arg_index is not a valid argument index.', 2021-07-09T03:20:43,722 ^ 2021-07-09T03:20:43,722 ------------------------------------------------------------ 2021-07-09T03:20:43,722 opencl/kernel.pyx:230:4: undeclared name not builtin: CL_INVALID_ARG_INDEX 2021-07-09T03:20:43,723 Error compiling Cython file: 2021-07-09T03:20:43,723 ------------------------------------------------------------ 2021-07-09T03:20:43,723 ... 2021-07-09T03:20:43,723 return ai 2021-07-09T03:20:43,723 set_kerne_arg_errors = { 2021-07-09T03:20:43,723 CL_INVALID_KERNEL : 'kernel is not a valid kernel object.', 2021-07-09T03:20:43,724 CL_INVALID_ARG_INDEX :'arg_index is not a valid argument index.', 2021-07-09T03:20:43,724 CL_INVALID_ARG_VALUE : 'arg_value specified is not a valid value.', 2021-07-09T03:20:43,724 ^ 2021-07-09T03:20:43,724 ------------------------------------------------------------ 2021-07-09T03:20:43,724 opencl/kernel.pyx:231:4: undeclared name not builtin: CL_INVALID_ARG_VALUE 2021-07-09T03:20:43,724 Error compiling Cython file: 2021-07-09T03:20:43,725 ------------------------------------------------------------ 2021-07-09T03:20:43,725 ... 2021-07-09T03:20:43,725 set_kerne_arg_errors = { 2021-07-09T03:20:43,725 CL_INVALID_KERNEL : 'kernel is not a valid kernel object.', 2021-07-09T03:20:43,725 CL_INVALID_ARG_INDEX :'arg_index is not a valid argument index.', 2021-07-09T03:20:43,725 CL_INVALID_ARG_VALUE : 'arg_value specified is not a valid value.', 2021-07-09T03:20:43,725 CL_INVALID_MEM_OBJECT : 'The specified arg_value is not a valid memory object.', 2021-07-09T03:20:43,725 ^ 2021-07-09T03:20:43,726 ------------------------------------------------------------ 2021-07-09T03:20:43,726 opencl/kernel.pyx:232:4: undeclared name not builtin: CL_INVALID_MEM_OBJECT 2021-07-09T03:20:43,726 Error compiling Cython file: 2021-07-09T03:20:43,726 ------------------------------------------------------------ 2021-07-09T03:20:43,726 ... 2021-07-09T03:20:43,726 set_kerne_arg_errors = { 2021-07-09T03:20:43,726 CL_INVALID_KERNEL : 'kernel is not a valid kernel object.', 2021-07-09T03:20:43,727 CL_INVALID_ARG_INDEX :'arg_index is not a valid argument index.', 2021-07-09T03:20:43,727 CL_INVALID_ARG_VALUE : 'arg_value specified is not a valid value.', 2021-07-09T03:20:43,727 CL_INVALID_MEM_OBJECT : 'The specified arg_value is not a valid memory object.', 2021-07-09T03:20:43,727 CL_INVALID_SAMPLER : 'The specified arg_value is not a valid sampler object.', 2021-07-09T03:20:43,727 ^ 2021-07-09T03:20:43,727 ------------------------------------------------------------ 2021-07-09T03:20:43,727 opencl/kernel.pyx:233:4: undeclared name not builtin: CL_INVALID_SAMPLER 2021-07-09T03:20:43,728 Error compiling Cython file: 2021-07-09T03:20:43,728 ------------------------------------------------------------ 2021-07-09T03:20:43,728 ... 2021-07-09T03:20:43,728 CL_INVALID_KERNEL : 'kernel is not a valid kernel object.', 2021-07-09T03:20:43,728 CL_INVALID_ARG_INDEX :'arg_index is not a valid argument index.', 2021-07-09T03:20:43,728 CL_INVALID_ARG_VALUE : 'arg_value specified is not a valid value.', 2021-07-09T03:20:43,728 CL_INVALID_MEM_OBJECT : 'The specified arg_value is not a valid memory object.', 2021-07-09T03:20:43,728 CL_INVALID_SAMPLER : 'The specified arg_value is not a valid sampler object.', 2021-07-09T03:20:43,729 CL_INVALID_ARG_SIZE :('arg_size does not match the size of the data type for an ' 2021-07-09T03:20:43,729 ^ 2021-07-09T03:20:43,729 ------------------------------------------------------------ 2021-07-09T03:20:43,729 opencl/kernel.pyx:234:4: undeclared name not builtin: CL_INVALID_ARG_SIZE 2021-07-09T03:20:43,733 Error compiling Cython file: 2021-07-09T03:20:43,733 ------------------------------------------------------------ 2021-07-09T03:20:43,733 ... 2021-07-09T03:20:43,733 return mem_layout 2021-07-09T03:20:43,734 def __call__(self, memobj): 2021-07-09T03:20:43,734 if not isinstance(memobj, MemoryObject): 2021-07-09T03:20:43,734 raise TypeError("arguemnt must be an instance of MemoryObject") 2021-07-09T03:20:43,734 cdef cl_mem buffer = CyMemoryObject_GetID(memobj) 2021-07-09T03:20:43,734 ^ 2021-07-09T03:20:43,734 ------------------------------------------------------------ 2021-07-09T03:20:43,734 opencl/kernel.pyx:112:29: 'CyMemoryObject_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:43,736 Error compiling Cython file: 2021-07-09T03:20:43,736 ------------------------------------------------------------ 2021-07-09T03:20:43,736 ... 2021-07-09T03:20:43,736 ''' 2021-07-09T03:20:43,736 Return a ctypes.c_void_p from arg. 2021-07-09T03:20:43,736 :param arg: must be a MemoryObject. 2021-07-09T03:20:43,737 ''' 2021-07-09T03:20:43,737 if not CyMemoryObject_Check(arg): 2021-07-09T03:20:43,737 ^ 2021-07-09T03:20:43,737 ------------------------------------------------------------ 2021-07-09T03:20:43,737 opencl/kernel.pyx:130:15: 'CyMemoryObject_Check' is not a constant, variable or function identifier 2021-07-09T03:20:43,739 Error compiling Cython file: 2021-07-09T03:20:43,739 ------------------------------------------------------------ 2021-07-09T03:20:43,739 ... 2021-07-09T03:20:43,739 cdef void * ptr 2021-07-09T03:20:43,739 #FIXME: this should be better #sub-buffer is not supported 2021-07-09T03:20:43,739 if arg.context.devices[0].driver_version == '1.0': 2021-07-09T03:20:43,739 base = arg.base 2021-07-09T03:20:43,740 if CyMemoryObject_Check(base): 2021-07-09T03:20:43,740 ^ 2021-07-09T03:20:43,740 ------------------------------------------------------------ 2021-07-09T03:20:43,740 opencl/kernel.pyx:148:15: 'CyMemoryObject_Check' is not a constant, variable or function identifier 2021-07-09T03:20:43,740 Error compiling Cython file: 2021-07-09T03:20:43,740 ------------------------------------------------------------ 2021-07-09T03:20:43,741 ... 2021-07-09T03:20:43,741 if arg.context.devices[0].driver_version == '1.0': 2021-07-09T03:20:43,741 base = arg.base 2021-07-09T03:20:43,741 if CyMemoryObject_Check(base): 2021-07-09T03:20:43,741 arg = base 2021-07-09T03:20:43,741 ptr = CyMemoryObject_GetID(arg) 2021-07-09T03:20:43,741 ^ 2021-07-09T03:20:43,741 ------------------------------------------------------------ 2021-07-09T03:20:43,742 opencl/kernel.pyx:151:14: 'CyMemoryObject_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:43,742 Error compiling Cython file: 2021-07-09T03:20:43,742 ------------------------------------------------------------ 2021-07-09T03:20:43,742 ... 2021-07-09T03:20:43,742 if arg.context.devices[0].driver_version == '1.0': 2021-07-09T03:20:43,742 base = arg.base 2021-07-09T03:20:43,742 if CyMemoryObject_Check(base): 2021-07-09T03:20:43,743 arg = base 2021-07-09T03:20:43,743 ptr = CyMemoryObject_GetID(arg) 2021-07-09T03:20:43,743 ^ 2021-07-09T03:20:43,743 ------------------------------------------------------------ 2021-07-09T03:20:43,743 opencl/kernel.pyx:151:34: Cannot convert Python object to 'void *' 2021-07-09T03:20:43,743 Error compiling Cython file: 2021-07-09T03:20:43,744 ------------------------------------------------------------ 2021-07-09T03:20:43,744 ... 2021-07-09T03:20:43,744 if arg.context.devices[0].driver_version == '1.0': 2021-07-09T03:20:43,744 base = arg.base 2021-07-09T03:20:43,744 if CyMemoryObject_Check(base): 2021-07-09T03:20:43,744 arg = base 2021-07-09T03:20:43,744 ptr = CyMemoryObject_GetID(arg) 2021-07-09T03:20:43,745 ^ 2021-07-09T03:20:43,745 ------------------------------------------------------------ 2021-07-09T03:20:43,745 opencl/kernel.pyx:151:34: Storing unsafe C derivative of temporary Python reference 2021-07-09T03:20:43,767 Error compiling Cython file: 2021-07-09T03:20:43,767 ------------------------------------------------------------ 2021-07-09T03:20:43,767 ... 2021-07-09T03:20:43,767 self.local_work_size = None 2021-07-09T03:20:43,767 def __dealloc__(self): 2021-07-09T03:20:43,768 if self.kernel_id != NULL: 2021-07-09T03:20:43,768 clReleaseKernel(self.kernel_id) 2021-07-09T03:20:43,768 ^ 2021-07-09T03:20:43,768 ------------------------------------------------------------ 2021-07-09T03:20:43,768 opencl/kernel.pyx:335:12: undeclared name not builtin: clReleaseKernel 2021-07-09T03:20:43,772 Error compiling Cython file: 2021-07-09T03:20:43,772 ------------------------------------------------------------ 2021-07-09T03:20:43,772 ... 2021-07-09T03:20:43,772 'Number of arguments that this kernel takes' 2021-07-09T03:20:43,772 def __get__(self): 2021-07-09T03:20:43,772 cdef cl_int err_code 2021-07-09T03:20:43,772 cdef cl_uint nargs 2021-07-09T03:20:43,773 err_code = clGetKernelInfo(self.kernel_id, CL_KERNEL_NUM_ARGS, sizeof(cl_uint), & nargs, NULL) 2021-07-09T03:20:43,773 ^ 2021-07-09T03:20:43,773 ------------------------------------------------------------ 2021-07-09T03:20:43,773 opencl/kernel.pyx:384:23: undeclared name not builtin: clGetKernelInfo 2021-07-09T03:20:43,773 Error compiling Cython file: 2021-07-09T03:20:43,774 ------------------------------------------------------------ 2021-07-09T03:20:43,774 ... 2021-07-09T03:20:43,774 'Number of arguments that this kernel takes' 2021-07-09T03:20:43,774 def __get__(self): 2021-07-09T03:20:43,774 cdef cl_int err_code 2021-07-09T03:20:43,774 cdef cl_uint nargs 2021-07-09T03:20:43,774 err_code = clGetKernelInfo(self.kernel_id, CL_KERNEL_NUM_ARGS, sizeof(cl_uint), & nargs, NULL) 2021-07-09T03:20:43,775 ^ 2021-07-09T03:20:43,775 ------------------------------------------------------------ 2021-07-09T03:20:43,775 opencl/kernel.pyx:384:55: undeclared name not builtin: CL_KERNEL_NUM_ARGS 2021-07-09T03:20:43,775 Error compiling Cython file: 2021-07-09T03:20:43,775 ------------------------------------------------------------ 2021-07-09T03:20:43,776 ... 2021-07-09T03:20:43,776 'Number of arguments that this kernel takes' 2021-07-09T03:20:43,776 def __get__(self): 2021-07-09T03:20:43,776 cdef cl_int err_code 2021-07-09T03:20:43,776 cdef cl_uint nargs 2021-07-09T03:20:43,776 err_code = clGetKernelInfo(self.kernel_id, CL_KERNEL_NUM_ARGS, sizeof(cl_uint), & nargs, NULL) 2021-07-09T03:20:43,776 ^ 2021-07-09T03:20:43,776 ------------------------------------------------------------ 2021-07-09T03:20:43,777 opencl/kernel.pyx:384:89: undeclared name not builtin: cl_uint 2021-07-09T03:20:43,777 Error compiling Cython file: 2021-07-09T03:20:43,777 ------------------------------------------------------------ 2021-07-09T03:20:43,777 ... 2021-07-09T03:20:43,777 'Number of arguments that this kernel takes' 2021-07-09T03:20:43,777 def __get__(self): 2021-07-09T03:20:43,778 cdef cl_int err_code 2021-07-09T03:20:43,778 cdef cl_uint nargs 2021-07-09T03:20:43,778 err_code = clGetKernelInfo(self.kernel_id, CL_KERNEL_NUM_ARGS, sizeof(cl_uint), & nargs, NULL) 2021-07-09T03:20:43,778 ^ 2021-07-09T03:20:43,778 ------------------------------------------------------------ 2021-07-09T03:20:43,778 opencl/kernel.pyx:384:101: Cannot convert 'void *' to Python object 2021-07-09T03:20:43,779 Error compiling Cython file: 2021-07-09T03:20:43,779 ------------------------------------------------------------ 2021-07-09T03:20:43,779 ... 2021-07-09T03:20:43,779 def __get__(self): 2021-07-09T03:20:43,779 cdef cl_int err_code 2021-07-09T03:20:43,779 cdef cl_uint nargs 2021-07-09T03:20:43,779 err_code = clGetKernelInfo(self.kernel_id, CL_KERNEL_NUM_ARGS, sizeof(cl_uint), & nargs, NULL) 2021-07-09T03:20:43,780 if err_code != CL_SUCCESS: raise OpenCLException(err_code) 2021-07-09T03:20:43,780 ^ 2021-07-09T03:20:43,780 ------------------------------------------------------------ 2021-07-09T03:20:43,780 opencl/kernel.pyx:385:27: undeclared name not builtin: CL_SUCCESS 2021-07-09T03:20:43,780 Error compiling Cython file: 2021-07-09T03:20:43,780 ------------------------------------------------------------ 2021-07-09T03:20:43,781 ... 2021-07-09T03:20:43,781 'The context this kernel was created with.' 2021-07-09T03:20:43,781 def __get__(self): 2021-07-09T03:20:43,781 cdef cl_int err_code 2021-07-09T03:20:43,781 cdef cl_context context_id 2021-07-09T03:20:43,781 err_code = clGetKernelInfo(self.kernel_id, CL_KERNEL_CONTEXT, sizeof(cl_context), & context_id, NULL) 2021-07-09T03:20:43,781 ^ 2021-07-09T03:20:43,781 ------------------------------------------------------------ 2021-07-09T03:20:43,782 opencl/kernel.pyx:407:55: undeclared name not builtin: CL_KERNEL_CONTEXT 2021-07-09T03:20:43,782 Error compiling Cython file: 2021-07-09T03:20:43,782 ------------------------------------------------------------ 2021-07-09T03:20:43,782 ... 2021-07-09T03:20:43,782 'The context this kernel was created with.' 2021-07-09T03:20:43,782 def __get__(self): 2021-07-09T03:20:43,783 cdef cl_int err_code 2021-07-09T03:20:43,783 cdef cl_context context_id 2021-07-09T03:20:43,783 err_code = clGetKernelInfo(self.kernel_id, CL_KERNEL_CONTEXT, sizeof(cl_context), & context_id, NULL) 2021-07-09T03:20:43,783 ^ 2021-07-09T03:20:43,783 ------------------------------------------------------------ 2021-07-09T03:20:43,783 opencl/kernel.pyx:407:91: undeclared name not builtin: cl_context 2021-07-09T03:20:43,784 Error compiling Cython file: 2021-07-09T03:20:43,784 ------------------------------------------------------------ 2021-07-09T03:20:43,784 ... 2021-07-09T03:20:43,784 'The context this kernel was created with.' 2021-07-09T03:20:43,784 def __get__(self): 2021-07-09T03:20:43,784 cdef cl_int err_code 2021-07-09T03:20:43,784 cdef cl_context context_id 2021-07-09T03:20:43,784 err_code = clGetKernelInfo(self.kernel_id, CL_KERNEL_CONTEXT, sizeof(cl_context), & context_id, NULL) 2021-07-09T03:20:43,785 ^ 2021-07-09T03:20:43,785 ------------------------------------------------------------ 2021-07-09T03:20:43,785 opencl/kernel.pyx:407:108: Cannot convert 'void *' to Python object 2021-07-09T03:20:43,785 Error compiling Cython file: 2021-07-09T03:20:43,785 ------------------------------------------------------------ 2021-07-09T03:20:43,785 ... 2021-07-09T03:20:43,786 cdef cl_context context_id 2021-07-09T03:20:43,786 err_code = clGetKernelInfo(self.kernel_id, CL_KERNEL_CONTEXT, sizeof(cl_context), & context_id, NULL) 2021-07-09T03:20:43,786 if err_code != CL_SUCCESS: raise OpenCLException(err_code) 2021-07-09T03:20:43,786 return CyContext_Create(context_id) 2021-07-09T03:20:43,786 ^ 2021-07-09T03:20:43,786 ------------------------------------------------------------ 2021-07-09T03:20:43,787 opencl/kernel.pyx:410:19: 'CyContext_Create' is not a constant, variable or function identifier 2021-07-09T03:20:43,787 Error compiling Cython file: 2021-07-09T03:20:43,787 ------------------------------------------------------------ 2021-07-09T03:20:43,787 ... 2021-07-09T03:20:43,787 This provides a mechanism for the application to query the maximum 2021-07-09T03:20:43,787 work-group size that can be used to execute a kernel on a specific device 2021-07-09T03:20:43,787 given by device. The OpenCL implementation uses the resource 2021-07-09T03:20:43,788 requirements of the kernel (register usage etc.) to determine what this workgroup size should be. 2021-07-09T03:20:43,788 ''' 2021-07-09T03:20:43,788 if not CyDevice_Check(device): 2021-07-09T03:20:43,788 ^ 2021-07-09T03:20:43,788 ------------------------------------------------------------ 2021-07-09T03:20:43,788 opencl/kernel.pyx:421:15: 'CyDevice_Check' is not a constant, variable or function identifier 2021-07-09T03:20:43,788 Error compiling Cython file: 2021-07-09T03:20:43,789 ------------------------------------------------------------ 2021-07-09T03:20:43,789 ... 2021-07-09T03:20:43,789 requirements of the kernel (register usage etc.) to determine what this workgroup size should be. 2021-07-09T03:20:43,789 ''' 2021-07-09T03:20:43,789 if not CyDevice_Check(device): 2021-07-09T03:20:43,789 raise TypeError("expected argument to be a device") 2021-07-09T03:20:43,789 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,789 ^ 2021-07-09T03:20:43,790 ------------------------------------------------------------ 2021-07-09T03:20:43,790 opencl/kernel.pyx:424:38: 'CyDevice_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:43,790 Error compiling Cython file: 2021-07-09T03:20:43,790 ------------------------------------------------------------ 2021-07-09T03:20:43,790 ... 2021-07-09T03:20:43,790 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,790 cdef cl_int err_code 2021-07-09T03:20:43,791 cdef cl_context context_id 2021-07-09T03:20:43,791 cdef size_t value 2021-07-09T03:20:43,791 err_code = clGetKernelWorkGroupInfo(self.kernel_id, device_id, CL_KERNEL_WORK_GROUP_SIZE, sizeof(size_t), & value, NULL) 2021-07-09T03:20:43,791 ^ 2021-07-09T03:20:43,791 ------------------------------------------------------------ 2021-07-09T03:20:43,791 opencl/kernel.pyx:429:19: undeclared name not builtin: clGetKernelWorkGroupInfo 2021-07-09T03:20:43,792 Error compiling Cython file: 2021-07-09T03:20:43,792 ------------------------------------------------------------ 2021-07-09T03:20:43,792 ... 2021-07-09T03:20:43,792 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,792 cdef cl_int err_code 2021-07-09T03:20:43,792 cdef cl_context context_id 2021-07-09T03:20:43,792 cdef size_t value 2021-07-09T03:20:43,793 err_code = clGetKernelWorkGroupInfo(self.kernel_id, device_id, CL_KERNEL_WORK_GROUP_SIZE, sizeof(size_t), & value, NULL) 2021-07-09T03:20:43,793 ^ 2021-07-09T03:20:43,793 ------------------------------------------------------------ 2021-07-09T03:20:43,793 opencl/kernel.pyx:429:71: undeclared name not builtin: CL_KERNEL_WORK_GROUP_SIZE 2021-07-09T03:20:43,793 Error compiling Cython file: 2021-07-09T03:20:43,793 ------------------------------------------------------------ 2021-07-09T03:20:43,794 ... 2021-07-09T03:20:43,794 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,794 cdef cl_int err_code 2021-07-09T03:20:43,794 cdef cl_context context_id 2021-07-09T03:20:43,794 cdef size_t value 2021-07-09T03:20:43,794 err_code = clGetKernelWorkGroupInfo(self.kernel_id, device_id, CL_KERNEL_WORK_GROUP_SIZE, sizeof(size_t), & value, NULL) 2021-07-09T03:20:43,794 ^ 2021-07-09T03:20:43,794 ------------------------------------------------------------ 2021-07-09T03:20:43,795 opencl/kernel.pyx:429:114: Cannot convert 'size_t *' to Python object 2021-07-09T03:20:43,795 Error compiling Cython file: 2021-07-09T03:20:43,795 ------------------------------------------------------------ 2021-07-09T03:20:43,795 ... 2021-07-09T03:20:43,795 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,795 cdef cl_int err_code 2021-07-09T03:20:43,796 cdef cl_context context_id 2021-07-09T03:20:43,796 cdef size_t value 2021-07-09T03:20:43,796 err_code = clGetKernelWorkGroupInfo(self.kernel_id, device_id, CL_KERNEL_WORK_GROUP_SIZE, sizeof(size_t), & value, NULL) 2021-07-09T03:20:43,796 ^ 2021-07-09T03:20:43,796 ------------------------------------------------------------ 2021-07-09T03:20:43,796 opencl/kernel.pyx:429:123: Cannot convert 'void *' to Python object 2021-07-09T03:20:43,797 Error compiling Cython file: 2021-07-09T03:20:43,797 ------------------------------------------------------------ 2021-07-09T03:20:43,797 ... 2021-07-09T03:20:43,797 performance hint. Specifying a workgroup size that is not a multiple of the 2021-07-09T03:20:43,797 value returned by this query as the value of the local work size argument to 2021-07-09T03:20:43,797 clEnqueueNDRangeKernel will not fail to enqueue the kernel for execution 2021-07-09T03:20:43,797 unless the work-group size specified is larger than the device maximum. 2021-07-09T03:20:43,797 ''' 2021-07-09T03:20:43,797 if not CyDevice_Check(device): 2021-07-09T03:20:43,798 ^ 2021-07-09T03:20:43,798 ------------------------------------------------------------ 2021-07-09T03:20:43,798 opencl/kernel.pyx:444:15: 'CyDevice_Check' is not a constant, variable or function identifier 2021-07-09T03:20:43,798 Error compiling Cython file: 2021-07-09T03:20:43,798 ------------------------------------------------------------ 2021-07-09T03:20:43,798 ... 2021-07-09T03:20:43,798 unless the work-group size specified is larger than the device maximum. 2021-07-09T03:20:43,799 ''' 2021-07-09T03:20:43,799 if not CyDevice_Check(device): 2021-07-09T03:20:43,799 raise TypeError("expected argument to be a device") 2021-07-09T03:20:43,799 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,799 ^ 2021-07-09T03:20:43,799 ------------------------------------------------------------ 2021-07-09T03:20:43,799 opencl/kernel.pyx:447:38: 'CyDevice_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:43,800 Error compiling Cython file: 2021-07-09T03:20:43,800 ------------------------------------------------------------ 2021-07-09T03:20:43,800 ... 2021-07-09T03:20:43,800 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,800 cdef cl_int err_code 2021-07-09T03:20:43,800 cdef cl_context context_id 2021-07-09T03:20:43,800 cdef size_t value 2021-07-09T03:20:43,801 err_code = clGetKernelWorkGroupInfo(self.kernel_id, device_id, CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE, sizeof(size_t), & value, NULL) 2021-07-09T03:20:43,801 ^ 2021-07-09T03:20:43,801 ------------------------------------------------------------ 2021-07-09T03:20:43,801 opencl/kernel.pyx:452:71: undeclared name not builtin: CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE 2021-07-09T03:20:43,801 Error compiling Cython file: 2021-07-09T03:20:43,801 ------------------------------------------------------------ 2021-07-09T03:20:43,802 ... 2021-07-09T03:20:43,802 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,802 cdef cl_int err_code 2021-07-09T03:20:43,802 cdef cl_context context_id 2021-07-09T03:20:43,802 cdef size_t value 2021-07-09T03:20:43,802 err_code = clGetKernelWorkGroupInfo(self.kernel_id, device_id, CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE, sizeof(size_t), & value, NULL) 2021-07-09T03:20:43,802 ^ 2021-07-09T03:20:43,803 ------------------------------------------------------------ 2021-07-09T03:20:43,803 opencl/kernel.pyx:452:133: Cannot convert 'size_t *' to Python object 2021-07-09T03:20:43,803 Error compiling Cython file: 2021-07-09T03:20:43,803 ------------------------------------------------------------ 2021-07-09T03:20:43,803 ... 2021-07-09T03:20:43,803 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,803 cdef cl_int err_code 2021-07-09T03:20:43,804 cdef cl_context context_id 2021-07-09T03:20:43,804 cdef size_t value 2021-07-09T03:20:43,804 err_code = clGetKernelWorkGroupInfo(self.kernel_id, device_id, CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE, sizeof(size_t), & value, NULL) 2021-07-09T03:20:43,804 ^ 2021-07-09T03:20:43,804 ------------------------------------------------------------ 2021-07-09T03:20:43,804 opencl/kernel.pyx:452:142: Cannot convert 'void *' to Python object 2021-07-09T03:20:43,805 Error compiling Cython file: 2021-07-09T03:20:43,805 ------------------------------------------------------------ 2021-07-09T03:20:43,805 ... 2021-07-09T03:20:43,805 Returns the minimum amount of private memory, in bytes, used by each workitem in the kernel. This value may 2021-07-09T03:20:43,805 include any private memory needed by an implementation to execute the kernel, 2021-07-09T03:20:43,805 including that used by the language built-ins and variable declared inside the 2021-07-09T03:20:43,805 kernel with the __private qualifier. 2021-07-09T03:20:43,805 ''' 2021-07-09T03:20:43,805 if not CyDevice_Check(device): 2021-07-09T03:20:43,806 ^ 2021-07-09T03:20:43,806 ------------------------------------------------------------ 2021-07-09T03:20:43,806 opencl/kernel.pyx:466:15: 'CyDevice_Check' is not a constant, variable or function identifier 2021-07-09T03:20:43,806 Error compiling Cython file: 2021-07-09T03:20:43,806 ------------------------------------------------------------ 2021-07-09T03:20:43,806 ... 2021-07-09T03:20:43,807 kernel with the __private qualifier. 2021-07-09T03:20:43,807 ''' 2021-07-09T03:20:43,807 if not CyDevice_Check(device): 2021-07-09T03:20:43,807 raise TypeError("expected argument to be a device") 2021-07-09T03:20:43,807 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,807 ^ 2021-07-09T03:20:43,807 ------------------------------------------------------------ 2021-07-09T03:20:43,808 opencl/kernel.pyx:469:38: 'CyDevice_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:43,808 Error compiling Cython file: 2021-07-09T03:20:43,808 ------------------------------------------------------------ 2021-07-09T03:20:43,808 ... 2021-07-09T03:20:43,808 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,808 cdef cl_int err_code 2021-07-09T03:20:43,808 cdef cl_context context_id 2021-07-09T03:20:43,808 cdef size_t value 2021-07-09T03:20:43,809 err_code = clGetKernelWorkGroupInfo(self.kernel_id, device_id, CL_KERNEL_PRIVATE_MEM_SIZE, sizeof(size_t), & value, NULL) 2021-07-09T03:20:43,809 ^ 2021-07-09T03:20:43,809 ------------------------------------------------------------ 2021-07-09T03:20:43,809 opencl/kernel.pyx:474:71: undeclared name not builtin: CL_KERNEL_PRIVATE_MEM_SIZE 2021-07-09T03:20:43,809 Error compiling Cython file: 2021-07-09T03:20:43,809 ------------------------------------------------------------ 2021-07-09T03:20:43,810 ... 2021-07-09T03:20:43,810 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,810 cdef cl_int err_code 2021-07-09T03:20:43,810 cdef cl_context context_id 2021-07-09T03:20:43,810 cdef size_t value 2021-07-09T03:20:43,810 err_code = clGetKernelWorkGroupInfo(self.kernel_id, device_id, CL_KERNEL_PRIVATE_MEM_SIZE, sizeof(size_t), & value, NULL) 2021-07-09T03:20:43,810 ^ 2021-07-09T03:20:43,810 ------------------------------------------------------------ 2021-07-09T03:20:43,811 opencl/kernel.pyx:474:115: Cannot convert 'size_t *' to Python object 2021-07-09T03:20:43,811 Error compiling Cython file: 2021-07-09T03:20:43,811 ------------------------------------------------------------ 2021-07-09T03:20:43,811 ... 2021-07-09T03:20:43,811 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,811 cdef cl_int err_code 2021-07-09T03:20:43,812 cdef cl_context context_id 2021-07-09T03:20:43,812 cdef size_t value 2021-07-09T03:20:43,812 err_code = clGetKernelWorkGroupInfo(self.kernel_id, device_id, CL_KERNEL_PRIVATE_MEM_SIZE, sizeof(size_t), & value, NULL) 2021-07-09T03:20:43,812 ^ 2021-07-09T03:20:43,812 ------------------------------------------------------------ 2021-07-09T03:20:43,812 opencl/kernel.pyx:474:124: Cannot convert 'void *' to Python object 2021-07-09T03:20:43,813 Error compiling Cython file: 2021-07-09T03:20:43,813 ------------------------------------------------------------ 2021-07-09T03:20:43,813 ... 2021-07-09T03:20:43,813 qualifier and local memory to be allocated for arguments to the kernel 2021-07-09T03:20:43,813 declared as pointers with the __local address qualifier and whose size is 2021-07-09T03:20:43,813 specified with clSetKernelArg 2021-07-09T03:20:43,813 ''' 2021-07-09T03:20:43,813 if not CyDevice_Check(device): 2021-07-09T03:20:43,814 ^ 2021-07-09T03:20:43,814 ------------------------------------------------------------ 2021-07-09T03:20:43,814 opencl/kernel.pyx:491:15: 'CyDevice_Check' is not a constant, variable or function identifier 2021-07-09T03:20:43,814 Error compiling Cython file: 2021-07-09T03:20:43,814 ------------------------------------------------------------ 2021-07-09T03:20:43,814 ... 2021-07-09T03:20:43,815 ''' 2021-07-09T03:20:43,815 if not CyDevice_Check(device): 2021-07-09T03:20:43,815 raise TypeError("expected argument to be a device") 2021-07-09T03:20:43,815 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,815 ^ 2021-07-09T03:20:43,815 ------------------------------------------------------------ 2021-07-09T03:20:43,816 opencl/kernel.pyx:494:38: 'CyDevice_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:43,816 Error compiling Cython file: 2021-07-09T03:20:43,816 ------------------------------------------------------------ 2021-07-09T03:20:43,816 ... 2021-07-09T03:20:43,816 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,816 cdef cl_int err_code 2021-07-09T03:20:43,816 cdef cl_context context_id 2021-07-09T03:20:43,817 cdef size_t value 2021-07-09T03:20:43,817 err_code = clGetKernelWorkGroupInfo(self.kernel_id, device_id, CL_KERNEL_LOCAL_MEM_SIZE, sizeof(size_t), & value, NULL) 2021-07-09T03:20:43,817 ^ 2021-07-09T03:20:43,817 ------------------------------------------------------------ 2021-07-09T03:20:43,817 opencl/kernel.pyx:499:71: undeclared name not builtin: CL_KERNEL_LOCAL_MEM_SIZE 2021-07-09T03:20:43,817 Error compiling Cython file: 2021-07-09T03:20:43,818 ------------------------------------------------------------ 2021-07-09T03:20:43,818 ... 2021-07-09T03:20:43,818 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,818 cdef cl_int err_code 2021-07-09T03:20:43,818 cdef cl_context context_id 2021-07-09T03:20:43,818 cdef size_t value 2021-07-09T03:20:43,818 err_code = clGetKernelWorkGroupInfo(self.kernel_id, device_id, CL_KERNEL_LOCAL_MEM_SIZE, sizeof(size_t), & value, NULL) 2021-07-09T03:20:43,818 ^ 2021-07-09T03:20:43,819 ------------------------------------------------------------ 2021-07-09T03:20:43,819 opencl/kernel.pyx:499:113: Cannot convert 'size_t *' to Python object 2021-07-09T03:20:43,819 Error compiling Cython file: 2021-07-09T03:20:43,819 ------------------------------------------------------------ 2021-07-09T03:20:43,819 ... 2021-07-09T03:20:43,819 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,819 cdef cl_int err_code 2021-07-09T03:20:43,820 cdef cl_context context_id 2021-07-09T03:20:43,820 cdef size_t value 2021-07-09T03:20:43,820 err_code = clGetKernelWorkGroupInfo(self.kernel_id, device_id, CL_KERNEL_LOCAL_MEM_SIZE, sizeof(size_t), & value, NULL) 2021-07-09T03:20:43,820 ^ 2021-07-09T03:20:43,820 ------------------------------------------------------------ 2021-07-09T03:20:43,820 opencl/kernel.pyx:499:122: Cannot convert 'void *' to Python object 2021-07-09T03:20:43,821 Error compiling Cython file: 2021-07-09T03:20:43,821 ------------------------------------------------------------ 2021-07-09T03:20:43,821 ... 2021-07-09T03:20:43,821 ''' 2021-07-09T03:20:43,821 kernel.compile_work_group_size(device) 2021-07-09T03:20:43,821 Returns the work-group size specified by the __attribute__((reqd_work_group_size(X, Y, Z))) qualifier. 2021-07-09T03:20:43,821 ''' 2021-07-09T03:20:43,821 if not CyDevice_Check(device): 2021-07-09T03:20:43,822 ^ 2021-07-09T03:20:43,822 ------------------------------------------------------------ 2021-07-09T03:20:43,822 opencl/kernel.pyx:510:15: 'CyDevice_Check' is not a constant, variable or function identifier 2021-07-09T03:20:43,822 Error compiling Cython file: 2021-07-09T03:20:43,822 ------------------------------------------------------------ 2021-07-09T03:20:43,822 ... 2021-07-09T03:20:43,823 Returns the work-group size specified by the __attribute__((reqd_work_group_size(X, Y, Z))) qualifier. 2021-07-09T03:20:43,823 ''' 2021-07-09T03:20:43,823 if not CyDevice_Check(device): 2021-07-09T03:20:43,823 raise TypeError("expected argument to be a device") 2021-07-09T03:20:43,823 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,823 ^ 2021-07-09T03:20:43,823 ------------------------------------------------------------ 2021-07-09T03:20:43,824 opencl/kernel.pyx:513:38: 'CyDevice_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:43,824 Error compiling Cython file: 2021-07-09T03:20:43,824 ------------------------------------------------------------ 2021-07-09T03:20:43,824 ... 2021-07-09T03:20:43,824 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,824 cdef cl_int err_code 2021-07-09T03:20:43,824 cdef cl_context context_id 2021-07-09T03:20:43,824 cdef size_t value[3] 2021-07-09T03:20:43,825 err_code = clGetKernelWorkGroupInfo(self.kernel_id, device_id, CL_KERNEL_COMPILE_WORK_GROUP_SIZE, sizeof(size_t) * 3, < void *> value, NULL) 2021-07-09T03:20:43,825 ^ 2021-07-09T03:20:43,825 ------------------------------------------------------------ 2021-07-09T03:20:43,825 opencl/kernel.pyx:518:71: undeclared name not builtin: CL_KERNEL_COMPILE_WORK_GROUP_SIZE 2021-07-09T03:20:43,825 Error compiling Cython file: 2021-07-09T03:20:43,826 ------------------------------------------------------------ 2021-07-09T03:20:43,826 ... 2021-07-09T03:20:43,826 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,826 cdef cl_int err_code 2021-07-09T03:20:43,826 cdef cl_context context_id 2021-07-09T03:20:43,826 cdef size_t value[3] 2021-07-09T03:20:43,826 err_code = clGetKernelWorkGroupInfo(self.kernel_id, device_id, CL_KERNEL_COMPILE_WORK_GROUP_SIZE, sizeof(size_t) * 3, < void *> value, NULL) 2021-07-09T03:20:43,826 ^ 2021-07-09T03:20:43,827 ------------------------------------------------------------ 2021-07-09T03:20:43,827 opencl/kernel.pyx:518:126: Cannot convert 'void *' to Python object 2021-07-09T03:20:43,827 Error compiling Cython file: 2021-07-09T03:20:43,827 ------------------------------------------------------------ 2021-07-09T03:20:43,827 ... 2021-07-09T03:20:43,827 cdef cl_device_id device_id = CyDevice_GetID(device) 2021-07-09T03:20:43,827 cdef cl_int err_code 2021-07-09T03:20:43,827 cdef cl_context context_id 2021-07-09T03:20:43,828 cdef size_t value[3] 2021-07-09T03:20:43,828 err_code = clGetKernelWorkGroupInfo(self.kernel_id, device_id, CL_KERNEL_COMPILE_WORK_GROUP_SIZE, sizeof(size_t) * 3, < void *> value, NULL) 2021-07-09T03:20:43,828 ^ 2021-07-09T03:20:43,828 ------------------------------------------------------------ 2021-07-09T03:20:43,828 opencl/kernel.pyx:518:143: Cannot convert 'void *' to Python object 2021-07-09T03:20:43,828 Error compiling Cython file: 2021-07-09T03:20:43,829 ------------------------------------------------------------ 2021-07-09T03:20:43,829 ... 2021-07-09T03:20:43,829 def __get__(self): 2021-07-09T03:20:43,829 cdef cl_int err_code 2021-07-09T03:20:43,829 cdef size_t nbytes 2021-07-09T03:20:43,829 cdef char * name = NULL 2021-07-09T03:20:43,829 err_code = clGetKernelInfo(self.kernel_id, CL_KERNEL_FUNCTION_NAME, 0, NULL, & nbytes) 2021-07-09T03:20:43,829 ^ 2021-07-09T03:20:43,830 ------------------------------------------------------------ 2021-07-09T03:20:43,830 opencl/kernel.pyx:532:55: undeclared name not builtin: CL_KERNEL_FUNCTION_NAME 2021-07-09T03:20:43,830 Error compiling Cython file: 2021-07-09T03:20:43,830 ------------------------------------------------------------ 2021-07-09T03:20:43,830 ... 2021-07-09T03:20:43,830 def __get__(self): 2021-07-09T03:20:43,830 cdef cl_int err_code 2021-07-09T03:20:43,831 cdef size_t nbytes 2021-07-09T03:20:43,831 cdef char * name = NULL 2021-07-09T03:20:43,831 err_code = clGetKernelInfo(self.kernel_id, CL_KERNEL_FUNCTION_NAME, 0, NULL, & nbytes) 2021-07-09T03:20:43,831 ^ 2021-07-09T03:20:43,831 ------------------------------------------------------------ 2021-07-09T03:20:43,831 opencl/kernel.pyx:532:83: Cannot convert 'void *' to Python object 2021-07-09T03:20:43,832 Error compiling Cython file: 2021-07-09T03:20:43,832 ------------------------------------------------------------ 2021-07-09T03:20:43,832 ... 2021-07-09T03:20:43,832 def __get__(self): 2021-07-09T03:20:43,832 cdef cl_int err_code 2021-07-09T03:20:43,832 cdef size_t nbytes 2021-07-09T03:20:43,832 cdef char * name = NULL 2021-07-09T03:20:43,832 err_code = clGetKernelInfo(self.kernel_id, CL_KERNEL_FUNCTION_NAME, 0, NULL, & nbytes) 2021-07-09T03:20:43,833 ^ 2021-07-09T03:20:43,833 ------------------------------------------------------------ 2021-07-09T03:20:43,833 opencl/kernel.pyx:532:89: Cannot convert 'size_t *' to Python object 2021-07-09T03:20:43,833 Error compiling Cython file: 2021-07-09T03:20:43,833 ------------------------------------------------------------ 2021-07-09T03:20:43,833 ... 2021-07-09T03:20:43,833 err_code = clGetKernelInfo(self.kernel_id, CL_KERNEL_FUNCTION_NAME, 0, NULL, & nbytes) 2021-07-09T03:20:43,834 if err_code != CL_SUCCESS: raise OpenCLException(err_code) 2021-07-09T03:20:43,834 name = < char *> malloc(nbytes + 1) 2021-07-09T03:20:43,834 err_code = clGetKernelInfo(self.kernel_id, CL_KERNEL_FUNCTION_NAME, nbytes, name, NULL) 2021-07-09T03:20:43,834 ^ 2021-07-09T03:20:43,834 ------------------------------------------------------------ 2021-07-09T03:20:43,834 opencl/kernel.pyx:537:94: Cannot convert 'void *' to Python object 2021-07-09T03:20:43,835 Error compiling Cython file: 2021-07-09T03:20:43,835 ------------------------------------------------------------ 2021-07-09T03:20:43,835 ... 2021-07-09T03:20:43,835 arg_size = ctypes.sizeof(carg) 2021-07-09T03:20:43,835 tmp = < size_t > ctypes.addressof(carg) 2021-07-09T03:20:43,835 arg_value = < void *> tmp 2021-07-09T03:20:43,835 err_code = clSetKernelArg(self.kernel_id, arg_index, arg_size, arg_value) 2021-07-09T03:20:43,836 ^ 2021-07-09T03:20:43,836 ------------------------------------------------------------ 2021-07-09T03:20:43,836 opencl/kernel.pyx:593:23: undeclared name not builtin: clSetKernelArg 2021-07-09T03:20:43,836 Error compiling Cython file: 2021-07-09T03:20:43,836 ------------------------------------------------------------ 2021-07-09T03:20:43,836 ... 2021-07-09T03:20:43,837 arg_size = ctypes.sizeof(carg) 2021-07-09T03:20:43,837 tmp = < size_t > ctypes.addressof(carg) 2021-07-09T03:20:43,837 arg_value = < void *> tmp 2021-07-09T03:20:43,837 err_code = clSetKernelArg(self.kernel_id, arg_index, arg_size, arg_value) 2021-07-09T03:20:43,837 ^ 2021-07-09T03:20:43,837 ------------------------------------------------------------ 2021-07-09T03:20:43,837 opencl/kernel.pyx:593:75: Cannot convert 'void *' to Python object 2021-07-09T03:20:43,838 Error compiling Cython file: 2021-07-09T03:20:43,838 ------------------------------------------------------------ 2021-07-09T03:20:43,838 ... 2021-07-09T03:20:43,838 return kernel.kernel_id 2021-07-09T03:20:43,838 cdef api object KernelAsPyKernel(cl_kernel kernel_id): 2021-07-09T03:20:43,838 cdef Kernel kernel = < Kernel > Kernel.__new__(Kernel) 2021-07-09T03:20:43,838 kernel.kernel_id = kernel_id 2021-07-09T03:20:43,839 clRetainKernel(kernel_id) 2021-07-09T03:20:43,839 ^ 2021-07-09T03:20:43,839 ------------------------------------------------------------ 2021-07-09T03:20:43,839 opencl/kernel.pyx:643:4: undeclared name not builtin: clRetainKernel 2021-07-09T03:20:44,076 cythoning opencl/cl_mem.pyx to opencl/cl_mem.c 2021-07-09T03:20:44,080 /usr/local/lib/python3.9/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-6gt1nq2h/opencl-for-python_c1a6ab231b0f46fe81e2d5c22234fd72/opencl/cl_mem.pyx 2021-07-09T03:20:44,080 tree = Parsing.p_module(s, pxd, full_module_name) 2021-07-09T03:20:44,862 warning: opencl/cl_mem.pyx:1253:8: Unreachable code 2021-07-09T03:20:46,551 Error compiling Cython file: 2021-07-09T03:20:46,551 ------------------------------------------------------------ 2021-07-09T03:20:46,552 ... 2021-07-09T03:20:46,552 from libc.string cimport strcpy, memcpy 2021-07-09T03:20:46,552 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:46,552 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:46,552 from _cl cimport * 2021-07-09T03:20:46,552 ^ 2021-07-09T03:20:46,553 ------------------------------------------------------------ 2021-07-09T03:20:46,553 opencl/cl_mem.pyx:14:0: '_cl.pxd' not found 2021-07-09T03:20:46,554 Error compiling Cython file: 2021-07-09T03:20:46,554 ------------------------------------------------------------ 2021-07-09T03:20:46,554 ... 2021-07-09T03:20:46,554 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:46,554 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:46,555 from _cl cimport * 2021-07-09T03:20:46,555 from opencl.context cimport CyContext_GetID, CyContext_Create, CyContext_Check 2021-07-09T03:20:46,555 ^ 2021-07-09T03:20:46,555 ------------------------------------------------------------ 2021-07-09T03:20:46,555 opencl/cl_mem.pyx:15:0: 'opencl/context.pxd' not found 2021-07-09T03:20:46,555 Error compiling Cython file: 2021-07-09T03:20:46,556 ------------------------------------------------------------ 2021-07-09T03:20:46,556 ... 2021-07-09T03:20:46,556 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:46,556 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:46,556 from _cl cimport * 2021-07-09T03:20:46,557 from opencl.context cimport CyContext_GetID, CyContext_Create, CyContext_Check 2021-07-09T03:20:46,557 ^ 2021-07-09T03:20:46,557 ------------------------------------------------------------ 2021-07-09T03:20:46,557 opencl/cl_mem.pyx:15:0: 'opencl/context/CyContext_GetID.pxd' not found 2021-07-09T03:20:46,558 Error compiling Cython file: 2021-07-09T03:20:46,558 ------------------------------------------------------------ 2021-07-09T03:20:46,558 ... 2021-07-09T03:20:46,558 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:46,558 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:46,559 from _cl cimport * 2021-07-09T03:20:46,559 from opencl.context cimport CyContext_GetID, CyContext_Create, CyContext_Check 2021-07-09T03:20:46,559 ^ 2021-07-09T03:20:46,559 ------------------------------------------------------------ 2021-07-09T03:20:46,560 opencl/cl_mem.pyx:15:0: 'opencl/context/CyContext_Create.pxd' not found 2021-07-09T03:20:46,562 Error compiling Cython file: 2021-07-09T03:20:46,562 ------------------------------------------------------------ 2021-07-09T03:20:46,562 ... 2021-07-09T03:20:46,562 from cpython cimport PyObject, Py_DECREF, Py_INCREF, PyBuffer_IsContiguous, PyBuffer_FillContiguousStrides 2021-07-09T03:20:46,562 from cpython cimport Py_buffer, PyBUF_SIMPLE, PyBUF_STRIDES, PyBUF_ND, PyBUF_FORMAT, PyBUF_INDIRECT, PyBUF_WRITABLE 2021-07-09T03:20:46,562 from _cl cimport * 2021-07-09T03:20:46,563 from opencl.context cimport CyContext_GetID, CyContext_Create, CyContext_Check 2021-07-09T03:20:46,563 ^ 2021-07-09T03:20:46,563 ------------------------------------------------------------ 2021-07-09T03:20:46,563 opencl/cl_mem.pyx:15:0: 'opencl/context/CyContext_Check.pxd' not found 2021-07-09T03:20:46,563 Error compiling Cython file: 2021-07-09T03:20:46,563 ------------------------------------------------------------ 2021-07-09T03:20:46,564 ... 2021-07-09T03:20:46,564 cdef class UserData: 2021-07-09T03:20:46,564 cdef object function 2021-07-09T03:20:46,564 cdef object args 2021-07-09T03:20:46,564 cdef object kwargs 2021-07-09T03:20:46,564 cdef void pfn_notify_destroy_mem_object(cl_mem memobj, UserData user_data) with gil: 2021-07-09T03:20:46,564 ^ 2021-07-09T03:20:46,564 ------------------------------------------------------------ 2021-07-09T03:20:46,565 opencl/cl_mem.pyx:38:40: 'cl_mem' is not a type identifier 2021-07-09T03:20:46,565 Error compiling Cython file: 2021-07-09T03:20:46,565 ------------------------------------------------------------ 2021-07-09T03:20:46,565 ... 2021-07-09T03:20:46,566 ''' 2021-07-09T03:20:46,566 BUFFER = CL_MEM_OBJECT_BUFFER 2021-07-09T03:20:46,566 IMAGE2D = CL_MEM_OBJECT_IMAGE2D 2021-07-09T03:20:46,566 IMAGE3D = CL_MEM_OBJECT_IMAGE3D 2021-07-09T03:20:46,566 cdef cl_mem buffer_id 2021-07-09T03:20:46,566 ^ 2021-07-09T03:20:46,566 ------------------------------------------------------------ 2021-07-09T03:20:46,567 opencl/cl_mem.pyx:68:9: 'cl_mem' is not a type identifier 2021-07-09T03:20:46,567 Error compiling Cython file: 2021-07-09T03:20:46,567 ------------------------------------------------------------ 2021-07-09T03:20:46,567 ... 2021-07-09T03:20:46,567 if err_code != CL_SUCCESS: 2021-07-09T03:20:46,567 raise OpenCLException(err_code) 2021-07-09T03:20:46,568 return param_value 2021-07-09T03:20:46,568 cdef cl_mem _get_base(self): 2021-07-09T03:20:46,568 ^ 2021-07-09T03:20:46,568 ------------------------------------------------------------ 2021-07-09T03:20:46,568 opencl/cl_mem.pyx:217:9: 'cl_mem' is not a type identifier 2021-07-09T03:20:46,573 Error compiling Cython file: 2021-07-09T03:20:46,573 ------------------------------------------------------------ 2021-07-09T03:20:46,574 ... 2021-07-09T03:20:46,574 CL_RGBA : 'T{%(dtype)s:r:%(dtype)s:g:%(dtype)s:b:%(dtype)s:a:}', 2021-07-09T03:20:46,574 CL_ARGB : 'T{%(dtype)s:a:%(dtype)s:r:%(dtype)s:g:%(dtype)s:b:}', 2021-07-09T03:20:46,574 CL_BGRA : 'T{%(dtype)s:b:%(dtype)s:g:%(dtype)s:r:%(dtype)s:a:}', 2021-07-09T03:20:46,574 } 2021-07-09T03:20:46,574 cdef cl_image_format cl_format 2021-07-09T03:20:46,574 ^ 2021-07-09T03:20:46,575 ------------------------------------------------------------ 2021-07-09T03:20:46,575 opencl/cl_mem.pyx:839:9: 'cl_image_format' is not a type identifier 2021-07-09T03:20:46,578 Error compiling Cython file: 2021-07-09T03:20:46,578 ------------------------------------------------------------ 2021-07-09T03:20:46,578 ... 2021-07-09T03:20:46,579 #=============================================================================== 2021-07-09T03:20:46,579 # API 2021-07-09T03:20:46,579 #=============================================================================== 2021-07-09T03:20:46,579 cdef api object CyMemoryObject_Create(cl_mem buffer_id): 2021-07-09T03:20:46,579 ^ 2021-07-09T03:20:46,579 ------------------------------------------------------------ 2021-07-09T03:20:46,579 opencl/cl_mem.pyx:1157:38: 'cl_mem' is not a type identifier 2021-07-09T03:20:46,580 Error compiling Cython file: 2021-07-09T03:20:46,580 ------------------------------------------------------------ 2021-07-09T03:20:46,580 ... 2021-07-09T03:20:46,580 cdef DeviceMemoryView dview = < DeviceMemoryView > view 2021-07-09T03:20:46,580 buffer[0] = dview.buffer[0] 2021-07-09T03:20:46,580 return 0 2021-07-09T03:20:46,581 cdef api object CyView_Create(cl_mem buffer_id, Py_buffer * buffer, object ctype, int incref): 2021-07-09T03:20:46,581 ^ 2021-07-09T03:20:46,581 ------------------------------------------------------------ 2021-07-09T03:20:46,581 opencl/cl_mem.pyx:1169:30: 'cl_mem' is not a type identifier 2021-07-09T03:20:46,581 Error compiling Cython file: 2021-07-09T03:20:46,581 ------------------------------------------------------------ 2021-07-09T03:20:46,582 ... 2021-07-09T03:20:46,582 dview.buffer = buffer 2021-07-09T03:20:46,582 dview._ctype = ctype 2021-07-09T03:20:46,582 return dview 2021-07-09T03:20:46,582 cdef api object CyView_CreateSubclass(object cls, cl_mem buffer_id, Py_buffer * buffer, object ctype, int incref): 2021-07-09T03:20:46,582 ^ 2021-07-09T03:20:46,582 ------------------------------------------------------------ 2021-07-09T03:20:46,583 opencl/cl_mem.pyx:1180:50: 'cl_mem' is not a type identifier 2021-07-09T03:20:46,583 Error compiling Cython file: 2021-07-09T03:20:46,583 ------------------------------------------------------------ 2021-07-09T03:20:46,583 ... 2021-07-09T03:20:46,583 obj = (< DeviceMemoryView > memobj) 2021-07-09T03:20:46,583 return obj.buffer 2021-07-09T03:20:46,584 cdef api object CyImage_Create(cl_mem buffer_id, Py_buffer * buffer, int incref): 2021-07-09T03:20:46,584 ^ 2021-07-09T03:20:46,584 ------------------------------------------------------------ 2021-07-09T03:20:46,584 opencl/cl_mem.pyx:1197:31: 'cl_mem' is not a type identifier 2021-07-09T03:20:46,585 Error compiling Cython file: 2021-07-09T03:20:46,585 ------------------------------------------------------------ 2021-07-09T03:20:46,585 ... 2021-07-09T03:20:46,585 return 0 2021-07-09T03:20:46,585 cdef api int CyMemoryObject_Check(object memobj): 2021-07-09T03:20:46,585 return isinstance(memobj, MemoryObject) 2021-07-09T03:20:46,586 cdef api cl_mem CyMemoryObject_GetID(object memobj): 2021-07-09T03:20:46,586 ^ 2021-07-09T03:20:46,586 ------------------------------------------------------------ 2021-07-09T03:20:46,586 opencl/cl_mem.pyx:1215:9: 'cl_mem' is not a type identifier 2021-07-09T03:20:46,586 Error compiling Cython file: 2021-07-09T03:20:46,586 ------------------------------------------------------------ 2021-07-09T03:20:46,586 ... 2021-07-09T03:20:46,587 cdef api int ImageFormat_Check(object fmt): 2021-07-09T03:20:46,587 return isinstance(fmt, ImageFormat) 2021-07-09T03:20:46,587 cdef api cl_image_format ImageFormat_Get(object fmt): 2021-07-09T03:20:46,587 ^ 2021-07-09T03:20:46,587 ------------------------------------------------------------ 2021-07-09T03:20:46,587 opencl/cl_mem.pyx:1224:9: 'cl_image_format' is not a type identifier 2021-07-09T03:20:46,588 Error compiling Cython file: 2021-07-09T03:20:46,588 ------------------------------------------------------------ 2021-07-09T03:20:46,588 ... 2021-07-09T03:20:46,588 return isinstance(fmt, ImageFormat) 2021-07-09T03:20:46,588 cdef api cl_image_format ImageFormat_Get(object fmt): 2021-07-09T03:20:46,588 return (< ImageFormat > fmt).cl_format 2021-07-09T03:20:46,589 cdef api object CyImageFormat_New(cl_image_format image_format): 2021-07-09T03:20:46,589 ^ 2021-07-09T03:20:46,589 ------------------------------------------------------------ 2021-07-09T03:20:46,589 opencl/cl_mem.pyx:1227:34: 'cl_image_format' is not a type identifier 2021-07-09T03:20:46,589 Error compiling Cython file: 2021-07-09T03:20:46,589 ------------------------------------------------------------ 2021-07-09T03:20:46,590 ... 2021-07-09T03:20:46,590 cdef api object CyImageFormat_New(cl_image_format image_format): 2021-07-09T03:20:46,590 cdef ImageFormat fmt = < ImageFormat > ImageFormat.__new__(ImageFormat) 2021-07-09T03:20:46,590 fmt.cl_format = image_format 2021-07-09T03:20:46,590 return fmt 2021-07-09T03:20:46,590 cdef api object CyImage_New(cl_mem buffer_id): 2021-07-09T03:20:46,590 ^ 2021-07-09T03:20:46,590 ------------------------------------------------------------ 2021-07-09T03:20:46,591 opencl/cl_mem.pyx:1232:28: 'cl_mem' is not a type identifier 2021-07-09T03:20:46,618 Error compiling Cython file: 2021-07-09T03:20:46,618 ------------------------------------------------------------ 2021-07-09T03:20:46,618 ... 2021-07-09T03:20:46,618 ''' 2021-07-09T03:20:46,618 Py_INCREF(callback) 2021-07-09T03:20:46,619 # cdef void * user_data = < void *> callback 2021-07-09T03:20:46,619 cdef cl_int err_code 2021-07-09T03:20:46,619 ^ 2021-07-09T03:20:46,619 ------------------------------------------------------------ 2021-07-09T03:20:46,619 opencl/cl_mem.pyx:106:13: 'cl_int' is not a type identifier 2021-07-09T03:20:46,620 Error compiling Cython file: 2021-07-09T03:20:46,620 ------------------------------------------------------------ 2021-07-09T03:20:46,620 ... 2021-07-09T03:20:46,620 property context: 2021-07-09T03:20:46,620 ''' 2021-07-09T03:20:46,620 Return the context that this object was created with. 2021-07-09T03:20:46,620 ''' 2021-07-09T03:20:46,620 def __get__(self): 2021-07-09T03:20:46,620 cdef cl_context param_value 2021-07-09T03:20:46,621 ^ 2021-07-09T03:20:46,621 ------------------------------------------------------------ 2021-07-09T03:20:46,621 opencl/cl_mem.pyx:125:17: 'cl_context' is not a type identifier 2021-07-09T03:20:46,621 Error compiling Cython file: 2021-07-09T03:20:46,621 ------------------------------------------------------------ 2021-07-09T03:20:46,621 ... 2021-07-09T03:20:46,622 ''' 2021-07-09T03:20:46,622 Return the context that this object was created with. 2021-07-09T03:20:46,622 ''' 2021-07-09T03:20:46,622 def __get__(self): 2021-07-09T03:20:46,622 cdef cl_context param_value 2021-07-09T03:20:46,622 cdef cl_int err_code 2021-07-09T03:20:46,622 ^ 2021-07-09T03:20:46,622 ------------------------------------------------------------ 2021-07-09T03:20:46,623 opencl/cl_mem.pyx:126:17: 'cl_int' is not a type identifier 2021-07-09T03:20:46,623 Error compiling Cython file: 2021-07-09T03:20:46,623 ------------------------------------------------------------ 2021-07-09T03:20:46,623 ... 2021-07-09T03:20:46,623 return the enumed type of this object. 2021-07-09T03:20:46,623 One of MemoryObject.BUFFER, MemoryObject.IMAGE2D or MemoryObject.IMAGE3D 2021-07-09T03:20:46,623 ''' 2021-07-09T03:20:46,624 def __get__(self): 2021-07-09T03:20:46,624 cdef cl_mem_object_type param_value 2021-07-09T03:20:46,624 ^ 2021-07-09T03:20:46,624 ------------------------------------------------------------ 2021-07-09T03:20:46,624 opencl/cl_mem.pyx:144:17: 'cl_mem_object_type' is not a type identifier 2021-07-09T03:20:46,624 Error compiling Cython file: 2021-07-09T03:20:46,625 ------------------------------------------------------------ 2021-07-09T03:20:46,625 ... 2021-07-09T03:20:46,625 One of MemoryObject.BUFFER, MemoryObject.IMAGE2D or MemoryObject.IMAGE3D 2021-07-09T03:20:46,625 ''' 2021-07-09T03:20:46,625 def __get__(self): 2021-07-09T03:20:46,625 cdef cl_mem_object_type param_value 2021-07-09T03:20:46,625 cdef cl_int err_code 2021-07-09T03:20:46,626 ^ 2021-07-09T03:20:46,626 ------------------------------------------------------------ 2021-07-09T03:20:46,626 opencl/cl_mem.pyx:145:17: 'cl_int' is not a type identifier 2021-07-09T03:20:46,626 Error compiling Cython file: 2021-07-09T03:20:46,626 ------------------------------------------------------------ 2021-07-09T03:20:46,626 ... 2021-07-09T03:20:46,627 Return the size in bytes of this memory object. 2021-07-09T03:20:46,627 ''' 2021-07-09T03:20:46,627 def __get__(self): 2021-07-09T03:20:46,627 cdef size_t param_value 2021-07-09T03:20:46,627 cdef cl_int err_code 2021-07-09T03:20:46,627 ^ 2021-07-09T03:20:46,627 ------------------------------------------------------------ 2021-07-09T03:20:46,628 opencl/cl_mem.pyx:162:17: 'cl_int' is not a type identifier 2021-07-09T03:20:46,628 Error compiling Cython file: 2021-07-09T03:20:46,628 ------------------------------------------------------------ 2021-07-09T03:20:46,628 ... 2021-07-09T03:20:46,628 property _refcount: 2021-07-09T03:20:46,628 ''' 2021-07-09T03:20:46,628 Return the OpenCL internal refrence count of this object. 2021-07-09T03:20:46,629 ''' 2021-07-09T03:20:46,629 def __get__(self): 2021-07-09T03:20:46,629 cdef cl_uint param_value 2021-07-09T03:20:46,629 ^ 2021-07-09T03:20:46,629 ------------------------------------------------------------ 2021-07-09T03:20:46,629 opencl/cl_mem.pyx:177:17: 'cl_uint' is not a type identifier 2021-07-09T03:20:46,629 Error compiling Cython file: 2021-07-09T03:20:46,630 ------------------------------------------------------------ 2021-07-09T03:20:46,630 ... 2021-07-09T03:20:46,630 ''' 2021-07-09T03:20:46,630 Return the OpenCL internal refrence count of this object. 2021-07-09T03:20:46,630 ''' 2021-07-09T03:20:46,630 def __get__(self): 2021-07-09T03:20:46,630 cdef cl_uint param_value 2021-07-09T03:20:46,630 cdef cl_int err_code 2021-07-09T03:20:46,630 ^ 2021-07-09T03:20:46,631 ------------------------------------------------------------ 2021-07-09T03:20:46,631 opencl/cl_mem.pyx:178:17: 'cl_int' is not a type identifier 2021-07-09T03:20:46,631 Error compiling Cython file: 2021-07-09T03:20:46,631 ------------------------------------------------------------ 2021-07-09T03:20:46,631 ... 2021-07-09T03:20:46,631 return param_value 2021-07-09T03:20:46,632 property _mapcount: 2021-07-09T03:20:46,632 def __get__(self): 2021-07-09T03:20:46,632 cdef cl_uint param_value 2021-07-09T03:20:46,632 ^ 2021-07-09T03:20:46,632 ------------------------------------------------------------ 2021-07-09T03:20:46,632 opencl/cl_mem.pyx:190:17: 'cl_uint' is not a type identifier 2021-07-09T03:20:46,633 Error compiling Cython file: 2021-07-09T03:20:46,633 ------------------------------------------------------------ 2021-07-09T03:20:46,633 ... 2021-07-09T03:20:46,633 property _mapcount: 2021-07-09T03:20:46,633 def __get__(self): 2021-07-09T03:20:46,633 cdef cl_uint param_value 2021-07-09T03:20:46,633 cdef cl_int err_code 2021-07-09T03:20:46,634 ^ 2021-07-09T03:20:46,634 ------------------------------------------------------------ 2021-07-09T03:20:46,634 opencl/cl_mem.pyx:191:17: 'cl_int' is not a type identifier 2021-07-09T03:20:46,634 Error compiling Cython file: 2021-07-09T03:20:46,634 ------------------------------------------------------------ 2021-07-09T03:20:46,634 ... 2021-07-09T03:20:46,635 Return the offset from `base` of this is a subbuffer. 2021-07-09T03:20:46,635 ''' 2021-07-09T03:20:46,635 def __get__(self): 2021-07-09T03:20:46,635 cdef size_t param_value 2021-07-09T03:20:46,635 cdef cl_int err_code 2021-07-09T03:20:46,635 ^ 2021-07-09T03:20:46,635 ------------------------------------------------------------ 2021-07-09T03:20:46,636 opencl/cl_mem.pyx:207:17: 'cl_int' is not a type identifier 2021-07-09T03:20:46,636 Error compiling Cython file: 2021-07-09T03:20:46,636 ------------------------------------------------------------ 2021-07-09T03:20:46,636 ... 2021-07-09T03:20:46,636 return param_value 2021-07-09T03:20:46,636 cdef cl_mem _get_base(self): 2021-07-09T03:20:46,637 cdef cl_mem param_value 2021-07-09T03:20:46,637 ^ 2021-07-09T03:20:46,637 ------------------------------------------------------------ 2021-07-09T03:20:46,637 opencl/cl_mem.pyx:219:13: 'cl_mem' is not a type identifier 2021-07-09T03:20:46,637 Error compiling Cython file: 2021-07-09T03:20:46,637 ------------------------------------------------------------ 2021-07-09T03:20:46,638 ... 2021-07-09T03:20:46,638 property base: 2021-07-09T03:20:46,638 ''' 2021-07-09T03:20:46,638 Return the original memobject if this is a sub-buffer. 2021-07-09T03:20:46,638 ''' 2021-07-09T03:20:46,638 def __get__(self): 2021-07-09T03:20:46,638 cdef cl_mem param_value 2021-07-09T03:20:46,638 ^ 2021-07-09T03:20:46,639 ------------------------------------------------------------ 2021-07-09T03:20:46,639 opencl/cl_mem.pyx:228:17: 'cl_mem' is not a type identifier 2021-07-09T03:20:46,639 Error compiling Cython file: 2021-07-09T03:20:46,639 ------------------------------------------------------------ 2021-07-09T03:20:46,639 ... 2021-07-09T03:20:46,639 ''' 2021-07-09T03:20:46,639 Return the original memobject if this is a sub-buffer. 2021-07-09T03:20:46,640 ''' 2021-07-09T03:20:46,640 def __get__(self): 2021-07-09T03:20:46,640 cdef cl_mem param_value 2021-07-09T03:20:46,640 cdef cl_int err_code 2021-07-09T03:20:46,640 ^ 2021-07-09T03:20:46,640 ------------------------------------------------------------ 2021-07-09T03:20:46,640 opencl/cl_mem.pyx:229:17: 'cl_int' is not a type identifier 2021-07-09T03:20:46,641 Error compiling Cython file: 2021-07-09T03:20:46,641 ------------------------------------------------------------ 2021-07-09T03:20:46,641 ... 2021-07-09T03:20:46,641 raise ValueError("total size of new array must be unchanged") 2021-07-09T03:20:46,641 if not self.is_contiguous: 2021-07-09T03:20:46,641 raise Exception("array must be contiguous to reshape") 2021-07-09T03:20:46,641 cdef cl_mem buffer_id = self.buffer_id 2021-07-09T03:20:46,642 ^ 2021-07-09T03:20:46,642 ------------------------------------------------------------ 2021-07-09T03:20:46,642 opencl/cl_mem.pyx:336:13: 'cl_mem' is not a type identifier 2021-07-09T03:20:46,642 Error compiling Cython file: 2021-07-09T03:20:46,642 ------------------------------------------------------------ 2021-07-09T03:20:46,642 ... 2021-07-09T03:20:46,642 space and returns a pointer to this mapped region. 2021-07-09T03:20:46,643 ''' 2021-07-09T03:20:46,643 from opencl.queue import MemoryViewMap 2021-07-09T03:20:46,643 cdef cl_map_flags flags = 0 2021-07-09T03:20:46,643 ^ 2021-07-09T03:20:46,643 ------------------------------------------------------------ 2021-07-09T03:20:46,643 opencl/cl_mem.pyx:373:13: 'cl_map_flags' is not a type identifier 2021-07-09T03:20:46,644 Error compiling Cython file: 2021-07-09T03:20:46,644 ------------------------------------------------------------ 2021-07-09T03:20:46,644 ... 2021-07-09T03:20:46,644 if readable: 2021-07-09T03:20:46,644 flags |= CL_MAP_READ 2021-07-09T03:20:46,644 if writeable: 2021-07-09T03:20:46,644 flags |= CL_MAP_WRITE 2021-07-09T03:20:46,645 cdef cl_bool blocking_map = 1 if blocking else 0 2021-07-09T03:20:46,645 ^ 2021-07-09T03:20:46,645 ------------------------------------------------------------ 2021-07-09T03:20:46,645 opencl/cl_mem.pyx:380:13: 'cl_bool' is not a type identifier 2021-07-09T03:20:46,645 Error compiling Cython file: 2021-07-09T03:20:46,645 ------------------------------------------------------------ 2021-07-09T03:20:46,646 ... 2021-07-09T03:20:46,646 if isinstance(host, int): 2021-07-09T03:20:46,646 host = ctypes.c_int(host) 2021-07-09T03:20:46,646 elif isinstance(host, float): 2021-07-09T03:20:46,646 host = ctypes.c_float(host) 2021-07-09T03:20:46,646 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:46,646 ^ 2021-07-09T03:20:46,646 ------------------------------------------------------------ 2021-07-09T03:20:46,647 opencl/cl_mem.pyx:399:13: 'cl_context' is not a type identifier 2021-07-09T03:20:46,647 Error compiling Cython file: 2021-07-09T03:20:46,647 ------------------------------------------------------------ 2021-07-09T03:20:46,647 ... 2021-07-09T03:20:46,647 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:46,648 cdef Py_buffer view 2021-07-09T03:20:46,648 cdef Py_buffer * buffer = < Py_buffer *> malloc(sizeof(Py_buffer)) 2021-07-09T03:20:46,648 cdef cl_mem buffer_id = NULL 2021-07-09T03:20:46,648 ^ 2021-07-09T03:20:46,648 ------------------------------------------------------------ 2021-07-09T03:20:46,648 opencl/cl_mem.pyx:403:13: 'cl_mem' is not a type identifier 2021-07-09T03:20:46,648 Error compiling Cython file: 2021-07-09T03:20:46,649 ------------------------------------------------------------ 2021-07-09T03:20:46,649 ... 2021-07-09T03:20:46,649 cdef Py_buffer * buffer = < Py_buffer *> malloc(sizeof(Py_buffer)) 2021-07-09T03:20:46,649 cdef cl_mem buffer_id = NULL 2021-07-09T03:20:46,649 cdef int py_flags = PyBUF_SIMPLE | PyBUF_STRIDES | PyBUF_ND | PyBUF_FORMAT 2021-07-09T03:20:46,649 cdef cl_mem_flags mem_flags = 0 2021-07-09T03:20:46,649 ^ 2021-07-09T03:20:46,650 ------------------------------------------------------------ 2021-07-09T03:20:46,650 opencl/cl_mem.pyx:407:13: 'cl_mem_flags' is not a type identifier 2021-07-09T03:20:46,650 Error compiling Cython file: 2021-07-09T03:20:46,650 ------------------------------------------------------------ 2021-07-09T03:20:46,650 ... 2021-07-09T03:20:46,650 elif writeable: 2021-07-09T03:20:46,651 mem_flags |= CL_MEM_WRITE_ONLY 2021-07-09T03:20:46,651 else: 2021-07-09T03:20:46,651 raise Exception("at least one of arguments 'readable' or 'writable' must be true") 2021-07-09T03:20:46,651 cdef cl_int err_code 2021-07-09T03:20:46,651 ^ 2021-07-09T03:20:46,651 ------------------------------------------------------------ 2021-07-09T03:20:46,651 opencl/cl_mem.pyx:422:13: 'cl_int' is not a type identifier 2021-07-09T03:20:46,652 Error compiling Cython file: 2021-07-09T03:20:46,652 ------------------------------------------------------------ 2021-07-09T03:20:46,652 ... 2021-07-09T03:20:46,652 buffer.strides[i] = strides[i] 2021-07-09T03:20:46,652 if offset == 0: 2021-07-09T03:20:46,652 return CyView_Create(self.buffer_id, buffer, self.ctype, 1) 2021-07-09T03:20:46,653 cdef cl_mem sub_buffer = NULL 2021-07-09T03:20:46,653 ^ 2021-07-09T03:20:46,653 ------------------------------------------------------------ 2021-07-09T03:20:46,653 opencl/cl_mem.pyx:521:13: 'cl_mem' is not a type identifier 2021-07-09T03:20:46,653 Error compiling Cython file: 2021-07-09T03:20:46,653 ------------------------------------------------------------ 2021-07-09T03:20:46,654 ... 2021-07-09T03:20:46,654 if offset == 0: 2021-07-09T03:20:46,654 return CyView_Create(self.buffer_id, buffer, self.ctype, 1) 2021-07-09T03:20:46,654 cdef cl_mem sub_buffer = NULL 2021-07-09T03:20:46,654 cdef cl_mem base = self._get_base() 2021-07-09T03:20:46,654 ^ 2021-07-09T03:20:46,654 ------------------------------------------------------------ 2021-07-09T03:20:46,655 opencl/cl_mem.pyx:522:13: 'cl_mem' is not a type identifier 2021-07-09T03:20:46,655 Error compiling Cython file: 2021-07-09T03:20:46,655 ------------------------------------------------------------ 2021-07-09T03:20:46,655 ... 2021-07-09T03:20:46,655 cdef cl_mem base = self._get_base() 2021-07-09T03:20:46,656 if base == NULL: 2021-07-09T03:20:46,656 base = self.buffer_id 2021-07-09T03:20:46,656 cdef cl_int err_code 2021-07-09T03:20:46,656 ^ 2021-07-09T03:20:46,656 ------------------------------------------------------------ 2021-07-09T03:20:46,656 opencl/cl_mem.pyx:527:13: 'cl_int' is not a type identifier 2021-07-09T03:20:46,657 Error compiling Cython file: 2021-07-09T03:20:46,657 ------------------------------------------------------------ 2021-07-09T03:20:46,657 ... 2021-07-09T03:20:46,657 if base == NULL: 2021-07-09T03:20:46,657 base = self.buffer_id 2021-07-09T03:20:46,657 cdef cl_int err_code 2021-07-09T03:20:46,657 cdef size_t mem_size = self.mem_size 2021-07-09T03:20:46,657 cdef cl_buffer_region buffer_create_info 2021-07-09T03:20:46,658 ^ 2021-07-09T03:20:46,658 ------------------------------------------------------------ 2021-07-09T03:20:46,658 opencl/cl_mem.pyx:529:13: 'cl_buffer_region' is not a type identifier 2021-07-09T03:20:46,658 Error compiling Cython file: 2021-07-09T03:20:46,658 ------------------------------------------------------------ 2021-07-09T03:20:46,658 ... 2021-07-09T03:20:46,658 cdef Py_buffer orig_buffer 2021-07-09T03:20:46,659 CyView_GetBuffer(obj, & orig_buffer) 2021-07-09T03:20:46,659 cdef Py_buffer * buffer = < Py_buffer *> malloc(sizeof(Py_buffer)) 2021-07-09T03:20:46,659 memcpy(buffer, & orig_buffer, sizeof(Py_buffer)) 2021-07-09T03:20:46,659 cdef cl_mem buffer_id = CyMemoryObject_GetID(obj) 2021-07-09T03:20:46,659 ^ 2021-07-09T03:20:46,659 ------------------------------------------------------------ 2021-07-09T03:20:46,659 opencl/cl_mem.pyx:685:13: 'cl_mem' is not a type identifier 2021-07-09T03:20:46,666 Error compiling Cython file: 2021-07-09T03:20:46,666 ------------------------------------------------------------ 2021-07-09T03:20:46,666 ... 2021-07-09T03:20:46,667 Create an empty buffer. 2021-07-09T03:20:46,667 ''' 2021-07-09T03:20:46,667 if not CyContext_Check(context): 2021-07-09T03:20:46,667 raise TypeError("argument 'context' must be a valid opencl.Context object") 2021-07-09T03:20:46,667 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:46,667 ^ 2021-07-09T03:20:46,667 ------------------------------------------------------------ 2021-07-09T03:20:46,668 opencl/cl_mem.pyx:720:9: 'cl_context' is not a type identifier 2021-07-09T03:20:46,668 Error compiling Cython file: 2021-07-09T03:20:46,668 ------------------------------------------------------------ 2021-07-09T03:20:46,668 ... 2021-07-09T03:20:46,668 if not CyContext_Check(context): 2021-07-09T03:20:46,668 raise TypeError("argument 'context' must be a valid opencl.Context object") 2021-07-09T03:20:46,669 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:46,669 cdef cl_mem_flags flags = CL_MEM_READ_WRITE 2021-07-09T03:20:46,669 ^ 2021-07-09T03:20:46,669 ------------------------------------------------------------ 2021-07-09T03:20:46,669 opencl/cl_mem.pyx:722:9: 'cl_mem_flags' is not a type identifier 2021-07-09T03:20:46,669 Error compiling Cython file: 2021-07-09T03:20:46,670 ------------------------------------------------------------ 2021-07-09T03:20:46,670 ... 2021-07-09T03:20:46,670 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:46,670 cdef cl_mem_flags flags = CL_MEM_READ_WRITE 2021-07-09T03:20:46,670 cdef cl_int err_code 2021-07-09T03:20:46,670 ^ 2021-07-09T03:20:46,671 ------------------------------------------------------------ 2021-07-09T03:20:46,671 opencl/cl_mem.pyx:724:9: 'cl_int' is not a type identifier 2021-07-09T03:20:46,671 Error compiling Cython file: 2021-07-09T03:20:46,671 ------------------------------------------------------------ 2021-07-09T03:20:46,671 ... 2021-07-09T03:20:46,671 cdef size_t itemsize = size_from_format(format) 2021-07-09T03:20:46,671 cdef size_t size = itemsize 2021-07-09T03:20:46,672 for i in shape: 2021-07-09T03:20:46,672 size *= i 2021-07-09T03:20:46,672 cdef cl_mem buffer_id = clCreateBuffer(ctx, flags, size, NULL, & err_code) 2021-07-09T03:20:46,672 ^ 2021-07-09T03:20:46,672 ------------------------------------------------------------ 2021-07-09T03:20:46,672 opencl/cl_mem.pyx:737:9: 'cl_mem' is not a type identifier 2021-07-09T03:20:46,673 Error compiling Cython file: 2021-07-09T03:20:46,673 ------------------------------------------------------------ 2021-07-09T03:20:46,673 ... 2021-07-09T03:20:46,673 def supported_formats(cls, context, readable=True, wirteable=True): 2021-07-09T03:20:46,673 if not CyContext_Check(context): 2021-07-09T03:20:46,673 raise TypeError("argument 'context' must be a valid opencl.Context object") 2021-07-09T03:20:46,674 cdef cl_mem_flags flags 2021-07-09T03:20:46,674 ^ 2021-07-09T03:20:46,674 ------------------------------------------------------------ 2021-07-09T03:20:46,674 opencl/cl_mem.pyx:847:13: 'cl_mem_flags' is not a type identifier 2021-07-09T03:20:46,674 Error compiling Cython file: 2021-07-09T03:20:46,674 ------------------------------------------------------------ 2021-07-09T03:20:46,674 ... 2021-07-09T03:20:46,675 elif readable: 2021-07-09T03:20:46,675 flags = CL_MEM_READ_ONLY 2021-07-09T03:20:46,675 else: 2021-07-09T03:20:46,675 flags = CL_MEM_WRITE_ONLY 2021-07-09T03:20:46,675 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:46,675 ^ 2021-07-09T03:20:46,675 ------------------------------------------------------------ 2021-07-09T03:20:46,676 opencl/cl_mem.pyx:858:13: 'cl_context' is not a type identifier 2021-07-09T03:20:46,676 Error compiling Cython file: 2021-07-09T03:20:46,676 ------------------------------------------------------------ 2021-07-09T03:20:46,676 ... 2021-07-09T03:20:46,676 else: 2021-07-09T03:20:46,676 flags = CL_MEM_WRITE_ONLY 2021-07-09T03:20:46,676 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:46,677 cdef cl_int err_code 2021-07-09T03:20:46,677 ^ 2021-07-09T03:20:46,677 ------------------------------------------------------------ 2021-07-09T03:20:46,677 opencl/cl_mem.pyx:860:13: 'cl_int' is not a type identifier 2021-07-09T03:20:46,677 Error compiling Cython file: 2021-07-09T03:20:46,677 ------------------------------------------------------------ 2021-07-09T03:20:46,678 ... 2021-07-09T03:20:46,678 flags = CL_MEM_WRITE_ONLY 2021-07-09T03:20:46,678 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:46,678 cdef cl_int err_code 2021-07-09T03:20:46,678 cdef cl_image_format * image_formats 2021-07-09T03:20:46,678 ^ 2021-07-09T03:20:46,679 ------------------------------------------------------------ 2021-07-09T03:20:46,679 opencl/cl_mem.pyx:861:13: 'cl_image_format' is not a type identifier 2021-07-09T03:20:46,679 Error compiling Cython file: 2021-07-09T03:20:46,679 ------------------------------------------------------------ 2021-07-09T03:20:46,679 ... 2021-07-09T03:20:46,679 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:46,680 cdef cl_int err_code 2021-07-09T03:20:46,680 cdef cl_image_format * image_formats 2021-07-09T03:20:46,680 cdef cl_uint num_image_formats 2021-07-09T03:20:46,680 ^ 2021-07-09T03:20:46,680 ------------------------------------------------------------ 2021-07-09T03:20:46,680 opencl/cl_mem.pyx:862:13: 'cl_uint' is not a type identifier 2021-07-09T03:20:46,681 Error compiling Cython file: 2021-07-09T03:20:46,681 ------------------------------------------------------------ 2021-07-09T03:20:46,681 ... 2021-07-09T03:20:46,681 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:46,681 cdef cl_int err_code 2021-07-09T03:20:46,681 cdef cl_image_format * image_formats 2021-07-09T03:20:46,681 cdef cl_uint num_image_formats 2021-07-09T03:20:46,681 cdef cl_mem_object_type image_type = CL_MEM_OBJECT_IMAGE2D 2021-07-09T03:20:46,682 ^ 2021-07-09T03:20:46,682 ------------------------------------------------------------ 2021-07-09T03:20:46,682 opencl/cl_mem.pyx:863:13: 'cl_mem_object_type' is not a type identifier 2021-07-09T03:20:46,682 Error compiling Cython file: 2021-07-09T03:20:46,682 ------------------------------------------------------------ 2021-07-09T03:20:46,682 ... 2021-07-09T03:20:46,683 def __richcmp__(ImageFormat self, other, op): 2021-07-09T03:20:46,683 if not ImageFormat_Check(other): 2021-07-09T03:20:46,683 return False 2021-07-09T03:20:46,683 cdef cl_image_format cl_format = ImageFormat_Get(other) 2021-07-09T03:20:46,683 ^ 2021-07-09T03:20:46,683 ------------------------------------------------------------ 2021-07-09T03:20:46,684 opencl/cl_mem.pyx:951:13: 'cl_image_format' is not a type identifier 2021-07-09T03:20:46,685 Error compiling Cython file: 2021-07-09T03:20:46,685 ------------------------------------------------------------ 2021-07-09T03:20:46,685 ... 2021-07-09T03:20:46,685 def __cinit__(self): 2021-07-09T03:20:46,685 self.buffer = NULL 2021-07-09T03:20:46,685 property image_format: 2021-07-09T03:20:46,685 def __get__(self): 2021-07-09T03:20:46,686 cdef cl_int err_code 2021-07-09T03:20:46,686 ^ 2021-07-09T03:20:46,686 ------------------------------------------------------------ 2021-07-09T03:20:46,686 opencl/cl_mem.pyx:969:17: 'cl_int' is not a type identifier 2021-07-09T03:20:46,686 Error compiling Cython file: 2021-07-09T03:20:46,686 ------------------------------------------------------------ 2021-07-09T03:20:46,687 ... 2021-07-09T03:20:46,687 property image_format: 2021-07-09T03:20:46,687 def __get__(self): 2021-07-09T03:20:46,687 cdef cl_int err_code 2021-07-09T03:20:46,687 cdef cl_image_format image_format 2021-07-09T03:20:46,687 ^ 2021-07-09T03:20:46,687 ------------------------------------------------------------ 2021-07-09T03:20:46,688 opencl/cl_mem.pyx:971:17: 'cl_image_format' is not a type identifier 2021-07-09T03:20:46,688 Error compiling Cython file: 2021-07-09T03:20:46,688 ------------------------------------------------------------ 2021-07-09T03:20:46,688 ... 2021-07-09T03:20:46,688 return CyImageFormat_New(image_format) 2021-07-09T03:20:46,689 property image_width: 2021-07-09T03:20:46,689 def __get__(self): 2021-07-09T03:20:46,689 cdef cl_int err_code 2021-07-09T03:20:46,689 ^ 2021-07-09T03:20:46,689 ------------------------------------------------------------ 2021-07-09T03:20:46,689 opencl/cl_mem.pyx:980:17: 'cl_int' is not a type identifier 2021-07-09T03:20:46,689 Error compiling Cython file: 2021-07-09T03:20:46,690 ------------------------------------------------------------ 2021-07-09T03:20:46,690 ... 2021-07-09T03:20:46,690 raise OpenCLException(err_code) 2021-07-09T03:20:46,690 return value 2021-07-09T03:20:46,690 property image_height: 2021-07-09T03:20:46,690 def __get__(self): 2021-07-09T03:20:46,690 cdef cl_int err_code 2021-07-09T03:20:46,690 ^ 2021-07-09T03:20:46,691 ------------------------------------------------------------ 2021-07-09T03:20:46,691 opencl/cl_mem.pyx:989:17: 'cl_int' is not a type identifier 2021-07-09T03:20:46,691 Error compiling Cython file: 2021-07-09T03:20:46,691 ------------------------------------------------------------ 2021-07-09T03:20:46,691 ... 2021-07-09T03:20:46,691 raise OpenCLException(err_code) 2021-07-09T03:20:46,692 return value 2021-07-09T03:20:46,692 property image_depth: 2021-07-09T03:20:46,692 def __get__(self): 2021-07-09T03:20:46,692 cdef cl_int err_code 2021-07-09T03:20:46,692 ^ 2021-07-09T03:20:46,692 ------------------------------------------------------------ 2021-07-09T03:20:46,692 opencl/cl_mem.pyx:998:17: 'cl_int' is not a type identifier 2021-07-09T03:20:46,693 Error compiling Cython file: 2021-07-09T03:20:46,693 ------------------------------------------------------------ 2021-07-09T03:20:46,693 ... 2021-07-09T03:20:46,693 def map(self, queue, blocking=True, readonly=False): 2021-07-09T03:20:46,693 from opencl.queue import ImageMap 2021-07-09T03:20:46,694 cdef cl_map_flags flags = CL_MAP_READ 2021-07-09T03:20:46,694 ^ 2021-07-09T03:20:46,694 ------------------------------------------------------------ 2021-07-09T03:20:46,694 opencl/cl_mem.pyx:1030:13: 'cl_map_flags' is not a type identifier 2021-07-09T03:20:46,694 Error compiling Cython file: 2021-07-09T03:20:46,694 ------------------------------------------------------------ 2021-07-09T03:20:46,694 ... 2021-07-09T03:20:46,695 cdef cl_map_flags flags = CL_MAP_READ 2021-07-09T03:20:46,695 if not readonly: 2021-07-09T03:20:46,695 flags |= CL_MAP_WRITE 2021-07-09T03:20:46,695 cdef cl_bool blocking_map = 1 if blocking else 0 2021-07-09T03:20:46,695 ^ 2021-07-09T03:20:46,695 ------------------------------------------------------------ 2021-07-09T03:20:46,696 opencl/cl_mem.pyx:1035:13: 'cl_bool' is not a type identifier 2021-07-09T03:20:46,696 Error compiling Cython file: 2021-07-09T03:20:46,696 ------------------------------------------------------------ 2021-07-09T03:20:46,696 ... 2021-07-09T03:20:46,697 cdef Py_buffer * result_buffer = < Py_buffer *> malloc(sizeof(Py_buffer)) 2021-07-09T03:20:46,697 cdef Py_buffer buffer 2021-07-09T03:20:46,697 CyView_GetBuffer(clview, & buffer) 2021-07-09T03:20:46,697 cdef cl_mem memobj = CyMemoryObject_GetID(clview) 2021-07-09T03:20:46,697 ^ 2021-07-09T03:20:46,697 ------------------------------------------------------------ 2021-07-09T03:20:46,697 opencl/cl_mem.pyx:1050:9: 'cl_mem' is not a type identifier 2021-07-09T03:20:46,704 Error compiling Cython file: 2021-07-09T03:20:46,704 ------------------------------------------------------------ 2021-07-09T03:20:46,704 ... 2021-07-09T03:20:46,704 raise TypeError("argument 'context' must be a valid opencl.Context object") 2021-07-09T03:20:46,704 if len(shape) not in [2, 3]: 2021-07-09T03:20:46,705 raise TypeError("shape must be 2 or 3 dimentional (got ndim=%i)" % len(shape)) 2021-07-09T03:20:46,705 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:46,705 ^ 2021-07-09T03:20:46,705 ------------------------------------------------------------ 2021-07-09T03:20:46,705 opencl/cl_mem.pyx:1097:9: 'cl_context' is not a type identifier 2021-07-09T03:20:46,706 Error compiling Cython file: 2021-07-09T03:20:46,706 ------------------------------------------------------------ 2021-07-09T03:20:46,706 ... 2021-07-09T03:20:46,706 if len(shape) not in [2, 3]: 2021-07-09T03:20:46,706 raise TypeError("shape must be 2 or 3 dimentional (got ndim=%i)" % len(shape)) 2021-07-09T03:20:46,706 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:46,706 cdef cl_mem_flags flags = CL_MEM_READ_WRITE 2021-07-09T03:20:46,707 ^ 2021-07-09T03:20:46,707 ------------------------------------------------------------ 2021-07-09T03:20:46,707 opencl/cl_mem.pyx:1099:9: 'cl_mem_flags' is not a type identifier 2021-07-09T03:20:46,707 Error compiling Cython file: 2021-07-09T03:20:46,707 ------------------------------------------------------------ 2021-07-09T03:20:46,707 ... 2021-07-09T03:20:46,708 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:46,708 cdef cl_mem_flags flags = CL_MEM_READ_WRITE 2021-07-09T03:20:46,708 cdef cl_int err_code 2021-07-09T03:20:46,708 ^ 2021-07-09T03:20:46,708 ------------------------------------------------------------ 2021-07-09T03:20:46,708 opencl/cl_mem.pyx:1101:9: 'cl_int' is not a type identifier 2021-07-09T03:20:46,709 Error compiling Cython file: 2021-07-09T03:20:46,709 ------------------------------------------------------------ 2021-07-09T03:20:46,709 ... 2021-07-09T03:20:46,709 if not ImageFormat_Check(image_format): 2021-07-09T03:20:46,709 raise TypeError("arguement 'image_format' must be a valid ImageFormat object") 2021-07-09T03:20:46,710 cdef cl_image_format fmt = ImageFormat_Get(image_format) 2021-07-09T03:20:46,710 ^ 2021-07-09T03:20:46,710 ------------------------------------------------------------ 2021-07-09T03:20:46,710 opencl/cl_mem.pyx:1107:9: 'cl_image_format' is not a type identifier 2021-07-09T03:20:46,710 Error compiling Cython file: 2021-07-09T03:20:46,710 ------------------------------------------------------------ 2021-07-09T03:20:46,711 ... 2021-07-09T03:20:46,711 cdef size_t image_depth 2021-07-09T03:20:46,711 cdef size_t image_row_pitch = 0 2021-07-09T03:20:46,711 cdef size_t image_slice_pitch = 0 2021-07-09T03:20:46,711 cdef void * host_ptr = NULL 2021-07-09T03:20:46,711 cdef cl_mem buffer_id 2021-07-09T03:20:46,711 ^ 2021-07-09T03:20:46,711 ------------------------------------------------------------ 2021-07-09T03:20:46,712 opencl/cl_mem.pyx:1116:9: 'cl_mem' is not a type identifier 2021-07-09T03:20:46,712 Error compiling Cython file: 2021-07-09T03:20:46,712 ------------------------------------------------------------ 2021-07-09T03:20:46,712 ... 2021-07-09T03:20:46,712 cdef api int CyMemoryObject_Check(object memobj): 2021-07-09T03:20:46,712 return isinstance(memobj, MemoryObject) 2021-07-09T03:20:46,713 cdef api cl_mem CyMemoryObject_GetID(object memobj): 2021-07-09T03:20:46,713 obj = (< MemoryObject > memobj) 2021-07-09T03:20:46,713 cdef cl_mem buffer_id = obj.buffer_id 2021-07-09T03:20:46,713 ^ 2021-07-09T03:20:46,713 ------------------------------------------------------------ 2021-07-09T03:20:46,713 opencl/cl_mem.pyx:1217:9: 'cl_mem' is not a type identifier 2021-07-09T03:20:47,124 Error compiling Cython file: 2021-07-09T03:20:47,124 ------------------------------------------------------------ 2021-07-09T03:20:47,124 ... 2021-07-09T03:20:47,124 ''' 2021-07-09T03:20:47,124 Memory objects are categorized into two types: buffer objects, and image objects. A buffer 2021-07-09T03:20:47,124 object stores a one-dimensional collection of elements whereas an image object is used to store a 2021-07-09T03:20:47,124 two- or three- dimensional texture, frame-buffer or image. 2021-07-09T03:20:47,124 ''' 2021-07-09T03:20:47,125 BUFFER = CL_MEM_OBJECT_BUFFER 2021-07-09T03:20:47,125 ^ 2021-07-09T03:20:47,125 ------------------------------------------------------------ 2021-07-09T03:20:47,125 opencl/cl_mem.pyx:64:13: undeclared name not builtin: CL_MEM_OBJECT_BUFFER 2021-07-09T03:20:47,125 Error compiling Cython file: 2021-07-09T03:20:47,126 ------------------------------------------------------------ 2021-07-09T03:20:47,126 ... 2021-07-09T03:20:47,126 Memory objects are categorized into two types: buffer objects, and image objects. A buffer 2021-07-09T03:20:47,126 object stores a one-dimensional collection of elements whereas an image object is used to store a 2021-07-09T03:20:47,126 two- or three- dimensional texture, frame-buffer or image. 2021-07-09T03:20:47,126 ''' 2021-07-09T03:20:47,126 BUFFER = CL_MEM_OBJECT_BUFFER 2021-07-09T03:20:47,126 IMAGE2D = CL_MEM_OBJECT_IMAGE2D 2021-07-09T03:20:47,126 ^ 2021-07-09T03:20:47,127 ------------------------------------------------------------ 2021-07-09T03:20:47,127 opencl/cl_mem.pyx:65:14: undeclared name not builtin: CL_MEM_OBJECT_IMAGE2D 2021-07-09T03:20:47,127 Error compiling Cython file: 2021-07-09T03:20:47,127 ------------------------------------------------------------ 2021-07-09T03:20:47,127 ... 2021-07-09T03:20:47,127 object stores a one-dimensional collection of elements whereas an image object is used to store a 2021-07-09T03:20:47,127 two- or three- dimensional texture, frame-buffer or image. 2021-07-09T03:20:47,128 ''' 2021-07-09T03:20:47,128 BUFFER = CL_MEM_OBJECT_BUFFER 2021-07-09T03:20:47,128 IMAGE2D = CL_MEM_OBJECT_IMAGE2D 2021-07-09T03:20:47,128 IMAGE3D = CL_MEM_OBJECT_IMAGE3D 2021-07-09T03:20:47,128 ^ 2021-07-09T03:20:47,128 ------------------------------------------------------------ 2021-07-09T03:20:47,128 opencl/cl_mem.pyx:66:14: undeclared name not builtin: CL_MEM_OBJECT_IMAGE3D 2021-07-09T03:20:47,129 Error compiling Cython file: 2021-07-09T03:20:47,129 ------------------------------------------------------------ 2021-07-09T03:20:47,129 ... 2021-07-09T03:20:47,129 cdef class ImageFormat: 2021-07-09T03:20:47,129 ''' 2021-07-09T03:20:47,129 ''' 2021-07-09T03:20:47,129 CHANNEL_ORDERS = { 2021-07-09T03:20:47,130 CL_R : 'CL_R', 2021-07-09T03:20:47,130 ^ 2021-07-09T03:20:47,130 ------------------------------------------------------------ 2021-07-09T03:20:47,130 opencl/cl_mem.pyx:771:8: undeclared name not builtin: CL_R 2021-07-09T03:20:47,130 Error compiling Cython file: 2021-07-09T03:20:47,130 ------------------------------------------------------------ 2021-07-09T03:20:47,131 ... 2021-07-09T03:20:47,131 cdef class ImageFormat: 2021-07-09T03:20:47,131 ''' 2021-07-09T03:20:47,131 ''' 2021-07-09T03:20:47,131 CHANNEL_ORDERS = { 2021-07-09T03:20:47,131 CL_R : 'CL_R', 2021-07-09T03:20:47,131 CL_Rx : 'CL_Rx', 2021-07-09T03:20:47,131 ^ 2021-07-09T03:20:47,131 ------------------------------------------------------------ 2021-07-09T03:20:47,132 opencl/cl_mem.pyx:772:8: undeclared name not builtin: CL_Rx 2021-07-09T03:20:47,132 Error compiling Cython file: 2021-07-09T03:20:47,132 ------------------------------------------------------------ 2021-07-09T03:20:47,132 ... 2021-07-09T03:20:47,132 ''' 2021-07-09T03:20:47,132 ''' 2021-07-09T03:20:47,133 CHANNEL_ORDERS = { 2021-07-09T03:20:47,133 CL_R : 'CL_R', 2021-07-09T03:20:47,133 CL_Rx : 'CL_Rx', 2021-07-09T03:20:47,133 CL_A : 'CL_A', 2021-07-09T03:20:47,133 ^ 2021-07-09T03:20:47,133 ------------------------------------------------------------ 2021-07-09T03:20:47,133 opencl/cl_mem.pyx:773:8: undeclared name not builtin: CL_A 2021-07-09T03:20:47,134 Error compiling Cython file: 2021-07-09T03:20:47,134 ------------------------------------------------------------ 2021-07-09T03:20:47,134 ... 2021-07-09T03:20:47,134 ''' 2021-07-09T03:20:47,134 CHANNEL_ORDERS = { 2021-07-09T03:20:47,134 CL_R : 'CL_R', 2021-07-09T03:20:47,134 CL_Rx : 'CL_Rx', 2021-07-09T03:20:47,135 CL_A : 'CL_A', 2021-07-09T03:20:47,135 CL_INTENSITY : 'CL_INTENSITY', 2021-07-09T03:20:47,135 ^ 2021-07-09T03:20:47,135 ------------------------------------------------------------ 2021-07-09T03:20:47,135 opencl/cl_mem.pyx:774:8: undeclared name not builtin: CL_INTENSITY 2021-07-09T03:20:47,135 Error compiling Cython file: 2021-07-09T03:20:47,136 ------------------------------------------------------------ 2021-07-09T03:20:47,136 ... 2021-07-09T03:20:47,136 CHANNEL_ORDERS = { 2021-07-09T03:20:47,136 CL_R : 'CL_R', 2021-07-09T03:20:47,136 CL_Rx : 'CL_Rx', 2021-07-09T03:20:47,136 CL_A : 'CL_A', 2021-07-09T03:20:47,136 CL_INTENSITY : 'CL_INTENSITY', 2021-07-09T03:20:47,136 CL_LUMINANCE : 'CL_LUMINANCE', 2021-07-09T03:20:47,136 ^ 2021-07-09T03:20:47,136 ------------------------------------------------------------ 2021-07-09T03:20:47,137 opencl/cl_mem.pyx:775:8: undeclared name not builtin: CL_LUMINANCE 2021-07-09T03:20:47,137 Error compiling Cython file: 2021-07-09T03:20:47,137 ------------------------------------------------------------ 2021-07-09T03:20:47,137 ... 2021-07-09T03:20:47,137 CL_R : 'CL_R', 2021-07-09T03:20:47,137 CL_Rx : 'CL_Rx', 2021-07-09T03:20:47,138 CL_A : 'CL_A', 2021-07-09T03:20:47,138 CL_INTENSITY : 'CL_INTENSITY', 2021-07-09T03:20:47,138 CL_LUMINANCE : 'CL_LUMINANCE', 2021-07-09T03:20:47,138 CL_RG : 'CL_RG', 2021-07-09T03:20:47,138 ^ 2021-07-09T03:20:47,138 ------------------------------------------------------------ 2021-07-09T03:20:47,138 opencl/cl_mem.pyx:776:8: undeclared name not builtin: CL_RG 2021-07-09T03:20:47,139 Error compiling Cython file: 2021-07-09T03:20:47,139 ------------------------------------------------------------ 2021-07-09T03:20:47,139 ... 2021-07-09T03:20:47,139 CL_Rx : 'CL_Rx', 2021-07-09T03:20:47,139 CL_A : 'CL_A', 2021-07-09T03:20:47,139 CL_INTENSITY : 'CL_INTENSITY', 2021-07-09T03:20:47,139 CL_LUMINANCE : 'CL_LUMINANCE', 2021-07-09T03:20:47,139 CL_RG : 'CL_RG', 2021-07-09T03:20:47,139 CL_RGx : 'CL_RGx', 2021-07-09T03:20:47,140 ^ 2021-07-09T03:20:47,140 ------------------------------------------------------------ 2021-07-09T03:20:47,140 opencl/cl_mem.pyx:777:8: undeclared name not builtin: CL_RGx 2021-07-09T03:20:47,140 Error compiling Cython file: 2021-07-09T03:20:47,140 ------------------------------------------------------------ 2021-07-09T03:20:47,140 ... 2021-07-09T03:20:47,140 CL_A : 'CL_A', 2021-07-09T03:20:47,141 CL_INTENSITY : 'CL_INTENSITY', 2021-07-09T03:20:47,141 CL_LUMINANCE : 'CL_LUMINANCE', 2021-07-09T03:20:47,141 CL_RG : 'CL_RG', 2021-07-09T03:20:47,141 CL_RGx : 'CL_RGx', 2021-07-09T03:20:47,141 CL_RA : 'CL_RA', 2021-07-09T03:20:47,141 ^ 2021-07-09T03:20:47,141 ------------------------------------------------------------ 2021-07-09T03:20:47,142 opencl/cl_mem.pyx:778:8: undeclared name not builtin: CL_RA 2021-07-09T03:20:47,142 Error compiling Cython file: 2021-07-09T03:20:47,142 ------------------------------------------------------------ 2021-07-09T03:20:47,142 ... 2021-07-09T03:20:47,142 CL_INTENSITY : 'CL_INTENSITY', 2021-07-09T03:20:47,142 CL_LUMINANCE : 'CL_LUMINANCE', 2021-07-09T03:20:47,142 CL_RG : 'CL_RG', 2021-07-09T03:20:47,142 CL_RGx : 'CL_RGx', 2021-07-09T03:20:47,143 CL_RA : 'CL_RA', 2021-07-09T03:20:47,143 CL_RGB : 'CL_RGB', 2021-07-09T03:20:47,143 ^ 2021-07-09T03:20:47,143 ------------------------------------------------------------ 2021-07-09T03:20:47,143 opencl/cl_mem.pyx:779:8: undeclared name not builtin: CL_RGB 2021-07-09T03:20:47,143 Error compiling Cython file: 2021-07-09T03:20:47,144 ------------------------------------------------------------ 2021-07-09T03:20:47,144 ... 2021-07-09T03:20:47,144 CL_LUMINANCE : 'CL_LUMINANCE', 2021-07-09T03:20:47,144 CL_RG : 'CL_RG', 2021-07-09T03:20:47,144 CL_RGx : 'CL_RGx', 2021-07-09T03:20:47,144 CL_RA : 'CL_RA', 2021-07-09T03:20:47,144 CL_RGB : 'CL_RGB', 2021-07-09T03:20:47,144 CL_RGBx : 'CL_RGBx', 2021-07-09T03:20:47,144 ^ 2021-07-09T03:20:47,145 ------------------------------------------------------------ 2021-07-09T03:20:47,145 opencl/cl_mem.pyx:780:8: undeclared name not builtin: CL_RGBx 2021-07-09T03:20:47,145 Error compiling Cython file: 2021-07-09T03:20:47,145 ------------------------------------------------------------ 2021-07-09T03:20:47,145 ... 2021-07-09T03:20:47,145 CL_RG : 'CL_RG', 2021-07-09T03:20:47,146 CL_RGx : 'CL_RGx', 2021-07-09T03:20:47,146 CL_RA : 'CL_RA', 2021-07-09T03:20:47,146 CL_RGB : 'CL_RGB', 2021-07-09T03:20:47,146 CL_RGBx : 'CL_RGBx', 2021-07-09T03:20:47,146 CL_RGBA : 'CL_RGBA', 2021-07-09T03:20:47,146 ^ 2021-07-09T03:20:47,146 ------------------------------------------------------------ 2021-07-09T03:20:47,146 opencl/cl_mem.pyx:781:8: undeclared name not builtin: CL_RGBA 2021-07-09T03:20:47,147 Error compiling Cython file: 2021-07-09T03:20:47,147 ------------------------------------------------------------ 2021-07-09T03:20:47,147 ... 2021-07-09T03:20:47,147 CL_RGx : 'CL_RGx', 2021-07-09T03:20:47,147 CL_RA : 'CL_RA', 2021-07-09T03:20:47,147 CL_RGB : 'CL_RGB', 2021-07-09T03:20:47,147 CL_RGBx : 'CL_RGBx', 2021-07-09T03:20:47,147 CL_RGBA : 'CL_RGBA', 2021-07-09T03:20:47,148 CL_ARGB : 'CL_ARGB', 2021-07-09T03:20:47,148 ^ 2021-07-09T03:20:47,148 ------------------------------------------------------------ 2021-07-09T03:20:47,148 opencl/cl_mem.pyx:782:8: undeclared name not builtin: CL_ARGB 2021-07-09T03:20:47,148 Error compiling Cython file: 2021-07-09T03:20:47,148 ------------------------------------------------------------ 2021-07-09T03:20:47,149 ... 2021-07-09T03:20:47,149 CL_RA : 'CL_RA', 2021-07-09T03:20:47,149 CL_RGB : 'CL_RGB', 2021-07-09T03:20:47,149 CL_RGBx : 'CL_RGBx', 2021-07-09T03:20:47,149 CL_RGBA : 'CL_RGBA', 2021-07-09T03:20:47,149 CL_ARGB : 'CL_ARGB', 2021-07-09T03:20:47,149 CL_BGRA : 'CL_BGRA', 2021-07-09T03:20:47,149 ^ 2021-07-09T03:20:47,149 ------------------------------------------------------------ 2021-07-09T03:20:47,150 opencl/cl_mem.pyx:783:8: undeclared name not builtin: CL_BGRA 2021-07-09T03:20:47,150 Error compiling Cython file: 2021-07-09T03:20:47,150 ------------------------------------------------------------ 2021-07-09T03:20:47,150 ... 2021-07-09T03:20:47,150 CL_ARGB : 'CL_ARGB', 2021-07-09T03:20:47,150 CL_BGRA : 'CL_BGRA', 2021-07-09T03:20:47,151 } 2021-07-09T03:20:47,151 CHANNEL_DTYPES = { 2021-07-09T03:20:47,151 CL_SNORM_INT8 : 'CL_SNORM_INT8', 2021-07-09T03:20:47,151 ^ 2021-07-09T03:20:47,151 ------------------------------------------------------------ 2021-07-09T03:20:47,151 opencl/cl_mem.pyx:787:8: undeclared name not builtin: CL_SNORM_INT8 2021-07-09T03:20:47,152 Error compiling Cython file: 2021-07-09T03:20:47,152 ------------------------------------------------------------ 2021-07-09T03:20:47,152 ... 2021-07-09T03:20:47,152 CL_BGRA : 'CL_BGRA', 2021-07-09T03:20:47,152 } 2021-07-09T03:20:47,152 CHANNEL_DTYPES = { 2021-07-09T03:20:47,152 CL_SNORM_INT8 : 'CL_SNORM_INT8', 2021-07-09T03:20:47,153 CL_SNORM_INT16 : 'CL_SNORM_INT16', 2021-07-09T03:20:47,153 ^ 2021-07-09T03:20:47,153 ------------------------------------------------------------ 2021-07-09T03:20:47,153 opencl/cl_mem.pyx:788:8: undeclared name not builtin: CL_SNORM_INT16 2021-07-09T03:20:47,153 Error compiling Cython file: 2021-07-09T03:20:47,153 ------------------------------------------------------------ 2021-07-09T03:20:47,153 ... 2021-07-09T03:20:47,154 } 2021-07-09T03:20:47,154 CHANNEL_DTYPES = { 2021-07-09T03:20:47,154 CL_SNORM_INT8 : 'CL_SNORM_INT8', 2021-07-09T03:20:47,154 CL_SNORM_INT16 : 'CL_SNORM_INT16', 2021-07-09T03:20:47,154 CL_UNORM_INT8 : 'CL_UNORM_INT8', 2021-07-09T03:20:47,154 ^ 2021-07-09T03:20:47,154 ------------------------------------------------------------ 2021-07-09T03:20:47,155 opencl/cl_mem.pyx:789:8: undeclared name not builtin: CL_UNORM_INT8 2021-07-09T03:20:47,155 Error compiling Cython file: 2021-07-09T03:20:47,155 ------------------------------------------------------------ 2021-07-09T03:20:47,155 ... 2021-07-09T03:20:47,155 CHANNEL_DTYPES = { 2021-07-09T03:20:47,156 CL_SNORM_INT8 : 'CL_SNORM_INT8', 2021-07-09T03:20:47,156 CL_SNORM_INT16 : 'CL_SNORM_INT16', 2021-07-09T03:20:47,156 CL_UNORM_INT8 : 'CL_UNORM_INT8', 2021-07-09T03:20:47,156 CL_UNORM_INT16 : 'CL_UNORM_INT16', 2021-07-09T03:20:47,156 ^ 2021-07-09T03:20:47,156 ------------------------------------------------------------ 2021-07-09T03:20:47,156 opencl/cl_mem.pyx:790:8: undeclared name not builtin: CL_UNORM_INT16 2021-07-09T03:20:47,157 Error compiling Cython file: 2021-07-09T03:20:47,157 ------------------------------------------------------------ 2021-07-09T03:20:47,157 ... 2021-07-09T03:20:47,157 CHANNEL_DTYPES = { 2021-07-09T03:20:47,157 CL_SNORM_INT8 : 'CL_SNORM_INT8', 2021-07-09T03:20:47,157 CL_SNORM_INT16 : 'CL_SNORM_INT16', 2021-07-09T03:20:47,157 CL_UNORM_INT8 : 'CL_UNORM_INT8', 2021-07-09T03:20:47,157 CL_UNORM_INT16 : 'CL_UNORM_INT16', 2021-07-09T03:20:47,157 CL_UNORM_SHORT_565 : 'CL_UNORM_SHORT_565', 2021-07-09T03:20:47,158 ^ 2021-07-09T03:20:47,158 ------------------------------------------------------------ 2021-07-09T03:20:47,158 opencl/cl_mem.pyx:791:8: undeclared name not builtin: CL_UNORM_SHORT_565 2021-07-09T03:20:47,158 Error compiling Cython file: 2021-07-09T03:20:47,158 ------------------------------------------------------------ 2021-07-09T03:20:47,158 ... 2021-07-09T03:20:47,159 CL_SNORM_INT8 : 'CL_SNORM_INT8', 2021-07-09T03:20:47,159 CL_SNORM_INT16 : 'CL_SNORM_INT16', 2021-07-09T03:20:47,159 CL_UNORM_INT8 : 'CL_UNORM_INT8', 2021-07-09T03:20:47,159 CL_UNORM_INT16 : 'CL_UNORM_INT16', 2021-07-09T03:20:47,159 CL_UNORM_SHORT_565 : 'CL_UNORM_SHORT_565', 2021-07-09T03:20:47,159 CL_UNORM_SHORT_555 : 'CL_UNORM_SHORT_555', 2021-07-09T03:20:47,159 ^ 2021-07-09T03:20:47,159 ------------------------------------------------------------ 2021-07-09T03:20:47,160 opencl/cl_mem.pyx:792:8: undeclared name not builtin: CL_UNORM_SHORT_555 2021-07-09T03:20:47,160 Error compiling Cython file: 2021-07-09T03:20:47,160 ------------------------------------------------------------ 2021-07-09T03:20:47,160 ... 2021-07-09T03:20:47,160 CL_SNORM_INT16 : 'CL_SNORM_INT16', 2021-07-09T03:20:47,160 CL_UNORM_INT8 : 'CL_UNORM_INT8', 2021-07-09T03:20:47,160 CL_UNORM_INT16 : 'CL_UNORM_INT16', 2021-07-09T03:20:47,160 CL_UNORM_SHORT_565 : 'CL_UNORM_SHORT_565', 2021-07-09T03:20:47,161 CL_UNORM_SHORT_555 : 'CL_UNORM_SHORT_555', 2021-07-09T03:20:47,161 CL_UNORM_INT_101010 : 'CL_UNORM_INT_101010', 2021-07-09T03:20:47,161 ^ 2021-07-09T03:20:47,161 ------------------------------------------------------------ 2021-07-09T03:20:47,161 opencl/cl_mem.pyx:793:8: undeclared name not builtin: CL_UNORM_INT_101010 2021-07-09T03:20:47,161 Error compiling Cython file: 2021-07-09T03:20:47,161 ------------------------------------------------------------ 2021-07-09T03:20:47,162 ... 2021-07-09T03:20:47,162 CL_UNORM_INT8 : 'CL_UNORM_INT8', 2021-07-09T03:20:47,162 CL_UNORM_INT16 : 'CL_UNORM_INT16', 2021-07-09T03:20:47,162 CL_UNORM_SHORT_565 : 'CL_UNORM_SHORT_565', 2021-07-09T03:20:47,162 CL_UNORM_SHORT_555 : 'CL_UNORM_SHORT_555', 2021-07-09T03:20:47,162 CL_UNORM_INT_101010 : 'CL_UNORM_INT_101010', 2021-07-09T03:20:47,162 CL_SIGNED_INT8 : 'CL_SIGNED_INT8', 2021-07-09T03:20:47,162 ^ 2021-07-09T03:20:47,163 ------------------------------------------------------------ 2021-07-09T03:20:47,163 opencl/cl_mem.pyx:794:8: undeclared name not builtin: CL_SIGNED_INT8 2021-07-09T03:20:47,163 Error compiling Cython file: 2021-07-09T03:20:47,163 ------------------------------------------------------------ 2021-07-09T03:20:47,163 ... 2021-07-09T03:20:47,163 CL_UNORM_INT16 : 'CL_UNORM_INT16', 2021-07-09T03:20:47,163 CL_UNORM_SHORT_565 : 'CL_UNORM_SHORT_565', 2021-07-09T03:20:47,164 CL_UNORM_SHORT_555 : 'CL_UNORM_SHORT_555', 2021-07-09T03:20:47,164 CL_UNORM_INT_101010 : 'CL_UNORM_INT_101010', 2021-07-09T03:20:47,164 CL_SIGNED_INT8 : 'CL_SIGNED_INT8', 2021-07-09T03:20:47,164 CL_SIGNED_INT16 : 'CL_SIGNED_INT16', 2021-07-09T03:20:47,164 ^ 2021-07-09T03:20:47,164 ------------------------------------------------------------ 2021-07-09T03:20:47,164 opencl/cl_mem.pyx:795:8: undeclared name not builtin: CL_SIGNED_INT16 2021-07-09T03:20:47,165 Error compiling Cython file: 2021-07-09T03:20:47,165 ------------------------------------------------------------ 2021-07-09T03:20:47,165 ... 2021-07-09T03:20:47,165 CL_UNORM_SHORT_565 : 'CL_UNORM_SHORT_565', 2021-07-09T03:20:47,165 CL_UNORM_SHORT_555 : 'CL_UNORM_SHORT_555', 2021-07-09T03:20:47,165 CL_UNORM_INT_101010 : 'CL_UNORM_INT_101010', 2021-07-09T03:20:47,165 CL_SIGNED_INT8 : 'CL_SIGNED_INT8', 2021-07-09T03:20:47,166 CL_SIGNED_INT16 : 'CL_SIGNED_INT16', 2021-07-09T03:20:47,166 CL_SIGNED_INT32 : 'CL_SIGNED_INT32', 2021-07-09T03:20:47,166 ^ 2021-07-09T03:20:47,166 ------------------------------------------------------------ 2021-07-09T03:20:47,166 opencl/cl_mem.pyx:796:8: undeclared name not builtin: CL_SIGNED_INT32 2021-07-09T03:20:47,166 Error compiling Cython file: 2021-07-09T03:20:47,167 ------------------------------------------------------------ 2021-07-09T03:20:47,167 ... 2021-07-09T03:20:47,167 CL_UNORM_SHORT_555 : 'CL_UNORM_SHORT_555', 2021-07-09T03:20:47,167 CL_UNORM_INT_101010 : 'CL_UNORM_INT_101010', 2021-07-09T03:20:47,167 CL_SIGNED_INT8 : 'CL_SIGNED_INT8', 2021-07-09T03:20:47,167 CL_SIGNED_INT16 : 'CL_SIGNED_INT16', 2021-07-09T03:20:47,167 CL_SIGNED_INT32 : 'CL_SIGNED_INT32', 2021-07-09T03:20:47,167 CL_UNSIGNED_INT8 : 'CL_UNSIGNED_INT8', 2021-07-09T03:20:47,168 ^ 2021-07-09T03:20:47,168 ------------------------------------------------------------ 2021-07-09T03:20:47,168 opencl/cl_mem.pyx:797:8: undeclared name not builtin: CL_UNSIGNED_INT8 2021-07-09T03:20:47,168 Error compiling Cython file: 2021-07-09T03:20:47,168 ------------------------------------------------------------ 2021-07-09T03:20:47,168 ... 2021-07-09T03:20:47,168 CL_UNORM_INT_101010 : 'CL_UNORM_INT_101010', 2021-07-09T03:20:47,169 CL_SIGNED_INT8 : 'CL_SIGNED_INT8', 2021-07-09T03:20:47,169 CL_SIGNED_INT16 : 'CL_SIGNED_INT16', 2021-07-09T03:20:47,169 CL_SIGNED_INT32 : 'CL_SIGNED_INT32', 2021-07-09T03:20:47,169 CL_UNSIGNED_INT8 : 'CL_UNSIGNED_INT8', 2021-07-09T03:20:47,169 CL_UNSIGNED_INT16 : 'CL_UNSIGNED_INT16', 2021-07-09T03:20:47,169 ^ 2021-07-09T03:20:47,169 ------------------------------------------------------------ 2021-07-09T03:20:47,169 opencl/cl_mem.pyx:798:8: undeclared name not builtin: CL_UNSIGNED_INT16 2021-07-09T03:20:47,170 Error compiling Cython file: 2021-07-09T03:20:47,170 ------------------------------------------------------------ 2021-07-09T03:20:47,170 ... 2021-07-09T03:20:47,170 CL_SIGNED_INT8 : 'CL_SIGNED_INT8', 2021-07-09T03:20:47,170 CL_SIGNED_INT16 : 'CL_SIGNED_INT16', 2021-07-09T03:20:47,170 CL_SIGNED_INT32 : 'CL_SIGNED_INT32', 2021-07-09T03:20:47,170 CL_UNSIGNED_INT8 : 'CL_UNSIGNED_INT8', 2021-07-09T03:20:47,171 CL_UNSIGNED_INT16 : 'CL_UNSIGNED_INT16', 2021-07-09T03:20:47,171 CL_UNSIGNED_INT32 : 'CL_UNSIGNED_INT32', 2021-07-09T03:20:47,171 ^ 2021-07-09T03:20:47,171 ------------------------------------------------------------ 2021-07-09T03:20:47,171 opencl/cl_mem.pyx:799:8: undeclared name not builtin: CL_UNSIGNED_INT32 2021-07-09T03:20:47,171 Error compiling Cython file: 2021-07-09T03:20:47,171 ------------------------------------------------------------ 2021-07-09T03:20:47,172 ... 2021-07-09T03:20:47,172 CL_SIGNED_INT16 : 'CL_SIGNED_INT16', 2021-07-09T03:20:47,172 CL_SIGNED_INT32 : 'CL_SIGNED_INT32', 2021-07-09T03:20:47,172 CL_UNSIGNED_INT8 : 'CL_UNSIGNED_INT8', 2021-07-09T03:20:47,172 CL_UNSIGNED_INT16 : 'CL_UNSIGNED_INT16', 2021-07-09T03:20:47,172 CL_UNSIGNED_INT32 : 'CL_UNSIGNED_INT32', 2021-07-09T03:20:47,172 CL_HALF_FLOAT : 'CL_HALF_FLOAT', 2021-07-09T03:20:47,172 ^ 2021-07-09T03:20:47,173 ------------------------------------------------------------ 2021-07-09T03:20:47,173 opencl/cl_mem.pyx:800:8: undeclared name not builtin: CL_HALF_FLOAT 2021-07-09T03:20:47,173 Error compiling Cython file: 2021-07-09T03:20:47,173 ------------------------------------------------------------ 2021-07-09T03:20:47,173 ... 2021-07-09T03:20:47,173 CL_SIGNED_INT32 : 'CL_SIGNED_INT32', 2021-07-09T03:20:47,173 CL_UNSIGNED_INT8 : 'CL_UNSIGNED_INT8', 2021-07-09T03:20:47,174 CL_UNSIGNED_INT16 : 'CL_UNSIGNED_INT16', 2021-07-09T03:20:47,174 CL_UNSIGNED_INT32 : 'CL_UNSIGNED_INT32', 2021-07-09T03:20:47,174 CL_HALF_FLOAT : 'CL_HALF_FLOAT', 2021-07-09T03:20:47,174 CL_FLOAT : 'CL_FLOAT', 2021-07-09T03:20:47,174 ^ 2021-07-09T03:20:47,174 ------------------------------------------------------------ 2021-07-09T03:20:47,174 opencl/cl_mem.pyx:801:8: undeclared name not builtin: CL_FLOAT 2021-07-09T03:20:47,175 Error compiling Cython file: 2021-07-09T03:20:47,175 ------------------------------------------------------------ 2021-07-09T03:20:47,175 ... 2021-07-09T03:20:47,175 def __cinit__(self): 2021-07-09T03:20:47,175 self.buffer_id = NULL 2021-07-09T03:20:47,175 def __dealloc__(self): 2021-07-09T03:20:47,175 if self.buffer_id != NULL: 2021-07-09T03:20:47,176 clReleaseMemObject(self.buffer_id) 2021-07-09T03:20:47,176 ^ 2021-07-09T03:20:47,176 ------------------------------------------------------------ 2021-07-09T03:20:47,176 opencl/cl_mem.pyx:81:12: undeclared name not builtin: clReleaseMemObject 2021-07-09T03:20:47,176 Error compiling Cython file: 2021-07-09T03:20:47,176 ------------------------------------------------------------ 2021-07-09T03:20:47,176 ... 2021-07-09T03:20:47,177 user_data.args = args 2021-07-09T03:20:47,177 user_data.kwargs = kwargs 2021-07-09T03:20:47,177 Py_INCREF(user_data) 2021-07-09T03:20:47,177 err_code = clSetMemObjectDestructorCallback(self.buffer_id, < void *> & pfn_notify_destroy_mem_object, < void *> user_data) 2021-07-09T03:20:47,177 ^ 2021-07-09T03:20:47,177 ------------------------------------------------------------ 2021-07-09T03:20:47,178 opencl/cl_mem.pyx:115:19: undeclared name not builtin: clSetMemObjectDestructorCallback 2021-07-09T03:20:47,178 Error compiling Cython file: 2021-07-09T03:20:47,178 ------------------------------------------------------------ 2021-07-09T03:20:47,178 ... 2021-07-09T03:20:47,178 user_data.args = args 2021-07-09T03:20:47,178 user_data.kwargs = kwargs 2021-07-09T03:20:47,179 Py_INCREF(user_data) 2021-07-09T03:20:47,179 err_code = clSetMemObjectDestructorCallback(self.buffer_id, < void *> & pfn_notify_destroy_mem_object, < void *> user_data) 2021-07-09T03:20:47,179 ^ 2021-07-09T03:20:47,179 ------------------------------------------------------------ 2021-07-09T03:20:47,179 opencl/cl_mem.pyx:115:68: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,179 Error compiling Cython file: 2021-07-09T03:20:47,180 ------------------------------------------------------------ 2021-07-09T03:20:47,180 ... 2021-07-09T03:20:47,180 user_data.args = args 2021-07-09T03:20:47,180 user_data.kwargs = kwargs 2021-07-09T03:20:47,180 Py_INCREF(user_data) 2021-07-09T03:20:47,180 err_code = clSetMemObjectDestructorCallback(self.buffer_id, < void *> & pfn_notify_destroy_mem_object, < void *> user_data) 2021-07-09T03:20:47,180 ^ 2021-07-09T03:20:47,181 ------------------------------------------------------------ 2021-07-09T03:20:47,181 opencl/cl_mem.pyx:115:111: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,181 Error compiling Cython file: 2021-07-09T03:20:47,181 ------------------------------------------------------------ 2021-07-09T03:20:47,181 ... 2021-07-09T03:20:47,182 Py_INCREF(user_data) 2021-07-09T03:20:47,182 err_code = clSetMemObjectDestructorCallback(self.buffer_id, < void *> & pfn_notify_destroy_mem_object, < void *> user_data) 2021-07-09T03:20:47,182 if err_code != CL_SUCCESS: 2021-07-09T03:20:47,182 ^ 2021-07-09T03:20:47,182 ------------------------------------------------------------ 2021-07-09T03:20:47,182 opencl/cl_mem.pyx:117:23: undeclared name not builtin: CL_SUCCESS 2021-07-09T03:20:47,183 Error compiling Cython file: 2021-07-09T03:20:47,183 ------------------------------------------------------------ 2021-07-09T03:20:47,183 ... 2021-07-09T03:20:47,183 ''' 2021-07-09T03:20:47,183 def __get__(self): 2021-07-09T03:20:47,183 cdef cl_context param_value 2021-07-09T03:20:47,183 cdef cl_int err_code 2021-07-09T03:20:47,184 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_CONTEXT, sizeof(size_t), 2021-07-09T03:20:47,184 ^ 2021-07-09T03:20:47,184 ------------------------------------------------------------ 2021-07-09T03:20:47,184 opencl/cl_mem.pyx:128:23: undeclared name not builtin: clGetMemObjectInfo 2021-07-09T03:20:47,184 Error compiling Cython file: 2021-07-09T03:20:47,184 ------------------------------------------------------------ 2021-07-09T03:20:47,184 ... 2021-07-09T03:20:47,185 ''' 2021-07-09T03:20:47,185 def __get__(self): 2021-07-09T03:20:47,185 cdef cl_context param_value 2021-07-09T03:20:47,185 cdef cl_int err_code 2021-07-09T03:20:47,185 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_CONTEXT, sizeof(size_t), 2021-07-09T03:20:47,185 ^ 2021-07-09T03:20:47,185 ------------------------------------------------------------ 2021-07-09T03:20:47,186 opencl/cl_mem.pyx:128:58: undeclared name not builtin: CL_MEM_CONTEXT 2021-07-09T03:20:47,186 Error compiling Cython file: 2021-07-09T03:20:47,186 ------------------------------------------------------------ 2021-07-09T03:20:47,186 ... 2021-07-09T03:20:47,186 def __get__(self): 2021-07-09T03:20:47,186 cdef cl_context param_value 2021-07-09T03:20:47,186 cdef cl_int err_code 2021-07-09T03:20:47,187 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_CONTEXT, sizeof(size_t), 2021-07-09T03:20:47,187 < void *> & param_value, NULL) 2021-07-09T03:20:47,187 ^ 2021-07-09T03:20:47,187 ------------------------------------------------------------ 2021-07-09T03:20:47,187 opencl/cl_mem.pyx:129:42: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,187 Error compiling Cython file: 2021-07-09T03:20:47,188 ------------------------------------------------------------ 2021-07-09T03:20:47,188 ... 2021-07-09T03:20:47,188 def __get__(self): 2021-07-09T03:20:47,188 cdef cl_context param_value 2021-07-09T03:20:47,188 cdef cl_int err_code 2021-07-09T03:20:47,188 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_CONTEXT, sizeof(size_t), 2021-07-09T03:20:47,188 < void *> & param_value, NULL) 2021-07-09T03:20:47,189 ^ 2021-07-09T03:20:47,189 ------------------------------------------------------------ 2021-07-09T03:20:47,189 opencl/cl_mem.pyx:129:67: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,189 Error compiling Cython file: 2021-07-09T03:20:47,189 ------------------------------------------------------------ 2021-07-09T03:20:47,189 ... 2021-07-09T03:20:47,189 < void *> & param_value, NULL) 2021-07-09T03:20:47,190 if err_code != CL_SUCCESS: 2021-07-09T03:20:47,190 raise OpenCLException(err_code) 2021-07-09T03:20:47,190 return CyContext_Create(param_value) 2021-07-09T03:20:47,190 ^ 2021-07-09T03:20:47,190 ------------------------------------------------------------ 2021-07-09T03:20:47,190 opencl/cl_mem.pyx:134:19: 'CyContext_Create' is not a constant, variable or function identifier 2021-07-09T03:20:47,191 Error compiling Cython file: 2021-07-09T03:20:47,191 ------------------------------------------------------------ 2021-07-09T03:20:47,191 ... 2021-07-09T03:20:47,191 def __get__(self): 2021-07-09T03:20:47,191 cdef cl_mem_object_type param_value 2021-07-09T03:20:47,191 cdef cl_int err_code 2021-07-09T03:20:47,192 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_TYPE, sizeof(cl_mem_object_type), 2021-07-09T03:20:47,192 ^ 2021-07-09T03:20:47,192 ------------------------------------------------------------ 2021-07-09T03:20:47,192 opencl/cl_mem.pyx:147:58: undeclared name not builtin: CL_MEM_TYPE 2021-07-09T03:20:47,192 Error compiling Cython file: 2021-07-09T03:20:47,192 ------------------------------------------------------------ 2021-07-09T03:20:47,193 ... 2021-07-09T03:20:47,193 def __get__(self): 2021-07-09T03:20:47,193 cdef cl_mem_object_type param_value 2021-07-09T03:20:47,193 cdef cl_int err_code 2021-07-09T03:20:47,193 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_TYPE, sizeof(cl_mem_object_type), 2021-07-09T03:20:47,193 ^ 2021-07-09T03:20:47,193 ------------------------------------------------------------ 2021-07-09T03:20:47,194 opencl/cl_mem.pyx:147:96: undeclared name not builtin: cl_mem_object_type 2021-07-09T03:20:47,194 Error compiling Cython file: 2021-07-09T03:20:47,194 ------------------------------------------------------------ 2021-07-09T03:20:47,194 ... 2021-07-09T03:20:47,194 cdef cl_mem_object_type param_value 2021-07-09T03:20:47,194 cdef cl_int err_code 2021-07-09T03:20:47,195 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_TYPE, sizeof(cl_mem_object_type), 2021-07-09T03:20:47,195 < void *> & param_value, NULL) 2021-07-09T03:20:47,195 ^ 2021-07-09T03:20:47,195 ------------------------------------------------------------ 2021-07-09T03:20:47,195 opencl/cl_mem.pyx:148:42: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,195 Error compiling Cython file: 2021-07-09T03:20:47,196 ------------------------------------------------------------ 2021-07-09T03:20:47,196 ... 2021-07-09T03:20:47,196 cdef cl_mem_object_type param_value 2021-07-09T03:20:47,196 cdef cl_int err_code 2021-07-09T03:20:47,196 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_TYPE, sizeof(cl_mem_object_type), 2021-07-09T03:20:47,196 < void *> & param_value, NULL) 2021-07-09T03:20:47,196 ^ 2021-07-09T03:20:47,197 ------------------------------------------------------------ 2021-07-09T03:20:47,197 opencl/cl_mem.pyx:148:67: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,197 Error compiling Cython file: 2021-07-09T03:20:47,197 ------------------------------------------------------------ 2021-07-09T03:20:47,197 ... 2021-07-09T03:20:47,197 def __get__(self): 2021-07-09T03:20:47,198 cdef size_t param_value 2021-07-09T03:20:47,198 cdef cl_int err_code 2021-07-09T03:20:47,198 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_SIZE, sizeof(size_t), 2021-07-09T03:20:47,198 ^ 2021-07-09T03:20:47,198 ------------------------------------------------------------ 2021-07-09T03:20:47,198 opencl/cl_mem.pyx:164:58: undeclared name not builtin: CL_MEM_SIZE 2021-07-09T03:20:47,199 Error compiling Cython file: 2021-07-09T03:20:47,199 ------------------------------------------------------------ 2021-07-09T03:20:47,199 ... 2021-07-09T03:20:47,199 cdef size_t param_value 2021-07-09T03:20:47,199 cdef cl_int err_code 2021-07-09T03:20:47,199 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_SIZE, sizeof(size_t), 2021-07-09T03:20:47,200 < void *> & param_value, NULL) 2021-07-09T03:20:47,200 ^ 2021-07-09T03:20:47,200 ------------------------------------------------------------ 2021-07-09T03:20:47,200 opencl/cl_mem.pyx:165:42: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,200 Error compiling Cython file: 2021-07-09T03:20:47,200 ------------------------------------------------------------ 2021-07-09T03:20:47,200 ... 2021-07-09T03:20:47,201 cdef size_t param_value 2021-07-09T03:20:47,201 cdef cl_int err_code 2021-07-09T03:20:47,201 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_SIZE, sizeof(size_t), 2021-07-09T03:20:47,201 < void *> & param_value, NULL) 2021-07-09T03:20:47,201 ^ 2021-07-09T03:20:47,201 ------------------------------------------------------------ 2021-07-09T03:20:47,202 opencl/cl_mem.pyx:165:67: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,202 Error compiling Cython file: 2021-07-09T03:20:47,202 ------------------------------------------------------------ 2021-07-09T03:20:47,202 ... 2021-07-09T03:20:47,202 Return the OpenCL internal refrence count of this object. 2021-07-09T03:20:47,202 ''' 2021-07-09T03:20:47,202 def __get__(self): 2021-07-09T03:20:47,202 cdef cl_uint param_value 2021-07-09T03:20:47,203 cdef cl_int err_code 2021-07-09T03:20:47,203 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_REFERENCE_COUNT, sizeof(cl_uint), 2021-07-09T03:20:47,203 ^ 2021-07-09T03:20:47,203 ------------------------------------------------------------ 2021-07-09T03:20:47,203 opencl/cl_mem.pyx:179:58: undeclared name not builtin: CL_MEM_REFERENCE_COUNT 2021-07-09T03:20:47,204 Error compiling Cython file: 2021-07-09T03:20:47,204 ------------------------------------------------------------ 2021-07-09T03:20:47,204 ... 2021-07-09T03:20:47,204 Return the OpenCL internal refrence count of this object. 2021-07-09T03:20:47,204 ''' 2021-07-09T03:20:47,204 def __get__(self): 2021-07-09T03:20:47,204 cdef cl_uint param_value 2021-07-09T03:20:47,204 cdef cl_int err_code 2021-07-09T03:20:47,204 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_REFERENCE_COUNT, sizeof(cl_uint), 2021-07-09T03:20:47,205 ^ 2021-07-09T03:20:47,205 ------------------------------------------------------------ 2021-07-09T03:20:47,205 opencl/cl_mem.pyx:179:96: undeclared name not builtin: cl_uint 2021-07-09T03:20:47,205 Error compiling Cython file: 2021-07-09T03:20:47,205 ------------------------------------------------------------ 2021-07-09T03:20:47,205 ... 2021-07-09T03:20:47,206 ''' 2021-07-09T03:20:47,206 def __get__(self): 2021-07-09T03:20:47,206 cdef cl_uint param_value 2021-07-09T03:20:47,206 cdef cl_int err_code 2021-07-09T03:20:47,206 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_REFERENCE_COUNT, sizeof(cl_uint), 2021-07-09T03:20:47,206 < void *>& param_value, NULL) 2021-07-09T03:20:47,206 ^ 2021-07-09T03:20:47,206 ------------------------------------------------------------ 2021-07-09T03:20:47,207 opencl/cl_mem.pyx:180:43: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,207 Error compiling Cython file: 2021-07-09T03:20:47,207 ------------------------------------------------------------ 2021-07-09T03:20:47,207 ... 2021-07-09T03:20:47,207 ''' 2021-07-09T03:20:47,207 def __get__(self): 2021-07-09T03:20:47,207 cdef cl_uint param_value 2021-07-09T03:20:47,207 cdef cl_int err_code 2021-07-09T03:20:47,208 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_REFERENCE_COUNT, sizeof(cl_uint), 2021-07-09T03:20:47,208 < void *>& param_value, NULL) 2021-07-09T03:20:47,208 ^ 2021-07-09T03:20:47,208 ------------------------------------------------------------ 2021-07-09T03:20:47,208 opencl/cl_mem.pyx:180:67: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,208 Error compiling Cython file: 2021-07-09T03:20:47,208 ------------------------------------------------------------ 2021-07-09T03:20:47,209 ... 2021-07-09T03:20:47,209 property _mapcount: 2021-07-09T03:20:47,209 def __get__(self): 2021-07-09T03:20:47,209 cdef cl_uint param_value 2021-07-09T03:20:47,209 cdef cl_int err_code 2021-07-09T03:20:47,209 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_MAP_COUNT, sizeof(cl_uint), 2021-07-09T03:20:47,209 ^ 2021-07-09T03:20:47,209 ------------------------------------------------------------ 2021-07-09T03:20:47,210 opencl/cl_mem.pyx:192:58: undeclared name not builtin: CL_MEM_MAP_COUNT 2021-07-09T03:20:47,210 Error compiling Cython file: 2021-07-09T03:20:47,210 ------------------------------------------------------------ 2021-07-09T03:20:47,210 ... 2021-07-09T03:20:47,210 def __get__(self): 2021-07-09T03:20:47,210 cdef cl_uint param_value 2021-07-09T03:20:47,211 cdef cl_int err_code 2021-07-09T03:20:47,211 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_MAP_COUNT, sizeof(cl_uint), 2021-07-09T03:20:47,211 < void *>& param_value, NULL) 2021-07-09T03:20:47,211 ^ 2021-07-09T03:20:47,211 ------------------------------------------------------------ 2021-07-09T03:20:47,211 opencl/cl_mem.pyx:193:42: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,211 Error compiling Cython file: 2021-07-09T03:20:47,212 ------------------------------------------------------------ 2021-07-09T03:20:47,212 ... 2021-07-09T03:20:47,212 def __get__(self): 2021-07-09T03:20:47,212 cdef cl_uint param_value 2021-07-09T03:20:47,212 cdef cl_int err_code 2021-07-09T03:20:47,212 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_MAP_COUNT, sizeof(cl_uint), 2021-07-09T03:20:47,212 < void *>& param_value, NULL) 2021-07-09T03:20:47,212 ^ 2021-07-09T03:20:47,213 ------------------------------------------------------------ 2021-07-09T03:20:47,213 opencl/cl_mem.pyx:193:66: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,213 Error compiling Cython file: 2021-07-09T03:20:47,213 ------------------------------------------------------------ 2021-07-09T03:20:47,213 ... 2021-07-09T03:20:47,213 def __get__(self): 2021-07-09T03:20:47,214 cdef size_t param_value 2021-07-09T03:20:47,214 cdef cl_int err_code 2021-07-09T03:20:47,214 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_OFFSET, sizeof(size_t), 2021-07-09T03:20:47,214 ^ 2021-07-09T03:20:47,214 ------------------------------------------------------------ 2021-07-09T03:20:47,214 opencl/cl_mem.pyx:209:58: undeclared name not builtin: CL_MEM_OFFSET 2021-07-09T03:20:47,215 Error compiling Cython file: 2021-07-09T03:20:47,215 ------------------------------------------------------------ 2021-07-09T03:20:47,215 ... 2021-07-09T03:20:47,215 cdef size_t param_value 2021-07-09T03:20:47,215 cdef cl_int err_code 2021-07-09T03:20:47,216 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_OFFSET, sizeof(size_t), 2021-07-09T03:20:47,216 < void *>& param_value, NULL) 2021-07-09T03:20:47,216 ^ 2021-07-09T03:20:47,216 ------------------------------------------------------------ 2021-07-09T03:20:47,216 opencl/cl_mem.pyx:210:42: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,216 Error compiling Cython file: 2021-07-09T03:20:47,216 ------------------------------------------------------------ 2021-07-09T03:20:47,217 ... 2021-07-09T03:20:47,217 cdef size_t param_value 2021-07-09T03:20:47,217 cdef cl_int err_code 2021-07-09T03:20:47,217 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_OFFSET, sizeof(size_t), 2021-07-09T03:20:47,217 < void *>& param_value, NULL) 2021-07-09T03:20:47,217 ^ 2021-07-09T03:20:47,218 ------------------------------------------------------------ 2021-07-09T03:20:47,218 opencl/cl_mem.pyx:210:66: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,218 Error compiling Cython file: 2021-07-09T03:20:47,218 ------------------------------------------------------------ 2021-07-09T03:20:47,218 ... 2021-07-09T03:20:47,218 return param_value 2021-07-09T03:20:47,219 cdef cl_mem _get_base(self): 2021-07-09T03:20:47,219 cdef cl_mem param_value 2021-07-09T03:20:47,219 clGetMemObjectInfo(self.buffer_id, CL_MEM_ASSOCIATED_MEMOBJECT, sizeof(cl_mem), < void *>& param_value, NULL) 2021-07-09T03:20:47,219 ^ 2021-07-09T03:20:47,219 ------------------------------------------------------------ 2021-07-09T03:20:47,219 opencl/cl_mem.pyx:220:43: undeclared name not builtin: CL_MEM_ASSOCIATED_MEMOBJECT 2021-07-09T03:20:47,220 Error compiling Cython file: 2021-07-09T03:20:47,220 ------------------------------------------------------------ 2021-07-09T03:20:47,220 ... 2021-07-09T03:20:47,220 return param_value 2021-07-09T03:20:47,220 cdef cl_mem _get_base(self): 2021-07-09T03:20:47,220 cdef cl_mem param_value 2021-07-09T03:20:47,221 clGetMemObjectInfo(self.buffer_id, CL_MEM_ASSOCIATED_MEMOBJECT, sizeof(cl_mem), < void *>& param_value, NULL) 2021-07-09T03:20:47,221 ^ 2021-07-09T03:20:47,221 ------------------------------------------------------------ 2021-07-09T03:20:47,221 opencl/cl_mem.pyx:220:85: undeclared name not builtin: cl_mem 2021-07-09T03:20:47,221 Error compiling Cython file: 2021-07-09T03:20:47,221 ------------------------------------------------------------ 2021-07-09T03:20:47,221 ... 2021-07-09T03:20:47,222 return param_value 2021-07-09T03:20:47,222 cdef cl_mem _get_base(self): 2021-07-09T03:20:47,222 cdef cl_mem param_value 2021-07-09T03:20:47,222 clGetMemObjectInfo(self.buffer_id, CL_MEM_ASSOCIATED_MEMOBJECT, sizeof(cl_mem), < void *>& param_value, NULL) 2021-07-09T03:20:47,222 ^ 2021-07-09T03:20:47,222 ------------------------------------------------------------ 2021-07-09T03:20:47,223 opencl/cl_mem.pyx:220:88: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,223 Error compiling Cython file: 2021-07-09T03:20:47,223 ------------------------------------------------------------ 2021-07-09T03:20:47,223 ... 2021-07-09T03:20:47,223 return param_value 2021-07-09T03:20:47,223 cdef cl_mem _get_base(self): 2021-07-09T03:20:47,224 cdef cl_mem param_value 2021-07-09T03:20:47,224 clGetMemObjectInfo(self.buffer_id, CL_MEM_ASSOCIATED_MEMOBJECT, sizeof(cl_mem), < void *>& param_value, NULL) 2021-07-09T03:20:47,224 ^ 2021-07-09T03:20:47,224 ------------------------------------------------------------ 2021-07-09T03:20:47,224 opencl/cl_mem.pyx:220:112: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,224 Error compiling Cython file: 2021-07-09T03:20:47,225 ------------------------------------------------------------ 2021-07-09T03:20:47,225 ... 2021-07-09T03:20:47,225 ''' 2021-07-09T03:20:47,225 def __get__(self): 2021-07-09T03:20:47,225 cdef cl_mem param_value 2021-07-09T03:20:47,225 cdef cl_int err_code 2021-07-09T03:20:47,225 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_ASSOCIATED_MEMOBJECT, sizeof(cl_mem), < void *>& param_value, NULL) 2021-07-09T03:20:47,225 ^ 2021-07-09T03:20:47,226 ------------------------------------------------------------ 2021-07-09T03:20:47,226 opencl/cl_mem.pyx:231:103: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,226 Error compiling Cython file: 2021-07-09T03:20:47,226 ------------------------------------------------------------ 2021-07-09T03:20:47,226 ... 2021-07-09T03:20:47,226 ''' 2021-07-09T03:20:47,226 def __get__(self): 2021-07-09T03:20:47,227 cdef cl_mem param_value 2021-07-09T03:20:47,227 cdef cl_int err_code 2021-07-09T03:20:47,227 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_ASSOCIATED_MEMOBJECT, sizeof(cl_mem), < void *>& param_value, NULL) 2021-07-09T03:20:47,227 ^ 2021-07-09T03:20:47,227 ------------------------------------------------------------ 2021-07-09T03:20:47,227 opencl/cl_mem.pyx:231:127: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,228 Error compiling Cython file: 2021-07-09T03:20:47,228 ------------------------------------------------------------ 2021-07-09T03:20:47,228 ... 2021-07-09T03:20:47,228 from opencl.queue import MemoryViewMap 2021-07-09T03:20:47,228 cdef cl_map_flags flags = 0 2021-07-09T03:20:47,228 if readable: 2021-07-09T03:20:47,229 flags |= CL_MAP_READ 2021-07-09T03:20:47,229 ^ 2021-07-09T03:20:47,229 ------------------------------------------------------------ 2021-07-09T03:20:47,229 opencl/cl_mem.pyx:376:21: undeclared name not builtin: CL_MAP_READ 2021-07-09T03:20:47,229 Error compiling Cython file: 2021-07-09T03:20:47,229 ------------------------------------------------------------ 2021-07-09T03:20:47,229 ... 2021-07-09T03:20:47,230 cdef cl_map_flags flags = 0 2021-07-09T03:20:47,230 if readable: 2021-07-09T03:20:47,230 flags |= CL_MAP_READ 2021-07-09T03:20:47,230 if writeable: 2021-07-09T03:20:47,230 flags |= CL_MAP_WRITE 2021-07-09T03:20:47,230 ^ 2021-07-09T03:20:47,230 ------------------------------------------------------------ 2021-07-09T03:20:47,231 opencl/cl_mem.pyx:378:21: undeclared name not builtin: CL_MAP_WRITE 2021-07-09T03:20:47,231 Error compiling Cython file: 2021-07-09T03:20:47,231 ------------------------------------------------------------ 2021-07-09T03:20:47,231 ... 2021-07-09T03:20:47,231 ''' 2021-07-09T03:20:47,231 DeviceMemoryView.from_host(context, host, copy=True, readable=True, writeable=True) 2021-07-09T03:20:47,232 Create an OpenCL buffer from a Python memoryview object. 2021-07-09T03:20:47,232 ''' 2021-07-09T03:20:47,232 if not CyContext_Check(context): 2021-07-09T03:20:47,232 ^ 2021-07-09T03:20:47,232 ------------------------------------------------------------ 2021-07-09T03:20:47,232 opencl/cl_mem.pyx:391:15: 'CyContext_Check' is not a constant, variable or function identifier 2021-07-09T03:20:47,232 Error compiling Cython file: 2021-07-09T03:20:47,233 ------------------------------------------------------------ 2021-07-09T03:20:47,233 ... 2021-07-09T03:20:47,233 if isinstance(host, int): 2021-07-09T03:20:47,233 host = ctypes.c_int(host) 2021-07-09T03:20:47,233 elif isinstance(host, float): 2021-07-09T03:20:47,233 host = ctypes.c_float(host) 2021-07-09T03:20:47,233 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:47,233 ^ 2021-07-09T03:20:47,234 ------------------------------------------------------------ 2021-07-09T03:20:47,234 opencl/cl_mem.pyx:399:30: 'CyContext_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:47,234 Error compiling Cython file: 2021-07-09T03:20:47,234 ------------------------------------------------------------ 2021-07-09T03:20:47,234 ... 2021-07-09T03:20:47,234 cdef int py_flags = PyBUF_SIMPLE | PyBUF_STRIDES | PyBUF_ND | PyBUF_FORMAT 2021-07-09T03:20:47,235 cdef cl_mem_flags mem_flags = 0 2021-07-09T03:20:47,235 if copy: 2021-07-09T03:20:47,235 mem_flags |= CL_MEM_COPY_HOST_PTR 2021-07-09T03:20:47,235 ^ 2021-07-09T03:20:47,235 ------------------------------------------------------------ 2021-07-09T03:20:47,235 opencl/cl_mem.pyx:409:25: undeclared name not builtin: CL_MEM_COPY_HOST_PTR 2021-07-09T03:20:47,236 Error compiling Cython file: 2021-07-09T03:20:47,236 ------------------------------------------------------------ 2021-07-09T03:20:47,236 ... 2021-07-09T03:20:47,236 cdef cl_mem_flags mem_flags = 0 2021-07-09T03:20:47,236 if copy: 2021-07-09T03:20:47,236 mem_flags |= CL_MEM_COPY_HOST_PTR 2021-07-09T03:20:47,236 else: 2021-07-09T03:20:47,237 mem_flags |= CL_MEM_USE_HOST_PTR 2021-07-09T03:20:47,237 ^ 2021-07-09T03:20:47,237 ------------------------------------------------------------ 2021-07-09T03:20:47,237 opencl/cl_mem.pyx:411:25: undeclared name not builtin: CL_MEM_USE_HOST_PTR 2021-07-09T03:20:47,237 Error compiling Cython file: 2021-07-09T03:20:47,237 ------------------------------------------------------------ 2021-07-09T03:20:47,237 ... 2021-07-09T03:20:47,238 mem_flags |= CL_MEM_COPY_HOST_PTR 2021-07-09T03:20:47,238 else: 2021-07-09T03:20:47,238 mem_flags |= CL_MEM_USE_HOST_PTR 2021-07-09T03:20:47,238 if readable and writeable: 2021-07-09T03:20:47,238 mem_flags |= CL_MEM_READ_WRITE 2021-07-09T03:20:47,238 ^ 2021-07-09T03:20:47,238 ------------------------------------------------------------ 2021-07-09T03:20:47,239 opencl/cl_mem.pyx:414:25: undeclared name not builtin: CL_MEM_READ_WRITE 2021-07-09T03:20:47,239 Error compiling Cython file: 2021-07-09T03:20:47,239 ------------------------------------------------------------ 2021-07-09T03:20:47,239 ... 2021-07-09T03:20:47,239 mem_flags |= CL_MEM_USE_HOST_PTR 2021-07-09T03:20:47,239 if readable and writeable: 2021-07-09T03:20:47,240 mem_flags |= CL_MEM_READ_WRITE 2021-07-09T03:20:47,240 elif readable: 2021-07-09T03:20:47,240 mem_flags |= CL_MEM_READ_ONLY 2021-07-09T03:20:47,240 ^ 2021-07-09T03:20:47,240 ------------------------------------------------------------ 2021-07-09T03:20:47,240 opencl/cl_mem.pyx:416:25: undeclared name not builtin: CL_MEM_READ_ONLY 2021-07-09T03:20:47,240 Error compiling Cython file: 2021-07-09T03:20:47,240 ------------------------------------------------------------ 2021-07-09T03:20:47,241 ... 2021-07-09T03:20:47,241 if readable and writeable: 2021-07-09T03:20:47,241 mem_flags |= CL_MEM_READ_WRITE 2021-07-09T03:20:47,241 elif readable: 2021-07-09T03:20:47,241 mem_flags |= CL_MEM_READ_ONLY 2021-07-09T03:20:47,241 elif writeable: 2021-07-09T03:20:47,241 mem_flags |= CL_MEM_WRITE_ONLY 2021-07-09T03:20:47,241 ^ 2021-07-09T03:20:47,242 ------------------------------------------------------------ 2021-07-09T03:20:47,242 opencl/cl_mem.pyx:418:25: undeclared name not builtin: CL_MEM_WRITE_ONLY 2021-07-09T03:20:47,242 Error compiling Cython file: 2021-07-09T03:20:47,242 ------------------------------------------------------------ 2021-07-09T03:20:47,242 ... 2021-07-09T03:20:47,242 if PyObject_GetBuffer(host, & view, py_flags) < 0: 2021-07-09T03:20:47,242 raise Exception("argument host must support the buffer protocol (got %r)" % host) 2021-07-09T03:20:47,243 if PyBuffer_IsContiguous(& view, 'C'): 2021-07-09T03:20:47,243 buffer_id = clCreateBuffer(ctx, mem_flags, view.len, view.buf, & err_code) 2021-07-09T03:20:47,243 ^ 2021-07-09T03:20:47,243 ------------------------------------------------------------ 2021-07-09T03:20:47,243 opencl/cl_mem.pyx:432:24: undeclared name not builtin: clCreateBuffer 2021-07-09T03:20:47,244 Error compiling Cython file: 2021-07-09T03:20:47,244 ------------------------------------------------------------ 2021-07-09T03:20:47,244 ... 2021-07-09T03:20:47,244 if PyObject_GetBuffer(host, & view, py_flags) < 0: 2021-07-09T03:20:47,244 raise Exception("argument host must support the buffer protocol (got %r)" % host) 2021-07-09T03:20:47,244 if PyBuffer_IsContiguous(& view, 'C'): 2021-07-09T03:20:47,245 buffer_id = clCreateBuffer(ctx, mem_flags, view.len, view.buf, & err_code) 2021-07-09T03:20:47,245 ^ 2021-07-09T03:20:47,245 ------------------------------------------------------------ 2021-07-09T03:20:47,245 opencl/cl_mem.pyx:432:69: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,245 Error compiling Cython file: 2021-07-09T03:20:47,245 ------------------------------------------------------------ 2021-07-09T03:20:47,245 ... 2021-07-09T03:20:47,246 cdef size_t mem_size = self.mem_size 2021-07-09T03:20:47,246 cdef cl_buffer_region buffer_create_info 2021-07-09T03:20:47,246 buffer_create_info.origin = offset 2021-07-09T03:20:47,246 buffer_create_info.size = mem_size - offset 2021-07-09T03:20:47,246 sub_buffer = clCreateSubBuffer(base, CL_MEM_READ_WRITE, CL_BUFFER_CREATE_TYPE_REGION, & buffer_create_info, & err_code) 2021-07-09T03:20:47,246 ^ 2021-07-09T03:20:47,246 ------------------------------------------------------------ 2021-07-09T03:20:47,247 opencl/cl_mem.pyx:533:21: undeclared name not builtin: clCreateSubBuffer 2021-07-09T03:20:47,247 Error compiling Cython file: 2021-07-09T03:20:47,247 ------------------------------------------------------------ 2021-07-09T03:20:47,247 ... 2021-07-09T03:20:47,247 cdef size_t mem_size = self.mem_size 2021-07-09T03:20:47,247 cdef cl_buffer_region buffer_create_info 2021-07-09T03:20:47,248 buffer_create_info.origin = offset 2021-07-09T03:20:47,248 buffer_create_info.size = mem_size - offset 2021-07-09T03:20:47,248 sub_buffer = clCreateSubBuffer(base, CL_MEM_READ_WRITE, CL_BUFFER_CREATE_TYPE_REGION, & buffer_create_info, & err_code) 2021-07-09T03:20:47,248 ^ 2021-07-09T03:20:47,248 ------------------------------------------------------------ 2021-07-09T03:20:47,248 opencl/cl_mem.pyx:533:64: undeclared name not builtin: CL_BUFFER_CREATE_TYPE_REGION 2021-07-09T03:20:47,249 Error compiling Cython file: 2021-07-09T03:20:47,249 ------------------------------------------------------------ 2021-07-09T03:20:47,249 ... 2021-07-09T03:20:47,249 ''' 2021-07-09T03:20:47,249 empty(context, shape, ctype='B') -> view 2021-07-09T03:20:47,249 Create an empty buffer. 2021-07-09T03:20:47,249 ''' 2021-07-09T03:20:47,249 if not CyContext_Check(context): 2021-07-09T03:20:47,250 ^ 2021-07-09T03:20:47,250 ------------------------------------------------------------ 2021-07-09T03:20:47,250 opencl/cl_mem.pyx:717:11: 'CyContext_Check' is not a constant, variable or function identifier 2021-07-09T03:20:47,250 Error compiling Cython file: 2021-07-09T03:20:47,250 ------------------------------------------------------------ 2021-07-09T03:20:47,250 ... 2021-07-09T03:20:47,251 Create an empty buffer. 2021-07-09T03:20:47,251 ''' 2021-07-09T03:20:47,251 if not CyContext_Check(context): 2021-07-09T03:20:47,251 raise TypeError("argument 'context' must be a valid opencl.Context object") 2021-07-09T03:20:47,251 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:47,251 ^ 2021-07-09T03:20:47,251 ------------------------------------------------------------ 2021-07-09T03:20:47,252 opencl/cl_mem.pyx:720:26: 'CyContext_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:47,252 Error compiling Cython file: 2021-07-09T03:20:47,252 ------------------------------------------------------------ 2021-07-09T03:20:47,252 ... 2021-07-09T03:20:47,252 cdef size_t itemsize = size_from_format(format) 2021-07-09T03:20:47,252 cdef size_t size = itemsize 2021-07-09T03:20:47,252 for i in shape: 2021-07-09T03:20:47,252 size *= i 2021-07-09T03:20:47,253 cdef cl_mem buffer_id = clCreateBuffer(ctx, flags, size, NULL, & err_code) 2021-07-09T03:20:47,253 ^ 2021-07-09T03:20:47,253 ------------------------------------------------------------ 2021-07-09T03:20:47,253 opencl/cl_mem.pyx:737:61: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,255 Error compiling Cython file: 2021-07-09T03:20:47,255 ------------------------------------------------------------ 2021-07-09T03:20:47,256 ... 2021-07-09T03:20:47,256 cdef cl_image_format cl_format 2021-07-09T03:20:47,256 @classmethod 2021-07-09T03:20:47,256 def supported_formats(cls, context, readable=True, wirteable=True): 2021-07-09T03:20:47,256 if not CyContext_Check(context): 2021-07-09T03:20:47,256 ^ 2021-07-09T03:20:47,256 ------------------------------------------------------------ 2021-07-09T03:20:47,257 opencl/cl_mem.pyx:844:15: 'CyContext_Check' is not a constant, variable or function identifier 2021-07-09T03:20:47,257 Error compiling Cython file: 2021-07-09T03:20:47,257 ------------------------------------------------------------ 2021-07-09T03:20:47,257 ... 2021-07-09T03:20:47,257 elif readable: 2021-07-09T03:20:47,257 flags = CL_MEM_READ_ONLY 2021-07-09T03:20:47,258 else: 2021-07-09T03:20:47,258 flags = CL_MEM_WRITE_ONLY 2021-07-09T03:20:47,258 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:47,258 ^ 2021-07-09T03:20:47,258 ------------------------------------------------------------ 2021-07-09T03:20:47,258 opencl/cl_mem.pyx:858:30: 'CyContext_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:47,259 Error compiling Cython file: 2021-07-09T03:20:47,259 ------------------------------------------------------------ 2021-07-09T03:20:47,259 ... 2021-07-09T03:20:47,259 cdef cl_int err_code 2021-07-09T03:20:47,259 cdef cl_image_format * image_formats 2021-07-09T03:20:47,259 cdef cl_uint num_image_formats 2021-07-09T03:20:47,259 cdef cl_mem_object_type image_type = CL_MEM_OBJECT_IMAGE2D 2021-07-09T03:20:47,260 err_code = clGetSupportedImageFormats(ctx, flags, image_type, 0, NULL, & num_image_formats) 2021-07-09T03:20:47,260 ^ 2021-07-09T03:20:47,260 ------------------------------------------------------------ 2021-07-09T03:20:47,260 opencl/cl_mem.pyx:865:19: undeclared name not builtin: clGetSupportedImageFormats 2021-07-09T03:20:47,260 Error compiling Cython file: 2021-07-09T03:20:47,260 ------------------------------------------------------------ 2021-07-09T03:20:47,261 ... 2021-07-09T03:20:47,261 cdef cl_int err_code 2021-07-09T03:20:47,261 cdef cl_image_format * image_formats 2021-07-09T03:20:47,261 cdef cl_uint num_image_formats 2021-07-09T03:20:47,261 cdef cl_mem_object_type image_type = CL_MEM_OBJECT_IMAGE2D 2021-07-09T03:20:47,261 err_code = clGetSupportedImageFormats(ctx, flags, image_type, 0, NULL, & num_image_formats) 2021-07-09T03:20:47,261 ^ 2021-07-09T03:20:47,262 ------------------------------------------------------------ 2021-07-09T03:20:47,262 opencl/cl_mem.pyx:865:73: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,262 Error compiling Cython file: 2021-07-09T03:20:47,262 ------------------------------------------------------------ 2021-07-09T03:20:47,262 ... 2021-07-09T03:20:47,262 err_code = clGetSupportedImageFormats(ctx, flags, image_type, 0, NULL, & num_image_formats) 2021-07-09T03:20:47,263 if err_code != CL_SUCCESS: 2021-07-09T03:20:47,263 raise OpenCLException(err_code) 2021-07-09T03:20:47,263 image_formats = < cl_image_format *> malloc(sizeof(cl_image_format) * num_image_formats) 2021-07-09T03:20:47,263 ^ 2021-07-09T03:20:47,263 ------------------------------------------------------------ 2021-07-09T03:20:47,263 opencl/cl_mem.pyx:870:26: 'cl_image_format' is not a type identifier 2021-07-09T03:20:47,263 Error compiling Cython file: 2021-07-09T03:20:47,264 ------------------------------------------------------------ 2021-07-09T03:20:47,264 ... 2021-07-09T03:20:47,264 err_code = clGetSupportedImageFormats(ctx, flags, image_type, 0, NULL, & num_image_formats) 2021-07-09T03:20:47,264 if err_code != CL_SUCCESS: 2021-07-09T03:20:47,264 raise OpenCLException(err_code) 2021-07-09T03:20:47,264 image_formats = < cl_image_format *> malloc(sizeof(cl_image_format) * num_image_formats) 2021-07-09T03:20:47,265 ^ 2021-07-09T03:20:47,265 ------------------------------------------------------------ 2021-07-09T03:20:47,265 opencl/cl_mem.pyx:870:74: undeclared name not builtin: cl_image_format 2021-07-09T03:20:47,265 Error compiling Cython file: 2021-07-09T03:20:47,265 ------------------------------------------------------------ 2021-07-09T03:20:47,265 ... 2021-07-09T03:20:47,266 if err_code != CL_SUCCESS: 2021-07-09T03:20:47,266 raise OpenCLException(err_code) 2021-07-09T03:20:47,266 image_formats = < cl_image_format *> malloc(sizeof(cl_image_format) * num_image_formats) 2021-07-09T03:20:47,266 err_code = clGetSupportedImageFormats(ctx, flags, image_type, num_image_formats, image_formats, NULL) 2021-07-09T03:20:47,266 ^ 2021-07-09T03:20:47,266 ------------------------------------------------------------ 2021-07-09T03:20:47,267 opencl/cl_mem.pyx:872:104: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,278 Error compiling Cython file: 2021-07-09T03:20:47,278 ------------------------------------------------------------ 2021-07-09T03:20:47,278 ... 2021-07-09T03:20:47,278 property image_format: 2021-07-09T03:20:47,279 def __get__(self): 2021-07-09T03:20:47,279 cdef cl_int err_code 2021-07-09T03:20:47,279 cdef cl_image_format image_format 2021-07-09T03:20:47,279 err_code = clGetImageInfo(self.buffer_id, CL_IMAGE_FORMAT, sizeof(cl_image_format), & image_format, NULL) 2021-07-09T03:20:47,279 ^ 2021-07-09T03:20:47,279 ------------------------------------------------------------ 2021-07-09T03:20:47,280 opencl/cl_mem.pyx:972:23: undeclared name not builtin: clGetImageInfo 2021-07-09T03:20:47,280 Error compiling Cython file: 2021-07-09T03:20:47,280 ------------------------------------------------------------ 2021-07-09T03:20:47,280 ... 2021-07-09T03:20:47,280 property image_format: 2021-07-09T03:20:47,280 def __get__(self): 2021-07-09T03:20:47,280 cdef cl_int err_code 2021-07-09T03:20:47,281 cdef cl_image_format image_format 2021-07-09T03:20:47,281 err_code = clGetImageInfo(self.buffer_id, CL_IMAGE_FORMAT, sizeof(cl_image_format), & image_format, NULL) 2021-07-09T03:20:47,281 ^ 2021-07-09T03:20:47,281 ------------------------------------------------------------ 2021-07-09T03:20:47,281 opencl/cl_mem.pyx:972:54: undeclared name not builtin: CL_IMAGE_FORMAT 2021-07-09T03:20:47,281 Error compiling Cython file: 2021-07-09T03:20:47,282 ------------------------------------------------------------ 2021-07-09T03:20:47,282 ... 2021-07-09T03:20:47,282 property image_format: 2021-07-09T03:20:47,282 def __get__(self): 2021-07-09T03:20:47,282 cdef cl_int err_code 2021-07-09T03:20:47,282 cdef cl_image_format image_format 2021-07-09T03:20:47,282 err_code = clGetImageInfo(self.buffer_id, CL_IMAGE_FORMAT, sizeof(cl_image_format), & image_format, NULL) 2021-07-09T03:20:47,283 ^ 2021-07-09T03:20:47,283 ------------------------------------------------------------ 2021-07-09T03:20:47,283 opencl/cl_mem.pyx:972:112: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,283 Error compiling Cython file: 2021-07-09T03:20:47,283 ------------------------------------------------------------ 2021-07-09T03:20:47,283 ... 2021-07-09T03:20:47,284 property image_width: 2021-07-09T03:20:47,284 def __get__(self): 2021-07-09T03:20:47,284 cdef cl_int err_code 2021-07-09T03:20:47,284 cdef size_t value 2021-07-09T03:20:47,284 err_code = clGetImageInfo(self.buffer_id, CL_IMAGE_WIDTH, sizeof(size_t), & value, NULL) 2021-07-09T03:20:47,284 ^ 2021-07-09T03:20:47,284 ------------------------------------------------------------ 2021-07-09T03:20:47,285 opencl/cl_mem.pyx:982:54: undeclared name not builtin: CL_IMAGE_WIDTH 2021-07-09T03:20:47,285 Error compiling Cython file: 2021-07-09T03:20:47,285 ------------------------------------------------------------ 2021-07-09T03:20:47,285 ... 2021-07-09T03:20:47,285 property image_width: 2021-07-09T03:20:47,286 def __get__(self): 2021-07-09T03:20:47,286 cdef cl_int err_code 2021-07-09T03:20:47,286 cdef size_t value 2021-07-09T03:20:47,286 err_code = clGetImageInfo(self.buffer_id, CL_IMAGE_WIDTH, sizeof(size_t), & value, NULL) 2021-07-09T03:20:47,286 ^ 2021-07-09T03:20:47,286 ------------------------------------------------------------ 2021-07-09T03:20:47,286 opencl/cl_mem.pyx:982:86: Cannot convert 'size_t *' to Python object 2021-07-09T03:20:47,287 Error compiling Cython file: 2021-07-09T03:20:47,287 ------------------------------------------------------------ 2021-07-09T03:20:47,287 ... 2021-07-09T03:20:47,287 property image_width: 2021-07-09T03:20:47,287 def __get__(self): 2021-07-09T03:20:47,287 cdef cl_int err_code 2021-07-09T03:20:47,287 cdef size_t value 2021-07-09T03:20:47,287 err_code = clGetImageInfo(self.buffer_id, CL_IMAGE_WIDTH, sizeof(size_t), & value, NULL) 2021-07-09T03:20:47,288 ^ 2021-07-09T03:20:47,288 ------------------------------------------------------------ 2021-07-09T03:20:47,288 opencl/cl_mem.pyx:982:95: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,288 Error compiling Cython file: 2021-07-09T03:20:47,288 ------------------------------------------------------------ 2021-07-09T03:20:47,288 ... 2021-07-09T03:20:47,289 property image_height: 2021-07-09T03:20:47,289 def __get__(self): 2021-07-09T03:20:47,289 cdef cl_int err_code 2021-07-09T03:20:47,289 cdef size_t value 2021-07-09T03:20:47,289 err_code = clGetImageInfo(self.buffer_id, CL_IMAGE_HEIGHT, sizeof(size_t), & value, NULL) 2021-07-09T03:20:47,289 ^ 2021-07-09T03:20:47,289 ------------------------------------------------------------ 2021-07-09T03:20:47,290 opencl/cl_mem.pyx:991:54: undeclared name not builtin: CL_IMAGE_HEIGHT 2021-07-09T03:20:47,290 Error compiling Cython file: 2021-07-09T03:20:47,290 ------------------------------------------------------------ 2021-07-09T03:20:47,290 ... 2021-07-09T03:20:47,290 property image_height: 2021-07-09T03:20:47,290 def __get__(self): 2021-07-09T03:20:47,290 cdef cl_int err_code 2021-07-09T03:20:47,291 cdef size_t value 2021-07-09T03:20:47,291 err_code = clGetImageInfo(self.buffer_id, CL_IMAGE_HEIGHT, sizeof(size_t), & value, NULL) 2021-07-09T03:20:47,291 ^ 2021-07-09T03:20:47,291 ------------------------------------------------------------ 2021-07-09T03:20:47,291 opencl/cl_mem.pyx:991:87: Cannot convert 'size_t *' to Python object 2021-07-09T03:20:47,291 Error compiling Cython file: 2021-07-09T03:20:47,292 ------------------------------------------------------------ 2021-07-09T03:20:47,292 ... 2021-07-09T03:20:47,292 property image_height: 2021-07-09T03:20:47,292 def __get__(self): 2021-07-09T03:20:47,292 cdef cl_int err_code 2021-07-09T03:20:47,292 cdef size_t value 2021-07-09T03:20:47,292 err_code = clGetImageInfo(self.buffer_id, CL_IMAGE_HEIGHT, sizeof(size_t), & value, NULL) 2021-07-09T03:20:47,292 ^ 2021-07-09T03:20:47,293 ------------------------------------------------------------ 2021-07-09T03:20:47,293 opencl/cl_mem.pyx:991:96: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,293 Error compiling Cython file: 2021-07-09T03:20:47,293 ------------------------------------------------------------ 2021-07-09T03:20:47,293 ... 2021-07-09T03:20:47,294 property image_depth: 2021-07-09T03:20:47,294 def __get__(self): 2021-07-09T03:20:47,294 cdef cl_int err_code 2021-07-09T03:20:47,294 cdef size_t value 2021-07-09T03:20:47,294 err_code = clGetImageInfo(self.buffer_id, CL_IMAGE_DEPTH, sizeof(size_t), & value, NULL) 2021-07-09T03:20:47,294 ^ 2021-07-09T03:20:47,294 ------------------------------------------------------------ 2021-07-09T03:20:47,295 opencl/cl_mem.pyx:1000:54: undeclared name not builtin: CL_IMAGE_DEPTH 2021-07-09T03:20:47,295 Error compiling Cython file: 2021-07-09T03:20:47,295 ------------------------------------------------------------ 2021-07-09T03:20:47,295 ... 2021-07-09T03:20:47,295 property image_depth: 2021-07-09T03:20:47,295 def __get__(self): 2021-07-09T03:20:47,295 cdef cl_int err_code 2021-07-09T03:20:47,296 cdef size_t value 2021-07-09T03:20:47,296 err_code = clGetImageInfo(self.buffer_id, CL_IMAGE_DEPTH, sizeof(size_t), & value, NULL) 2021-07-09T03:20:47,296 ^ 2021-07-09T03:20:47,296 ------------------------------------------------------------ 2021-07-09T03:20:47,296 opencl/cl_mem.pyx:1000:86: Cannot convert 'size_t *' to Python object 2021-07-09T03:20:47,296 Error compiling Cython file: 2021-07-09T03:20:47,296 ------------------------------------------------------------ 2021-07-09T03:20:47,297 ... 2021-07-09T03:20:47,297 property image_depth: 2021-07-09T03:20:47,297 def __get__(self): 2021-07-09T03:20:47,297 cdef cl_int err_code 2021-07-09T03:20:47,297 cdef size_t value 2021-07-09T03:20:47,297 err_code = clGetImageInfo(self.buffer_id, CL_IMAGE_DEPTH, sizeof(size_t), & value, NULL) 2021-07-09T03:20:47,297 ^ 2021-07-09T03:20:47,298 ------------------------------------------------------------ 2021-07-09T03:20:47,298 opencl/cl_mem.pyx:1000:95: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,302 Error compiling Cython file: 2021-07-09T03:20:47,302 ------------------------------------------------------------ 2021-07-09T03:20:47,302 ... 2021-07-09T03:20:47,303 def empty_image(context, shape, image_format): 2021-07-09T03:20:47,303 ''' 2021-07-09T03:20:47,303 Create an image object. 2021-07-09T03:20:47,303 ''' 2021-07-09T03:20:47,303 if not CyContext_Check(context): 2021-07-09T03:20:47,303 ^ 2021-07-09T03:20:47,303 ------------------------------------------------------------ 2021-07-09T03:20:47,304 opencl/cl_mem.pyx:1091:11: 'CyContext_Check' is not a constant, variable or function identifier 2021-07-09T03:20:47,304 Error compiling Cython file: 2021-07-09T03:20:47,304 ------------------------------------------------------------ 2021-07-09T03:20:47,304 ... 2021-07-09T03:20:47,304 raise TypeError("argument 'context' must be a valid opencl.Context object") 2021-07-09T03:20:47,305 if len(shape) not in [2, 3]: 2021-07-09T03:20:47,305 raise TypeError("shape must be 2 or 3 dimentional (got ndim=%i)" % len(shape)) 2021-07-09T03:20:47,305 cdef cl_context ctx = CyContext_GetID(context) 2021-07-09T03:20:47,305 ^ 2021-07-09T03:20:47,305 ------------------------------------------------------------ 2021-07-09T03:20:47,305 opencl/cl_mem.pyx:1097:26: 'CyContext_GetID' is not a constant, variable or function identifier 2021-07-09T03:20:47,306 Error compiling Cython file: 2021-07-09T03:20:47,306 ------------------------------------------------------------ 2021-07-09T03:20:47,306 ... 2021-07-09T03:20:47,306 cdef size_t image_slice_pitch = 0 2021-07-09T03:20:47,306 cdef void * host_ptr = NULL 2021-07-09T03:20:47,306 cdef cl_mem buffer_id 2021-07-09T03:20:47,306 if len(shape) == 2: 2021-07-09T03:20:47,307 buffer_id = clCreateImage2D(ctx, flags, & fmt, image_width, image_height, image_row_pitch, NULL, & err_code) 2021-07-09T03:20:47,307 ^ 2021-07-09T03:20:47,307 ------------------------------------------------------------ 2021-07-09T03:20:47,307 opencl/cl_mem.pyx:1118:20: undeclared name not builtin: clCreateImage2D 2021-07-09T03:20:47,307 Error compiling Cython file: 2021-07-09T03:20:47,307 ------------------------------------------------------------ 2021-07-09T03:20:47,308 ... 2021-07-09T03:20:47,308 cdef size_t image_slice_pitch = 0 2021-07-09T03:20:47,308 cdef void * host_ptr = NULL 2021-07-09T03:20:47,308 cdef cl_mem buffer_id 2021-07-09T03:20:47,308 if len(shape) == 2: 2021-07-09T03:20:47,308 buffer_id = clCreateImage2D(ctx, flags, & fmt, image_width, image_height, image_row_pitch, NULL, & err_code) 2021-07-09T03:20:47,308 ^ 2021-07-09T03:20:47,309 ------------------------------------------------------------ 2021-07-09T03:20:47,309 opencl/cl_mem.pyx:1118:99: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,309 Error compiling Cython file: 2021-07-09T03:20:47,309 ------------------------------------------------------------ 2021-07-09T03:20:47,309 ... 2021-07-09T03:20:47,309 cdef cl_mem buffer_id 2021-07-09T03:20:47,309 if len(shape) == 2: 2021-07-09T03:20:47,310 buffer_id = clCreateImage2D(ctx, flags, & fmt, image_width, image_height, image_row_pitch, NULL, & err_code) 2021-07-09T03:20:47,310 else: 2021-07-09T03:20:47,310 image_depth = shape[2] 2021-07-09T03:20:47,310 buffer_id = clCreateImage3D(ctx, flags, & fmt, image_width, image_height, image_depth, image_row_pitch, image_slice_pitch, NULL, & err_code) 2021-07-09T03:20:47,310 ^ 2021-07-09T03:20:47,310 ------------------------------------------------------------ 2021-07-09T03:20:47,310 opencl/cl_mem.pyx:1121:20: undeclared name not builtin: clCreateImage3D 2021-07-09T03:20:47,311 Error compiling Cython file: 2021-07-09T03:20:47,311 ------------------------------------------------------------ 2021-07-09T03:20:47,311 ... 2021-07-09T03:20:47,311 cdef cl_mem buffer_id 2021-07-09T03:20:47,311 if len(shape) == 2: 2021-07-09T03:20:47,311 buffer_id = clCreateImage2D(ctx, flags, & fmt, image_width, image_height, image_row_pitch, NULL, & err_code) 2021-07-09T03:20:47,311 else: 2021-07-09T03:20:47,311 image_depth = shape[2] 2021-07-09T03:20:47,312 buffer_id = clCreateImage3D(ctx, flags, & fmt, image_width, image_height, image_depth, image_row_pitch, image_slice_pitch, NULL, & err_code) 2021-07-09T03:20:47,312 ^ 2021-07-09T03:20:47,312 ------------------------------------------------------------ 2021-07-09T03:20:47,312 opencl/cl_mem.pyx:1121:131: Cannot convert 'void *' to Python object 2021-07-09T03:20:47,317 Error compiling Cython file: 2021-07-09T03:20:47,317 ------------------------------------------------------------ 2021-07-09T03:20:47,317 ... 2021-07-09T03:20:47,317 # API 2021-07-09T03:20:47,317 #=============================================================================== 2021-07-09T03:20:47,318 cdef api object CyMemoryObject_Create(cl_mem buffer_id): 2021-07-09T03:20:47,318 cdef MemoryObject cview = < MemoryObject > MemoryObject.__new__(MemoryObject) 2021-07-09T03:20:47,318 clRetainMemObject(buffer_id) 2021-07-09T03:20:47,318 ^ 2021-07-09T03:20:47,318 ------------------------------------------------------------ 2021-07-09T03:20:47,318 opencl/cl_mem.pyx:1159:4: undeclared name not builtin: clRetainMemObject 2021-07-09T03:20:47,811 cythoning opencl/cl_types.pyx to opencl/cl_types.c 2021-07-09T03:20:47,817 /usr/local/lib/python3.9/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-6gt1nq2h/opencl-for-python_c1a6ab231b0f46fe81e2d5c22234fd72/opencl/cl_types.pyx 2021-07-09T03:20:47,817 tree = Parsing.p_module(s, pxd, full_module_name) 2021-07-09T03:20:47,966 Error compiling Cython file: 2021-07-09T03:20:47,966 ------------------------------------------------------------ 2021-07-09T03:20:47,966 ... 2021-07-09T03:20:47,966 cimport _cl as cl 2021-07-09T03:20:47,966 ^ 2021-07-09T03:20:47,967 ------------------------------------------------------------ 2021-07-09T03:20:47,967 opencl/cl_types.pyx:2:8: '_cl.pxd' not found 2021-07-09T03:20:48,055 Error compiling Cython file: 2021-07-09T03:20:48,055 ------------------------------------------------------------ 2021-07-09T03:20:48,055 ... 2021-07-09T03:20:48,055 # 2021-07-09T03:20:48,056 int_types = [ctypes.c_int8, ctypes.c_int16, ctypes.c_int32, ctypes.c_int64] 2021-07-09T03:20:48,056 uint_types = [ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint32, ctypes.c_uint64] 2021-07-09T03:20:48,056 for int_type in int_types: 2021-07-09T03:20:48,056 if ctypes.sizeof(int_type) == sizeof(cl.cl_short): 2021-07-09T03:20:48,056 ^ 2021-07-09T03:20:48,056 ------------------------------------------------------------ 2021-07-09T03:20:48,057 opencl/cl_types.pyx:17:52: cimported module has no attribute 'cl_short' 2021-07-09T03:20:48,057 Error compiling Cython file: 2021-07-09T03:20:48,057 ------------------------------------------------------------ 2021-07-09T03:20:48,057 ... 2021-07-09T03:20:48,057 for int_type in int_types: 2021-07-09T03:20:48,057 if ctypes.sizeof(int_type) == sizeof(cl.cl_short): 2021-07-09T03:20:48,057 cl_short = int_type 2021-07-09T03:20:48,058 for int_type in uint_types: 2021-07-09T03:20:48,058 if ctypes.sizeof(int_type) == sizeof(cl.cl_ushort): 2021-07-09T03:20:48,058 ^ 2021-07-09T03:20:48,058 ------------------------------------------------------------ 2021-07-09T03:20:48,058 opencl/cl_types.pyx:21:53: cimported module has no attribute 'cl_ushort' 2021-07-09T03:20:48,058 Error compiling Cython file: 2021-07-09T03:20:48,059 ------------------------------------------------------------ 2021-07-09T03:20:48,059 ... 2021-07-09T03:20:48,059 for int_type in uint_types: 2021-07-09T03:20:48,059 if ctypes.sizeof(int_type) == sizeof(cl.cl_ushort): 2021-07-09T03:20:48,059 cl_ushort = int_type 2021-07-09T03:20:48,059 for int_type in int_types: 2021-07-09T03:20:48,059 if ctypes.sizeof(int_type) == sizeof(cl.cl_int): 2021-07-09T03:20:48,059 ^ 2021-07-09T03:20:48,060 ------------------------------------------------------------ 2021-07-09T03:20:48,060 opencl/cl_types.pyx:25:50: cimported module has no attribute 'cl_int' 2021-07-09T03:20:48,060 Error compiling Cython file: 2021-07-09T03:20:48,060 ------------------------------------------------------------ 2021-07-09T03:20:48,060 ... 2021-07-09T03:20:48,060 for int_type in int_types: 2021-07-09T03:20:48,061 if ctypes.sizeof(int_type) == sizeof(cl.cl_int): 2021-07-09T03:20:48,061 cl_int = int_type 2021-07-09T03:20:48,061 for int_type in uint_types: 2021-07-09T03:20:48,061 if ctypes.sizeof(int_type) == sizeof(cl.cl_uint): 2021-07-09T03:20:48,061 ^ 2021-07-09T03:20:48,061 ------------------------------------------------------------ 2021-07-09T03:20:48,061 opencl/cl_types.pyx:29:51: cimported module has no attribute 'cl_uint' 2021-07-09T03:20:48,062 Error compiling Cython file: 2021-07-09T03:20:48,062 ------------------------------------------------------------ 2021-07-09T03:20:48,062 ... 2021-07-09T03:20:48,062 for int_type in uint_types: 2021-07-09T03:20:48,062 if ctypes.sizeof(int_type) == sizeof(cl.cl_uint): 2021-07-09T03:20:48,062 cl_uint = int_type 2021-07-09T03:20:48,062 for int_type in int_types: 2021-07-09T03:20:48,063 if ctypes.sizeof(int_type) == sizeof(cl.cl_long): 2021-07-09T03:20:48,063 ^ 2021-07-09T03:20:48,063 ------------------------------------------------------------ 2021-07-09T03:20:48,063 opencl/cl_types.pyx:33:51: cimported module has no attribute 'cl_long' 2021-07-09T03:20:48,063 Error compiling Cython file: 2021-07-09T03:20:48,063 ------------------------------------------------------------ 2021-07-09T03:20:48,063 ... 2021-07-09T03:20:48,064 for int_type in int_types: 2021-07-09T03:20:48,064 if ctypes.sizeof(int_type) == sizeof(cl.cl_long): 2021-07-09T03:20:48,064 cl_long = int_type 2021-07-09T03:20:48,064 for int_type in uint_types: 2021-07-09T03:20:48,064 if ctypes.sizeof(int_type) == sizeof(cl.cl_ulong): 2021-07-09T03:20:48,064 ^ 2021-07-09T03:20:48,064 ------------------------------------------------------------ 2021-07-09T03:20:48,065 opencl/cl_types.pyx:37:52: cimported module has no attribute 'cl_ulong' 2021-07-09T03:20:48,065 Error compiling Cython file: 2021-07-09T03:20:48,065 ------------------------------------------------------------ 2021-07-09T03:20:48,065 ... 2021-07-09T03:20:48,065 for int_type in uint_types: 2021-07-09T03:20:48,066 if ctypes.sizeof(int_type) == sizeof(cl.cl_ulong): 2021-07-09T03:20:48,066 cl_ulong = int_type 2021-07-09T03:20:48,066 for int_type in uint_types: 2021-07-09T03:20:48,066 if ctypes.sizeof(int_type) == sizeof(cl.cl_half): 2021-07-09T03:20:48,066 ^ 2021-07-09T03:20:48,066 ------------------------------------------------------------ 2021-07-09T03:20:48,066 opencl/cl_types.pyx:41:51: cimported module has no attribute 'cl_half' 2021-07-09T03:20:48,344 building 'opencl.program' extension 2021-07-09T03:20:48,344 creating build/temp.linux-armv7l-3.9 2021-07-09T03:20:48,345 creating build/temp.linux-armv7l-3.9/opencl 2021-07-09T03:20:48,345 arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/CL -I/usr/include/python3.9 -c opencl/program.c -o build/temp.linux-armv7l-3.9/opencl/program.o 2021-07-09T03:20:48,397 opencl/program.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation. 2021-07-09T03:20:48,398 1 | #error Do not use this file, it is the result of a failed Cython compilation. 2021-07-09T03:20:48,398 | ^~~~~ 2021-07-09T03:20:48,402 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2021-07-09T03:20:48,663 Building wheel for opencl-for-python (setup.py): finished with status 'error' 2021-07-09T03:20:48,664 ERROR: Failed building wheel for opencl-for-python 2021-07-09T03:20:48,666 Running setup.py clean for opencl-for-python 2021-07-09T03:20:48,666 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-6gt1nq2h/opencl-for-python_c1a6ab231b0f46fe81e2d5c22234fd72/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-6gt1nq2h/opencl-for-python_c1a6ab231b0f46fe81e2d5c22234fd72/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all 2021-07-09T03:20:49,528 running clean 2021-07-09T03:20:49,529 removing 'build/temp.linux-armv7l-3.9' (and everything under it) 2021-07-09T03:20:49,531 removing 'build/lib.linux-armv7l-3.9' (and everything under it) 2021-07-09T03:20:49,535 'build/bdist.linux-armv7l' does not exist -- can't clean it 2021-07-09T03:20:49,536 'build/scripts-3.9' does not exist -- can't clean it 2021-07-09T03:20:49,536 removing 'build' 2021-07-09T03:20:49,595 Failed to build opencl-for-python 2021-07-09T03:20:49,595 ERROR: Failed to build one or more wheels 2021-07-09T03:20:49,596 Exception information: 2021-07-09T03:20:49,596 Traceback (most recent call last): 2021-07-09T03:20:49,596 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 180, in _main 2021-07-09T03:20:49,596 status = self.run(options, args) 2021-07-09T03:20:49,596 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/req_command.py", line 205, in wrapper 2021-07-09T03:20:49,596 return func(self, options, args) 2021-07-09T03:20:49,596 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/commands/wheel.py", line 174, in run 2021-07-09T03:20:49,596 raise CommandError( 2021-07-09T03:20:49,596 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2021-07-09T03:20:49,598 Removed build tracker: '/tmp/pip-req-tracker-wdx8ebc3'