2023-09-08T04:52:57,426 Created temporary directory: /tmp/pip-build-tracker-9vobt_ud 2023-09-08T04:52:57,427 Initialized build tracking at /tmp/pip-build-tracker-9vobt_ud 2023-09-08T04:52:57,428 Created build tracker: /tmp/pip-build-tracker-9vobt_ud 2023-09-08T04:52:57,428 Entered build tracker: /tmp/pip-build-tracker-9vobt_ud 2023-09-08T04:52:57,429 Created temporary directory: /tmp/pip-wheel-za51ns4w 2023-09-08T04:52:57,432 Created temporary directory: /tmp/pip-ephem-wheel-cache-ap3q2b80 2023-09-08T04:52:57,454 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-08T04:52:57,458 2 location(s) to search for versions of opencl-for-python: 2023-09-08T04:52:57,458 * https://pypi.org/simple/opencl-for-python/ 2023-09-08T04:52:57,458 * https://www.piwheels.org/simple/opencl-for-python/ 2023-09-08T04:52:57,459 Fetching project page and analyzing links: https://pypi.org/simple/opencl-for-python/ 2023-09-08T04:52:57,460 Getting page https://pypi.org/simple/opencl-for-python/ 2023-09-08T04:52:57,461 Found index url https://pypi.org/simple/ 2023-09-08T04:52:57,599 Fetched page https://pypi.org/simple/opencl-for-python/ as application/vnd.pypi.simple.v1+json 2023-09-08T04:52:57,602 Found link https://files.pythonhosted.org/packages/6f/a2/3493690e7f034d1a3c24618ac3125013225d4feb92f87edb141896b836cd/opencl-for-python-0.5.0-.tar.gz (from https://pypi.org/simple/opencl-for-python/), version: 0.5.0- 2023-09-08T04:52:57,602 Found link https://files.pythonhosted.org/packages/4d/57/00585f59d32e69ff46bcc38059c1726b57a2f734aa9337a21d0ac80ff8fb/opencl-for-python-0.3.0.tar.gz (from https://pypi.org/simple/opencl-for-python/), version: 0.3.0 2023-09-08T04:52:57,603 Found link https://files.pythonhosted.org/packages/50/4b/c7de157f752a5f5aecf9d6a510ee9acbce9b43d4665959305d4e1dc2ed6e/opencl-for-python-0.3.1.tar.gz (from https://pypi.org/simple/opencl-for-python/), version: 0.3.1 2023-09-08T04:52:57,604 Found link https://files.pythonhosted.org/packages/2e/60/97fbda9ba44df993e710627f9f9f6839f12b691bb0847f300c240a817cf4/opencl-for-python-0.3.2.tar.gz (from https://pypi.org/simple/opencl-for-python/), version: 0.3.2 2023-09-08T04:52:57,604 Found link https://files.pythonhosted.org/packages/b4/d8/5d01909ddf5a3c60f32193f73de9c0ce50cc91479b20e40ec21ce9bf6f72/opencl-for-python-0.3.3.tar.gz (from https://pypi.org/simple/opencl-for-python/), version: 0.3.3 2023-09-08T04:52:57,605 Found link https://files.pythonhosted.org/packages/6f/49/de79e4b4a156e2027d70edcacd2d684740db906c1f53f3331fe324f030c2/opencl-for-python-0.4.0.tar.gz (from https://pypi.org/simple/opencl-for-python/), version: 0.4.0 2023-09-08T04:52:57,606 Found link https://files.pythonhosted.org/packages/05/b1/008c09e19f97363e5dfb29c068083180008705dc093964d063ec7aed54a9/opencl-for-python-0.5.1.tar.gz (from https://pypi.org/simple/opencl-for-python/), version: 0.5.1 2023-09-08T04:52:57,607 Found link https://files.pythonhosted.org/packages/b7/8f/c04c187a85b74db46e0155fc8a62207412b4f784a877629abdcf83b0b6ab/opencl-for-python-0.5.2.tar.gz (from https://pypi.org/simple/opencl-for-python/), version: 0.5.2 2023-09-08T04:52:57,608 Fetching project page and analyzing links: https://www.piwheels.org/simple/opencl-for-python/ 2023-09-08T04:52:57,608 Getting page https://www.piwheels.org/simple/opencl-for-python/ 2023-09-08T04:52:57,609 Found index url https://www.piwheels.org/simple/ 2023-09-08T04:52:57,857 Fetched page https://www.piwheels.org/simple/opencl-for-python/ as text/html 2023-09-08T04:52:57,858 Skipping link: not a file: https://www.piwheels.org/simple/opencl-for-python/ 2023-09-08T04:52:57,859 Skipping link: not a file: https://pypi.org/simple/opencl-for-python/ 2023-09-08T04:52:57,878 Given no hashes to check 1 links for project 'opencl-for-python': discarding no candidates 2023-09-08T04:52:57,896 Collecting opencl-for-python==0.4.0 2023-09-08T04:52:57,898 Created temporary directory: /tmp/pip-unpack-x_1kolam 2023-09-08T04:52:58,121 Downloading opencl-for-python-0.4.0.tar.gz (665 kB) 2023-09-08T04:52:58,562 Added opencl-for-python==0.4.0 from https://files.pythonhosted.org/packages/6f/49/de79e4b4a156e2027d70edcacd2d684740db906c1f53f3331fe324f030c2/opencl-for-python-0.4.0.tar.gz to build tracker '/tmp/pip-build-tracker-9vobt_ud' 2023-09-08T04:52:58,564 Running setup.py (path:/tmp/pip-wheel-za51ns4w/opencl-for-python_43bb5e422e024324b00c2713df82ca1a/setup.py) egg_info for package opencl-for-python 2023-09-08T04:52:58,565 Created temporary directory: /tmp/pip-pip-egg-info-tm5qwatk 2023-09-08T04:52:58,565 Preparing metadata (setup.py): started 2023-09-08T04:52:58,567 Running command python setup.py egg_info 2023-09-08T04:52:59,597 running egg_info 2023-09-08T04:52:59,599 creating /tmp/pip-pip-egg-info-tm5qwatk/opencl_for_python.egg-info 2023-09-08T04:52:59,623 writing /tmp/pip-pip-egg-info-tm5qwatk/opencl_for_python.egg-info/PKG-INFO 2023-09-08T04:52:59,626 writing dependency_links to /tmp/pip-pip-egg-info-tm5qwatk/opencl_for_python.egg-info/dependency_links.txt 2023-09-08T04:52:59,628 writing top-level names to /tmp/pip-pip-egg-info-tm5qwatk/opencl_for_python.egg-info/top_level.txt 2023-09-08T04:52:59,630 writing manifest file '/tmp/pip-pip-egg-info-tm5qwatk/opencl_for_python.egg-info/SOURCES.txt' 2023-09-08T04:52:59,706 reading manifest file '/tmp/pip-pip-egg-info-tm5qwatk/opencl_for_python.egg-info/SOURCES.txt' 2023-09-08T04:52:59,708 reading manifest template 'MANIFEST.in' 2023-09-08T04:52:59,712 warning: no files found matching '*.txt' under directory 'examples' 2023-09-08T04:52:59,774 writing manifest file '/tmp/pip-pip-egg-info-tm5qwatk/opencl_for_python.egg-info/SOURCES.txt' 2023-09-08T04:52:59,886 Preparing metadata (setup.py): finished with status 'done' 2023-09-08T04:52:59,889 Source in /tmp/pip-wheel-za51ns4w/opencl-for-python_43bb5e422e024324b00c2713df82ca1a has version 0.4.0, which satisfies requirement opencl-for-python==0.4.0 from https://files.pythonhosted.org/packages/6f/49/de79e4b4a156e2027d70edcacd2d684740db906c1f53f3331fe324f030c2/opencl-for-python-0.4.0.tar.gz 2023-09-08T04:52:59,890 Removed opencl-for-python==0.4.0 from https://files.pythonhosted.org/packages/6f/49/de79e4b4a156e2027d70edcacd2d684740db906c1f53f3331fe324f030c2/opencl-for-python-0.4.0.tar.gz from build tracker '/tmp/pip-build-tracker-9vobt_ud' 2023-09-08T04:52:59,895 Created temporary directory: /tmp/pip-unpack-ksn7w0tr 2023-09-08T04:52:59,896 Created temporary directory: /tmp/pip-unpack-nvcs3klh 2023-09-08T04:52:59,899 Building wheels for collected packages: opencl-for-python 2023-09-08T04:52:59,903 Created temporary directory: /tmp/pip-wheel-z286kya4 2023-09-08T04:52:59,904 Building wheel for opencl-for-python (setup.py): started 2023-09-08T04:52:59,905 Destination directory: /tmp/pip-wheel-z286kya4 2023-09-08T04:52:59,905 Running command python setup.py bdist_wheel 2023-09-08T04:53:00,899 running bdist_wheel 2023-09-08T04:53:00,968 running build 2023-09-08T04:53:00,969 running build_py 2023-09-08T04:53:00,995 creating build 2023-09-08T04:53:00,996 creating build/lib.linux-armv7l-cpython-311 2023-09-08T04:53:00,996 creating build/lib.linux-armv7l-cpython-311/opencl 2023-09-08T04:53:00,998 copying opencl/__init__.py -> build/lib.linux-armv7l-cpython-311/opencl 2023-09-08T04:53:01,000 creating build/lib.linux-armv7l-cpython-311/opencl/test 2023-09-08T04:53:01,001 copying opencl/test/__init__.py -> build/lib.linux-armv7l-cpython-311/opencl/test 2023-09-08T04:53:01,003 copying opencl/test/test_platform.py -> build/lib.linux-armv7l-cpython-311/opencl/test 2023-09-08T04:53:01,005 copying opencl/test/test_memobj.py -> build/lib.linux-armv7l-cpython-311/opencl/test 2023-09-08T04:53:01,009 copying opencl/pyopencl.h -> build/lib.linux-armv7l-cpython-311/opencl 2023-09-08T04:53:01,011 copying opencl/event_api.h -> build/lib.linux-armv7l-cpython-311/opencl 2023-09-08T04:53:01,013 copying opencl/context_api.h -> build/lib.linux-armv7l-cpython-311/opencl 2023-09-08T04:53:01,015 copying opencl/program_api.h -> build/lib.linux-armv7l-cpython-311/opencl 2023-09-08T04:53:01,017 copying opencl/copencl_api.h -> build/lib.linux-armv7l-cpython-311/opencl 2023-09-08T04:53:01,019 copying opencl/kernel_api.h -> build/lib.linux-armv7l-cpython-311/opencl 2023-09-08T04:53:01,021 copying opencl/clgl_compat.h -> build/lib.linux-armv7l-cpython-311/opencl 2023-09-08T04:53:01,023 copying opencl/cl_mem_api.h -> build/lib.linux-armv7l-cpython-311/opencl 2023-09-08T04:53:01,025 copying opencl/queue_api.h -> build/lib.linux-armv7l-cpython-311/opencl 2023-09-08T04:53:01,027 copying opencl/cl_header.h -> build/lib.linux-armv7l-cpython-311/opencl 2023-09-08T04:53:01,030 running build_ext 2023-09-08T04:53:02,168 Compiling opencl/cl_mem.pyx because it changed. 2023-09-08T04:53:02,169 [1/1] Cythonizing opencl/cl_mem.pyx 2023-09-08T04:53:03,216 /usr/local/lib/python3.11/dist-packages/Cython/Compiler/Main.py:384: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-wheel-za51ns4w/opencl-for-python_43bb5e422e024324b00c2713df82ca1a/opencl/cl_mem.pxd 2023-09-08T04:53:03,216 tree = Parsing.p_module(s, pxd, full_module_name) 2023-09-08T04:53:03,238 Error compiling Cython file: 2023-09-08T04:53:03,238 ------------------------------------------------------------ 2023-09-08T04:53:03,239 ... 2023-09-08T04:53:03,240 from _cl cimport * 2023-09-08T04:53:03,240 ^ 2023-09-08T04:53:03,241 ------------------------------------------------------------ 2023-09-08T04:53:03,242 opencl/cl_mem.pxd:2:0: '_cl.pxd' not found 2023-09-08T04:53:03,243 Error compiling Cython file: 2023-09-08T04:53:03,243 ------------------------------------------------------------ 2023-09-08T04:53:03,244 ... 2023-09-08T04:53:03,245 from _cl cimport * 2023-09-08T04:53:03,246 cdef api object CyMemoryObject_Create(cl_mem buffer_id) 2023-09-08T04:53:03,246 ^ 2023-09-08T04:53:03,247 ------------------------------------------------------------ 2023-09-08T04:53:03,247 opencl/cl_mem.pxd:4:38: 'cl_mem' is not a type identifier 2023-09-08T04:53:03,248 Error compiling Cython file: 2023-09-08T04:53:03,249 ------------------------------------------------------------ 2023-09-08T04:53:03,249 ... 2023-09-08T04:53:03,250 cdef api object CyMemoryObject_Create(cl_mem buffer_id) 2023-09-08T04:53:03,251 cdef api int CyView_GetBuffer(object view, Py_buffer* buffer) 2023-09-08T04:53:03,252 cdef api object CyView_Create(cl_mem buffer_id, Py_buffer* buffer, object ctype, int incref) 2023-09-08T04:53:03,253 ^ 2023-09-08T04:53:03,253 ------------------------------------------------------------ 2023-09-08T04:53:03,254 opencl/cl_mem.pxd:8:30: 'cl_mem' is not a type identifier 2023-09-08T04:53:03,256 Error compiling Cython file: 2023-09-08T04:53:03,256 ------------------------------------------------------------ 2023-09-08T04:53:03,257 ... 2023-09-08T04:53:03,258 cdef api object CyView_Create(cl_mem buffer_id, Py_buffer* buffer, object ctype, int incref) 2023-09-08T04:53:03,259 cdef api int CyMemoryObject_Check(object memobj) 2023-09-08T04:53:03,260 cdef api cl_mem CyMemoryObject_GetID(object memobj) 2023-09-08T04:53:03,261 ^ 2023-09-08T04:53:03,261 ------------------------------------------------------------ 2023-09-08T04:53:03,262 opencl/cl_mem.pxd:12:9: 'cl_mem' is not a type identifier 2023-09-08T04:53:03,263 Error compiling Cython file: 2023-09-08T04:53:03,264 ------------------------------------------------------------ 2023-09-08T04:53:03,264 ... 2023-09-08T04:53:03,265 cdef api int CyMemoryObject_Check(object memobj) 2023-09-08T04:53:03,266 cdef api cl_mem CyMemoryObject_GetID(object memobj) 2023-09-08T04:53:03,268 cdef api object CyImageFormat_New(cl_image_format image_format) 2023-09-08T04:53:03,268 ^ 2023-09-08T04:53:03,269 ------------------------------------------------------------ 2023-09-08T04:53:03,270 opencl/cl_mem.pxd:14:34: 'cl_image_format' is not a type identifier 2023-09-08T04:53:03,271 Error compiling Cython file: 2023-09-08T04:53:03,272 ------------------------------------------------------------ 2023-09-08T04:53:03,273 ... 2023-09-08T04:53:03,273 cdef api cl_mem CyMemoryObject_GetID(object memobj) 2023-09-08T04:53:03,274 cdef api object CyImageFormat_New(cl_image_format image_format) 2023-09-08T04:53:03,275 cdef api object CyImage_New(cl_mem buffer_id) 2023-09-08T04:53:03,275 ^ 2023-09-08T04:53:03,276 ------------------------------------------------------------ 2023-09-08T04:53:03,277 opencl/cl_mem.pxd:16:28: 'cl_mem' is not a type identifier 2023-09-08T04:53:05,363 Error compiling Cython file: 2023-09-08T04:53:05,363 ------------------------------------------------------------ 2023-09-08T04:53:05,364 ... 2023-09-08T04:53:05,365 from _cl cimport * 2023-09-08T04:53:05,366 cdef api cl_context CyContext_GetID(object pycontext) 2023-09-08T04:53:05,367 ^ 2023-09-08T04:53:05,367 ------------------------------------------------------------ 2023-09-08T04:53:05,368 opencl/context.pxd:5:9: 'cl_context' is not a type identifier 2023-09-08T04:53:05,369 Error compiling Cython file: 2023-09-08T04:53:05,370 ------------------------------------------------------------ 2023-09-08T04:53:05,370 ... 2023-09-08T04:53:05,371 from _cl cimport * 2023-09-08T04:53:05,372 cdef api cl_context CyContext_GetID(object pycontext) 2023-09-08T04:53:05,373 cdef api object CyContext_Create(cl_context context) 2023-09-08T04:53:05,374 ^ 2023-09-08T04:53:05,375 ------------------------------------------------------------ 2023-09-08T04:53:05,376 opencl/context.pxd:7:33: 'cl_context' is not a type identifier 2023-09-08T04:53:05,378 Error compiling Cython file: 2023-09-08T04:53:05,378 ------------------------------------------------------------ 2023-09-08T04:53:05,379 ... 2023-09-08T04:53:05,380 cdef class UserData: 2023-09-08T04:53:05,380 cdef object function 2023-09-08T04:53:05,381 cdef object args 2023-09-08T04:53:05,381 cdef object kwargs 2023-09-08T04:53:05,383 cdef void pfn_notify_destroy_mem_object(cl_mem memobj, UserData user_data) with gil: 2023-09-08T04:53:05,383 ^ 2023-09-08T04:53:05,384 ------------------------------------------------------------ 2023-09-08T04:53:05,385 opencl/cl_mem.pyx:38:40: 'cl_mem' is not a type identifier 2023-09-08T04:53:05,387 Error compiling Cython file: 2023-09-08T04:53:05,387 ------------------------------------------------------------ 2023-09-08T04:53:05,388 ... 2023-09-08T04:53:05,389 ''' 2023-09-08T04:53:05,389 BUFFER = CL_MEM_OBJECT_BUFFER 2023-09-08T04:53:05,390 IMAGE2D = CL_MEM_OBJECT_IMAGE2D 2023-09-08T04:53:05,391 IMAGE3D = CL_MEM_OBJECT_IMAGE3D 2023-09-08T04:53:05,392 cdef cl_mem buffer_id 2023-09-08T04:53:05,393 ^ 2023-09-08T04:53:05,393 ------------------------------------------------------------ 2023-09-08T04:53:05,395 opencl/cl_mem.pyx:69:9: 'cl_mem' is not a type identifier 2023-09-08T04:53:05,396 Error compiling Cython file: 2023-09-08T04:53:05,396 ------------------------------------------------------------ 2023-09-08T04:53:05,397 ... 2023-09-08T04:53:05,398 # if err_code != CL_SUCCESS: 2023-09-08T04:53:05,398 # raise OpenCLException(err_code) 2023-09-08T04:53:05,399 # 2023-09-08T04:53:05,399 # return param_value 2023-09-08T04:53:05,401 cdef cl_mem _get_base(self): 2023-09-08T04:53:05,401 ^ 2023-09-08T04:53:05,402 ------------------------------------------------------------ 2023-09-08T04:53:05,403 opencl/cl_mem.pyx:218:9: 'cl_mem' is not a type identifier 2023-09-08T04:53:05,404 Error compiling Cython file: 2023-09-08T04:53:05,405 ------------------------------------------------------------ 2023-09-08T04:53:05,406 ... 2023-09-08T04:53:05,406 CL_RGBA : 'T{%(dtype)s:r:%(dtype)s:g:%(dtype)s:b:%(dtype)s:a:}', 2023-09-08T04:53:05,407 CL_ARGB : 'T{%(dtype)s:a:%(dtype)s:r:%(dtype)s:g:%(dtype)s:b:}', 2023-09-08T04:53:05,408 CL_BGRA : 'T{%(dtype)s:b:%(dtype)s:g:%(dtype)s:r:%(dtype)s:a:}', 2023-09-08T04:53:05,409 } 2023-09-08T04:53:05,409 cdef cl_image_format cl_format 2023-09-08T04:53:05,410 ^ 2023-09-08T04:53:05,410 ------------------------------------------------------------ 2023-09-08T04:53:05,411 opencl/cl_mem.pyx:861:9: 'cl_image_format' is not a type identifier 2023-09-08T04:53:05,412 Error compiling Cython file: 2023-09-08T04:53:05,413 ------------------------------------------------------------ 2023-09-08T04:53:05,413 ... 2023-09-08T04:53:05,414 #=============================================================================== 2023-09-08T04:53:05,415 # API 2023-09-08T04:53:05,415 #=============================================================================== 2023-09-08T04:53:05,416 cdef api object CyMemoryObject_Create(cl_mem buffer_id): 2023-09-08T04:53:05,416 ^ 2023-09-08T04:53:05,417 ------------------------------------------------------------ 2023-09-08T04:53:05,418 opencl/cl_mem.pyx:1180:38: 'cl_mem' is not a type identifier 2023-09-08T04:53:05,419 Error compiling Cython file: 2023-09-08T04:53:05,419 ------------------------------------------------------------ 2023-09-08T04:53:05,420 ... 2023-09-08T04:53:05,420 cdef DeviceMemoryView dview = < DeviceMemoryView > view 2023-09-08T04:53:05,421 buffer[0] = dview.buffer[0] 2023-09-08T04:53:05,421 return 0 2023-09-08T04:53:05,423 cdef api object CyView_Create(cl_mem buffer_id, Py_buffer * buffer, object ctype, int incref): 2023-09-08T04:53:05,423 ^ 2023-09-08T04:53:05,424 ------------------------------------------------------------ 2023-09-08T04:53:05,425 opencl/cl_mem.pyx:1192:30: 'cl_mem' is not a type identifier 2023-09-08T04:53:05,426 Error compiling Cython file: 2023-09-08T04:53:05,427 ------------------------------------------------------------ 2023-09-08T04:53:05,428 ... 2023-09-08T04:53:05,428 dview.buffer = buffer 2023-09-08T04:53:05,429 dview._ctype = ctype 2023-09-08T04:53:05,430 return dview 2023-09-08T04:53:05,431 cdef api object CyView_CreateSubclass(object cls, cl_mem buffer_id, Py_buffer * buffer, object ctype, int incref): 2023-09-08T04:53:05,432 ^ 2023-09-08T04:53:05,433 ------------------------------------------------------------ 2023-09-08T04:53:05,434 opencl/cl_mem.pyx:1203:50: 'cl_mem' is not a type identifier 2023-09-08T04:53:05,435 Error compiling Cython file: 2023-09-08T04:53:05,436 ------------------------------------------------------------ 2023-09-08T04:53:05,437 ... 2023-09-08T04:53:05,438 obj = (< DeviceMemoryView > memobj) 2023-09-08T04:53:05,438 return obj.buffer 2023-09-08T04:53:05,441 cdef api object CyImage_Create(cl_mem buffer_id, Py_buffer * buffer, int incref): 2023-09-08T04:53:05,441 ^ 2023-09-08T04:53:05,442 ------------------------------------------------------------ 2023-09-08T04:53:05,443 opencl/cl_mem.pyx:1220:31: 'cl_mem' is not a type identifier 2023-09-08T04:53:05,444 Error compiling Cython file: 2023-09-08T04:53:05,444 ------------------------------------------------------------ 2023-09-08T04:53:05,445 ... 2023-09-08T04:53:05,446 return 0 2023-09-08T04:53:05,447 cdef api int CyMemoryObject_Check(object memobj): 2023-09-08T04:53:05,447 return isinstance(memobj, MemoryObject) 2023-09-08T04:53:05,448 cdef api cl_mem CyMemoryObject_GetID(object memobj): 2023-09-08T04:53:05,449 ^ 2023-09-08T04:53:05,449 ------------------------------------------------------------ 2023-09-08T04:53:05,451 opencl/cl_mem.pyx:1238:9: 'cl_mem' is not a type identifier 2023-09-08T04:53:05,452 Error compiling Cython file: 2023-09-08T04:53:05,452 ------------------------------------------------------------ 2023-09-08T04:53:05,453 ... 2023-09-08T04:53:05,455 cdef api int ImageFormat_Check(object fmt): 2023-09-08T04:53:05,455 return isinstance(fmt, ImageFormat) 2023-09-08T04:53:05,456 cdef api cl_image_format ImageFormat_Get(object fmt): 2023-09-08T04:53:05,457 ^ 2023-09-08T04:53:05,457 ------------------------------------------------------------ 2023-09-08T04:53:05,458 opencl/cl_mem.pyx:1247:9: 'cl_image_format' is not a type identifier 2023-09-08T04:53:05,459 Error compiling Cython file: 2023-09-08T04:53:05,459 ------------------------------------------------------------ 2023-09-08T04:53:05,460 ... 2023-09-08T04:53:05,460 return isinstance(fmt, ImageFormat) 2023-09-08T04:53:05,461 cdef api cl_image_format ImageFormat_Get(object fmt): 2023-09-08T04:53:05,462 return (< ImageFormat > fmt).cl_format 2023-09-08T04:53:05,463 cdef api object CyImageFormat_New(cl_image_format image_format): 2023-09-08T04:53:05,463 ^ 2023-09-08T04:53:05,464 ------------------------------------------------------------ 2023-09-08T04:53:05,464 opencl/cl_mem.pyx:1250:34: 'cl_image_format' is not a type identifier 2023-09-08T04:53:05,465 Error compiling Cython file: 2023-09-08T04:53:05,466 ------------------------------------------------------------ 2023-09-08T04:53:05,466 ... 2023-09-08T04:53:05,467 cdef api object CyImageFormat_New(cl_image_format image_format): 2023-09-08T04:53:05,467 cdef ImageFormat fmt = < ImageFormat > ImageFormat.__new__(ImageFormat) 2023-09-08T04:53:05,468 fmt.cl_format = image_format 2023-09-08T04:53:05,468 return fmt 2023-09-08T04:53:05,469 cdef api object CyImage_New(cl_mem buffer_id): 2023-09-08T04:53:05,470 ^ 2023-09-08T04:53:05,470 ------------------------------------------------------------ 2023-09-08T04:53:05,472 opencl/cl_mem.pyx:1255:28: 'cl_mem' is not a type identifier 2023-09-08T04:53:05,473 Error compiling Cython file: 2023-09-08T04:53:05,474 ------------------------------------------------------------ 2023-09-08T04:53:05,474 ... 2023-09-08T04:53:05,475 ''' 2023-09-08T04:53:05,476 Py_INCREF(callback) 2023-09-08T04:53:05,477 # cdef void * user_data = < void *> callback 2023-09-08T04:53:05,478 cdef cl_int err_code 2023-09-08T04:53:05,479 ^ 2023-09-08T04:53:05,479 ------------------------------------------------------------ 2023-09-08T04:53:05,480 opencl/cl_mem.pyx:107:13: 'cl_int' is not a type identifier 2023-09-08T04:53:05,481 Error compiling Cython file: 2023-09-08T04:53:05,482 ------------------------------------------------------------ 2023-09-08T04:53:05,483 ... 2023-09-08T04:53:05,483 property context: 2023-09-08T04:53:05,484 ''' 2023-09-08T04:53:05,485 Return the context that this object was created with. 2023-09-08T04:53:05,485 ''' 2023-09-08T04:53:05,486 def __get__(self): 2023-09-08T04:53:05,486 cdef cl_context param_value 2023-09-08T04:53:05,487 ^ 2023-09-08T04:53:05,488 ------------------------------------------------------------ 2023-09-08T04:53:05,489 opencl/cl_mem.pyx:126:17: 'cl_context' is not a type identifier 2023-09-08T04:53:05,490 Error compiling Cython file: 2023-09-08T04:53:05,490 ------------------------------------------------------------ 2023-09-08T04:53:05,491 ... 2023-09-08T04:53:05,491 ''' 2023-09-08T04:53:05,492 Return the context that this object was created with. 2023-09-08T04:53:05,493 ''' 2023-09-08T04:53:05,493 def __get__(self): 2023-09-08T04:53:05,494 cdef cl_context param_value 2023-09-08T04:53:05,494 cdef cl_int err_code 2023-09-08T04:53:05,495 ^ 2023-09-08T04:53:05,496 ------------------------------------------------------------ 2023-09-08T04:53:05,497 opencl/cl_mem.pyx:127:17: 'cl_int' is not a type identifier 2023-09-08T04:53:05,499 Error compiling Cython file: 2023-09-08T04:53:05,499 ------------------------------------------------------------ 2023-09-08T04:53:05,500 ... 2023-09-08T04:53:05,501 return the enumed type of this object. 2023-09-08T04:53:05,501 One of MemoryObject.BUFFER, MemoryObject.IMAGE2D or MemoryObject.IMAGE3D 2023-09-08T04:53:05,502 ''' 2023-09-08T04:53:05,502 def __get__(self): 2023-09-08T04:53:05,503 cdef cl_mem_object_type param_value 2023-09-08T04:53:05,503 ^ 2023-09-08T04:53:05,504 ------------------------------------------------------------ 2023-09-08T04:53:05,505 opencl/cl_mem.pyx:145:17: 'cl_mem_object_type' is not a type identifier 2023-09-08T04:53:05,506 Error compiling Cython file: 2023-09-08T04:53:05,506 ------------------------------------------------------------ 2023-09-08T04:53:05,507 ... 2023-09-08T04:53:05,507 One of MemoryObject.BUFFER, MemoryObject.IMAGE2D or MemoryObject.IMAGE3D 2023-09-08T04:53:05,508 ''' 2023-09-08T04:53:05,508 def __get__(self): 2023-09-08T04:53:05,509 cdef cl_mem_object_type param_value 2023-09-08T04:53:05,509 cdef cl_int err_code 2023-09-08T04:53:05,510 ^ 2023-09-08T04:53:05,510 ------------------------------------------------------------ 2023-09-08T04:53:05,511 opencl/cl_mem.pyx:146:17: 'cl_int' is not a type identifier 2023-09-08T04:53:05,512 Error compiling Cython file: 2023-09-08T04:53:05,513 ------------------------------------------------------------ 2023-09-08T04:53:05,513 ... 2023-09-08T04:53:05,513 Return the size in bytes of this memory object. 2023-09-08T04:53:05,514 ''' 2023-09-08T04:53:05,514 def __get__(self): 2023-09-08T04:53:05,515 cdef size_t param_value 2023-09-08T04:53:05,516 cdef cl_int err_code 2023-09-08T04:53:05,516 ^ 2023-09-08T04:53:05,517 ------------------------------------------------------------ 2023-09-08T04:53:05,518 opencl/cl_mem.pyx:163:17: 'cl_int' is not a type identifier 2023-09-08T04:53:05,519 Error compiling Cython file: 2023-09-08T04:53:05,519 ------------------------------------------------------------ 2023-09-08T04:53:05,520 ... 2023-09-08T04:53:05,520 property _refcount: 2023-09-08T04:53:05,521 ''' 2023-09-08T04:53:05,521 Return the OpenCL internal refrence count of this object. 2023-09-08T04:53:05,522 ''' 2023-09-08T04:53:05,522 def __get__(self): 2023-09-08T04:53:05,523 cdef cl_uint param_value 2023-09-08T04:53:05,523 ^ 2023-09-08T04:53:05,524 ------------------------------------------------------------ 2023-09-08T04:53:05,525 opencl/cl_mem.pyx:178:17: 'cl_uint' is not a type identifier 2023-09-08T04:53:05,526 Error compiling Cython file: 2023-09-08T04:53:05,527 ------------------------------------------------------------ 2023-09-08T04:53:05,527 ... 2023-09-08T04:53:05,528 ''' 2023-09-08T04:53:05,528 Return the OpenCL internal refrence count of this object. 2023-09-08T04:53:05,529 ''' 2023-09-08T04:53:05,529 def __get__(self): 2023-09-08T04:53:05,530 cdef cl_uint param_value 2023-09-08T04:53:05,531 cdef cl_int err_code 2023-09-08T04:53:05,531 ^ 2023-09-08T04:53:05,532 ------------------------------------------------------------ 2023-09-08T04:53:05,533 opencl/cl_mem.pyx:179:17: 'cl_int' is not a type identifier 2023-09-08T04:53:05,534 Error compiling Cython file: 2023-09-08T04:53:05,534 ------------------------------------------------------------ 2023-09-08T04:53:05,535 ... 2023-09-08T04:53:05,535 return param_value 2023-09-08T04:53:05,537 property _mapcount: 2023-09-08T04:53:05,537 def __get__(self): 2023-09-08T04:53:05,538 cdef cl_uint param_value 2023-09-08T04:53:05,539 ^ 2023-09-08T04:53:05,539 ------------------------------------------------------------ 2023-09-08T04:53:05,540 opencl/cl_mem.pyx:191:17: 'cl_uint' is not a type identifier 2023-09-08T04:53:05,544 Error compiling Cython file: 2023-09-08T04:53:05,544 ------------------------------------------------------------ 2023-09-08T04:53:05,545 ... 2023-09-08T04:53:05,546 property _mapcount: 2023-09-08T04:53:05,546 def __get__(self): 2023-09-08T04:53:05,547 cdef cl_uint param_value 2023-09-08T04:53:05,547 cdef cl_int err_code 2023-09-08T04:53:05,547 ^ 2023-09-08T04:53:05,548 ------------------------------------------------------------ 2023-09-08T04:53:05,549 opencl/cl_mem.pyx:192:17: 'cl_int' is not a type identifier 2023-09-08T04:53:05,549 Error compiling Cython file: 2023-09-08T04:53:05,550 ------------------------------------------------------------ 2023-09-08T04:53:05,550 ... 2023-09-08T04:53:05,551 # 2023-09-08T04:53:05,551 # return param_value 2023-09-08T04:53:05,552 cdef cl_mem _get_base(self): 2023-09-08T04:53:05,552 cdef cl_mem param_value 2023-09-08T04:53:05,553 ^ 2023-09-08T04:53:05,553 ------------------------------------------------------------ 2023-09-08T04:53:05,554 opencl/cl_mem.pyx:220:13: 'cl_mem' is not a type identifier 2023-09-08T04:53:05,555 Error compiling Cython file: 2023-09-08T04:53:05,555 ------------------------------------------------------------ 2023-09-08T04:53:05,556 ... 2023-09-08T04:53:05,556 property base: 2023-09-08T04:53:05,557 ''' 2023-09-08T04:53:05,557 Return the original memobject if this is a sub-buffer. 2023-09-08T04:53:05,558 ''' 2023-09-08T04:53:05,558 def __get__(self): 2023-09-08T04:53:05,558 cdef cl_mem param_value 2023-09-08T04:53:05,559 ^ 2023-09-08T04:53:05,559 ------------------------------------------------------------ 2023-09-08T04:53:05,560 opencl/cl_mem.pyx:229:17: 'cl_mem' is not a type identifier 2023-09-08T04:53:05,561 Error compiling Cython file: 2023-09-08T04:53:05,562 ------------------------------------------------------------ 2023-09-08T04:53:05,562 ... 2023-09-08T04:53:05,563 ''' 2023-09-08T04:53:05,563 Return the original memobject if this is a sub-buffer. 2023-09-08T04:53:05,564 ''' 2023-09-08T04:53:05,564 def __get__(self): 2023-09-08T04:53:05,565 cdef cl_mem param_value 2023-09-08T04:53:05,566 cdef cl_int err_code 2023-09-08T04:53:05,566 ^ 2023-09-08T04:53:05,567 ------------------------------------------------------------ 2023-09-08T04:53:05,568 opencl/cl_mem.pyx:230:17: 'cl_int' is not a type identifier 2023-09-08T04:53:05,569 Error compiling Cython file: 2023-09-08T04:53:05,570 ------------------------------------------------------------ 2023-09-08T04:53:05,571 ... 2023-09-08T04:53:05,571 raise ValueError("total size of new array must be unchanged") 2023-09-08T04:53:05,572 if not self.is_contiguous: 2023-09-08T04:53:05,573 raise Exception("array must be contiguous to reshape") 2023-09-08T04:53:05,574 cdef cl_mem buffer_id = self.buffer_id 2023-09-08T04:53:05,574 ^ 2023-09-08T04:53:05,575 ------------------------------------------------------------ 2023-09-08T04:53:05,576 opencl/cl_mem.pyx:342:13: 'cl_mem' is not a type identifier 2023-09-08T04:53:05,577 Error compiling Cython file: 2023-09-08T04:53:05,578 ------------------------------------------------------------ 2023-09-08T04:53:05,578 ... 2023-09-08T04:53:05,579 space and returns a pointer to this mapped region. 2023-09-08T04:53:05,580 ''' 2023-09-08T04:53:05,581 from opencl.queue import MemoryViewMap 2023-09-08T04:53:05,582 cdef cl_map_flags flags = 0 2023-09-08T04:53:05,583 ^ 2023-09-08T04:53:05,583 ------------------------------------------------------------ 2023-09-08T04:53:05,584 opencl/cl_mem.pyx:380:13: 'cl_map_flags' is not a type identifier 2023-09-08T04:53:05,586 Error compiling Cython file: 2023-09-08T04:53:05,587 ------------------------------------------------------------ 2023-09-08T04:53:05,587 ... 2023-09-08T04:53:05,587 if readable: 2023-09-08T04:53:05,588 flags |= CL_MAP_READ 2023-09-08T04:53:05,588 if writeable: 2023-09-08T04:53:05,589 flags |= CL_MAP_WRITE 2023-09-08T04:53:05,589 cdef cl_bool blocking_map = 1 if blocking else 0 2023-09-08T04:53:05,590 ^ 2023-09-08T04:53:05,590 ------------------------------------------------------------ 2023-09-08T04:53:05,591 opencl/cl_mem.pyx:387:13: 'cl_bool' is not a type identifier 2023-09-08T04:53:05,592 Error compiling Cython file: 2023-09-08T04:53:05,592 ------------------------------------------------------------ 2023-09-08T04:53:05,593 ... 2023-09-08T04:53:05,593 if isinstance(host, int): 2023-09-08T04:53:05,594 host = ctypes.c_int(host) 2023-09-08T04:53:05,594 elif isinstance(host, float): 2023-09-08T04:53:05,595 host = ctypes.c_float(host) 2023-09-08T04:53:05,596 cdef cl_context ctx = CyContext_GetID(context) 2023-09-08T04:53:05,596 ^ 2023-09-08T04:53:05,596 ------------------------------------------------------------ 2023-09-08T04:53:05,597 opencl/cl_mem.pyx:406:13: 'cl_context' is not a type identifier 2023-09-08T04:53:05,599 Error compiling Cython file: 2023-09-08T04:53:05,600 ------------------------------------------------------------ 2023-09-08T04:53:05,600 ... 2023-09-08T04:53:05,602 cdef cl_context ctx = CyContext_GetID(context) 2023-09-08T04:53:05,603 cdef Py_buffer view 2023-09-08T04:53:05,604 cdef Py_buffer * buffer = < Py_buffer *> malloc(sizeof(Py_buffer)) 2023-09-08T04:53:05,604 cdef cl_mem buffer_id = NULL 2023-09-08T04:53:05,605 ^ 2023-09-08T04:53:05,605 ------------------------------------------------------------ 2023-09-08T04:53:05,606 opencl/cl_mem.pyx:410:13: 'cl_mem' is not a type identifier 2023-09-08T04:53:05,607 Error compiling Cython file: 2023-09-08T04:53:05,608 ------------------------------------------------------------ 2023-09-08T04:53:05,608 ... 2023-09-08T04:53:05,609 cdef Py_buffer * buffer = < Py_buffer *> malloc(sizeof(Py_buffer)) 2023-09-08T04:53:05,609 cdef cl_mem buffer_id = NULL 2023-09-08T04:53:05,610 cdef int py_flags = PyBUF_SIMPLE | PyBUF_STRIDES | PyBUF_ND | PyBUF_FORMAT 2023-09-08T04:53:05,612 cdef cl_mem_flags mem_flags = 0 2023-09-08T04:53:05,612 ^ 2023-09-08T04:53:05,613 ------------------------------------------------------------ 2023-09-08T04:53:05,614 opencl/cl_mem.pyx:414:13: 'cl_mem_flags' is not a type identifier 2023-09-08T04:53:05,615 Error compiling Cython file: 2023-09-08T04:53:05,615 ------------------------------------------------------------ 2023-09-08T04:53:05,616 ... 2023-09-08T04:53:05,616 elif writeable: 2023-09-08T04:53:05,617 mem_flags |= CL_MEM_WRITE_ONLY 2023-09-08T04:53:05,617 else: 2023-09-08T04:53:05,618 raise Exception("at least one of arguments 'readable' or 'writable' must be true") 2023-09-08T04:53:05,619 cdef cl_int err_code 2023-09-08T04:53:05,620 ^ 2023-09-08T04:53:05,620 ------------------------------------------------------------ 2023-09-08T04:53:05,621 opencl/cl_mem.pyx:429:13: 'cl_int' is not a type identifier 2023-09-08T04:53:05,622 Error compiling Cython file: 2023-09-08T04:53:05,623 ------------------------------------------------------------ 2023-09-08T04:53:05,623 ... 2023-09-08T04:53:05,625 for i in range(ndim): 2023-09-08T04:53:05,625 buffer.shape[i] = shape[i] 2023-09-08T04:53:05,626 buffer.strides[i] = strides[i] 2023-09-08T04:53:05,627 cdef cl_mem sub_buffer = NULL 2023-09-08T04:53:05,628 ^ 2023-09-08T04:53:05,628 ------------------------------------------------------------ 2023-09-08T04:53:05,630 opencl/cl_mem.pyx:530:13: 'cl_mem' is not a type identifier 2023-09-08T04:53:05,631 Error compiling Cython file: 2023-09-08T04:53:05,631 ------------------------------------------------------------ 2023-09-08T04:53:05,631 ... 2023-09-08T04:53:05,632 for i in range(ndim): 2023-09-08T04:53:05,632 buffer.shape[i] = shape[i] 2023-09-08T04:53:05,633 buffer.strides[i] = strides[i] 2023-09-08T04:53:05,634 cdef cl_mem sub_buffer = NULL 2023-09-08T04:53:05,634 cdef cl_mem base = self._get_base() 2023-09-08T04:53:05,634 ^ 2023-09-08T04:53:05,635 ------------------------------------------------------------ 2023-09-08T04:53:05,636 opencl/cl_mem.pyx:531:13: 'cl_mem' is not a type identifier 2023-09-08T04:53:05,637 Error compiling Cython file: 2023-09-08T04:53:05,637 ------------------------------------------------------------ 2023-09-08T04:53:05,638 ... 2023-09-08T04:53:05,638 buffer.strides[i] = strides[i] 2023-09-08T04:53:05,639 cdef cl_mem sub_buffer = NULL 2023-09-08T04:53:05,639 cdef cl_mem base = self._get_base() 2023-09-08T04:53:05,640 cdef cl_int err_code 2023-09-08T04:53:05,641 ^ 2023-09-08T04:53:05,641 ------------------------------------------------------------ 2023-09-08T04:53:05,642 opencl/cl_mem.pyx:533:13: 'cl_int' is not a type identifier 2023-09-08T04:53:05,643 Error compiling Cython file: 2023-09-08T04:53:05,644 ------------------------------------------------------------ 2023-09-08T04:53:05,644 ... 2023-09-08T04:53:05,644 cdef cl_mem sub_buffer = NULL 2023-09-08T04:53:05,645 cdef cl_mem base = self._get_base() 2023-09-08T04:53:05,646 cdef cl_int err_code 2023-09-08T04:53:05,646 cdef size_t mem_size = self.mem_size 2023-09-08T04:53:05,647 cdef cl_buffer_region buffer_create_info 2023-09-08T04:53:05,647 ^ 2023-09-08T04:53:05,648 ------------------------------------------------------------ 2023-09-08T04:53:05,649 opencl/cl_mem.pyx:535:13: 'cl_buffer_region' is not a type identifier 2023-09-08T04:53:05,650 Error compiling Cython file: 2023-09-08T04:53:05,650 ------------------------------------------------------------ 2023-09-08T04:53:05,651 ... 2023-09-08T04:53:05,652 cdef Py_buffer orig_buffer 2023-09-08T04:53:05,652 CyView_GetBuffer(obj, & orig_buffer) 2023-09-08T04:53:05,653 cdef Py_buffer * buffer = < Py_buffer *> malloc(sizeof(Py_buffer)) 2023-09-08T04:53:05,653 memcpy(buffer, & orig_buffer, sizeof(Py_buffer)) 2023-09-08T04:53:05,654 cdef cl_mem buffer_id = CyMemoryObject_GetID(obj) 2023-09-08T04:53:05,655 ^ 2023-09-08T04:53:05,655 ------------------------------------------------------------ 2023-09-08T04:53:05,656 opencl/cl_mem.pyx:703:13: 'cl_mem' is not a type identifier 2023-09-08T04:53:05,658 Error compiling Cython file: 2023-09-08T04:53:05,658 ------------------------------------------------------------ 2023-09-08T04:53:05,659 ... 2023-09-08T04:53:05,659 Create an empty buffer. 2023-09-08T04:53:05,660 ''' 2023-09-08T04:53:05,660 if not CyContext_Check(context): 2023-09-08T04:53:05,661 raise TypeError("argument 'context' must be a valid opencl.Context object") 2023-09-08T04:53:05,662 cdef cl_context ctx = CyContext_GetID(context) 2023-09-08T04:53:05,663 ^ 2023-09-08T04:53:05,663 ------------------------------------------------------------ 2023-09-08T04:53:05,664 opencl/cl_mem.pyx:741:9: 'cl_context' is not a type identifier 2023-09-08T04:53:05,666 Error compiling Cython file: 2023-09-08T04:53:05,667 ------------------------------------------------------------ 2023-09-08T04:53:05,667 ... 2023-09-08T04:53:05,668 if not CyContext_Check(context): 2023-09-08T04:53:05,669 raise TypeError("argument 'context' must be a valid opencl.Context object") 2023-09-08T04:53:05,670 cdef cl_context ctx = CyContext_GetID(context) 2023-09-08T04:53:05,672 cdef cl_mem_flags flags = CL_MEM_READ_WRITE 2023-09-08T04:53:05,672 ^ 2023-09-08T04:53:05,673 ------------------------------------------------------------ 2023-09-08T04:53:05,674 opencl/cl_mem.pyx:743:9: 'cl_mem_flags' is not a type identifier 2023-09-08T04:53:05,675 Error compiling Cython file: 2023-09-08T04:53:05,675 ------------------------------------------------------------ 2023-09-08T04:53:05,676 ... 2023-09-08T04:53:05,677 cdef cl_context ctx = CyContext_GetID(context) 2023-09-08T04:53:05,678 cdef cl_mem_flags flags = CL_MEM_READ_WRITE 2023-09-08T04:53:05,679 cdef cl_int err_code 2023-09-08T04:53:05,679 ^ 2023-09-08T04:53:05,680 ------------------------------------------------------------ 2023-09-08T04:53:05,681 opencl/cl_mem.pyx:745:9: 'cl_int' is not a type identifier 2023-09-08T04:53:05,682 Error compiling Cython file: 2023-09-08T04:53:05,682 ------------------------------------------------------------ 2023-09-08T04:53:05,683 ... 2023-09-08T04:53:05,683 cdef size_t itemsize = size_from_format(format) 2023-09-08T04:53:05,684 cdef size_t size = itemsize 2023-09-08T04:53:05,684 for i in shape: 2023-09-08T04:53:05,685 size *= i 2023-09-08T04:53:05,686 cdef cl_mem buffer_id = clCreateBuffer(ctx, flags, size, NULL, & err_code) 2023-09-08T04:53:05,686 ^ 2023-09-08T04:53:05,687 ------------------------------------------------------------ 2023-09-08T04:53:05,688 opencl/cl_mem.pyx:758:9: 'cl_mem' is not a type identifier 2023-09-08T04:53:05,688 Error compiling Cython file: 2023-09-08T04:53:05,689 ------------------------------------------------------------ 2023-09-08T04:53:05,690 ... 2023-09-08T04:53:05,690 def supported_formats(cls, context, readable=True, wirteable=True): 2023-09-08T04:53:05,691 if not CyContext_Check(context): 2023-09-08T04:53:05,692 raise TypeError("argument 'context' must be a valid opencl.Context object") 2023-09-08T04:53:05,693 cdef cl_mem_flags flags 2023-09-08T04:53:05,693 ^ 2023-09-08T04:53:05,694 ------------------------------------------------------------ 2023-09-08T04:53:05,695 opencl/cl_mem.pyx:869:13: 'cl_mem_flags' is not a type identifier 2023-09-08T04:53:05,697 Error compiling Cython file: 2023-09-08T04:53:05,697 ------------------------------------------------------------ 2023-09-08T04:53:05,698 ... 2023-09-08T04:53:05,698 elif readable: 2023-09-08T04:53:05,699 flags = CL_MEM_READ_ONLY 2023-09-08T04:53:05,700 else: 2023-09-08T04:53:05,700 flags = CL_MEM_WRITE_ONLY 2023-09-08T04:53:05,702 cdef cl_context ctx = CyContext_GetID(context) 2023-09-08T04:53:05,702 ^ 2023-09-08T04:53:05,703 ------------------------------------------------------------ 2023-09-08T04:53:05,704 opencl/cl_mem.pyx:880:13: 'cl_context' is not a type identifier 2023-09-08T04:53:05,705 Error compiling Cython file: 2023-09-08T04:53:05,705 ------------------------------------------------------------ 2023-09-08T04:53:05,706 ... 2023-09-08T04:53:05,707 else: 2023-09-08T04:53:05,707 flags = CL_MEM_WRITE_ONLY 2023-09-08T04:53:05,708 cdef cl_context ctx = CyContext_GetID(context) 2023-09-08T04:53:05,709 cdef cl_int err_code 2023-09-08T04:53:05,710 ^ 2023-09-08T04:53:05,711 ------------------------------------------------------------ 2023-09-08T04:53:05,712 opencl/cl_mem.pyx:882:13: 'cl_int' is not a type identifier 2023-09-08T04:53:05,713 Error compiling Cython file: 2023-09-08T04:53:05,714 ------------------------------------------------------------ 2023-09-08T04:53:05,714 ... 2023-09-08T04:53:05,715 flags = CL_MEM_WRITE_ONLY 2023-09-08T04:53:05,716 cdef cl_context ctx = CyContext_GetID(context) 2023-09-08T04:53:05,718 cdef cl_int err_code 2023-09-08T04:53:05,719 cdef cl_image_format * image_formats 2023-09-08T04:53:05,719 ^ 2023-09-08T04:53:05,720 ------------------------------------------------------------ 2023-09-08T04:53:05,721 opencl/cl_mem.pyx:883:13: 'cl_image_format' is not a type identifier 2023-09-08T04:53:05,722 Error compiling Cython file: 2023-09-08T04:53:05,722 ------------------------------------------------------------ 2023-09-08T04:53:05,723 ... 2023-09-08T04:53:05,724 cdef cl_context ctx = CyContext_GetID(context) 2023-09-08T04:53:05,724 cdef cl_int err_code 2023-09-08T04:53:05,725 cdef cl_image_format * image_formats 2023-09-08T04:53:05,725 cdef cl_uint num_image_formats 2023-09-08T04:53:05,726 ^ 2023-09-08T04:53:05,726 ------------------------------------------------------------ 2023-09-08T04:53:05,727 opencl/cl_mem.pyx:884:13: 'cl_uint' is not a type identifier 2023-09-08T04:53:05,728 Error compiling Cython file: 2023-09-08T04:53:05,728 ------------------------------------------------------------ 2023-09-08T04:53:05,729 ... 2023-09-08T04:53:05,729 cdef cl_context ctx = CyContext_GetID(context) 2023-09-08T04:53:05,730 cdef cl_int err_code 2023-09-08T04:53:05,731 cdef cl_image_format * image_formats 2023-09-08T04:53:05,731 cdef cl_uint num_image_formats 2023-09-08T04:53:05,732 cdef cl_mem_object_type image_type = CL_MEM_OBJECT_IMAGE2D 2023-09-08T04:53:05,732 ^ 2023-09-08T04:53:05,732 ------------------------------------------------------------ 2023-09-08T04:53:05,733 opencl/cl_mem.pyx:885:13: 'cl_mem_object_type' is not a type identifier 2023-09-08T04:53:05,734 Error compiling Cython file: 2023-09-08T04:53:05,735 ------------------------------------------------------------ 2023-09-08T04:53:05,735 ... 2023-09-08T04:53:05,736 def __richcmp__(ImageFormat self, other, op): 2023-09-08T04:53:05,737 if not ImageFormat_Check(other): 2023-09-08T04:53:05,737 return False 2023-09-08T04:53:05,738 cdef cl_image_format cl_format = ImageFormat_Get(other) 2023-09-08T04:53:05,739 ^ 2023-09-08T04:53:05,740 ------------------------------------------------------------ 2023-09-08T04:53:05,741 opencl/cl_mem.pyx:973:13: 'cl_image_format' is not a type identifier 2023-09-08T04:53:05,742 Error compiling Cython file: 2023-09-08T04:53:05,743 ------------------------------------------------------------ 2023-09-08T04:53:05,743 ... 2023-09-08T04:53:05,744 def __cinit__(self): 2023-09-08T04:53:05,745 self.buffer = NULL 2023-09-08T04:53:05,746 property image_format: 2023-09-08T04:53:05,746 def __get__(self): 2023-09-08T04:53:05,747 cdef cl_int err_code 2023-09-08T04:53:05,748 ^ 2023-09-08T04:53:05,748 ------------------------------------------------------------ 2023-09-08T04:53:05,749 opencl/cl_mem.pyx:991:17: 'cl_int' is not a type identifier 2023-09-08T04:53:05,750 Error compiling Cython file: 2023-09-08T04:53:05,751 ------------------------------------------------------------ 2023-09-08T04:53:05,751 ... 2023-09-08T04:53:05,752 property image_format: 2023-09-08T04:53:05,753 def __get__(self): 2023-09-08T04:53:05,753 cdef cl_int err_code 2023-09-08T04:53:05,754 cdef cl_image_format image_format 2023-09-08T04:53:05,755 ^ 2023-09-08T04:53:05,755 ------------------------------------------------------------ 2023-09-08T04:53:05,756 opencl/cl_mem.pyx:993:17: 'cl_image_format' is not a type identifier 2023-09-08T04:53:05,758 Error compiling Cython file: 2023-09-08T04:53:05,758 ------------------------------------------------------------ 2023-09-08T04:53:05,759 ... 2023-09-08T04:53:05,760 return CyImageFormat_New(image_format) 2023-09-08T04:53:05,761 property image_width: 2023-09-08T04:53:05,762 def __get__(self): 2023-09-08T04:53:05,763 cdef cl_int err_code 2023-09-08T04:53:05,763 ^ 2023-09-08T04:53:05,764 ------------------------------------------------------------ 2023-09-08T04:53:05,765 opencl/cl_mem.pyx:1002:17: 'cl_int' is not a type identifier 2023-09-08T04:53:05,766 Error compiling Cython file: 2023-09-08T04:53:05,766 ------------------------------------------------------------ 2023-09-08T04:53:05,766 ... 2023-09-08T04:53:05,767 raise OpenCLException(err_code) 2023-09-08T04:53:05,767 return value 2023-09-08T04:53:05,768 property image_height: 2023-09-08T04:53:05,768 def __get__(self): 2023-09-08T04:53:05,769 cdef cl_int err_code 2023-09-08T04:53:05,769 ^ 2023-09-08T04:53:05,770 ------------------------------------------------------------ 2023-09-08T04:53:05,770 opencl/cl_mem.pyx:1011:17: 'cl_int' is not a type identifier 2023-09-08T04:53:05,771 Error compiling Cython file: 2023-09-08T04:53:05,771 ------------------------------------------------------------ 2023-09-08T04:53:05,772 ... 2023-09-08T04:53:05,772 raise OpenCLException(err_code) 2023-09-08T04:53:05,773 return value 2023-09-08T04:53:05,774 property image_depth: 2023-09-08T04:53:05,774 def __get__(self): 2023-09-08T04:53:05,775 cdef cl_int err_code 2023-09-08T04:53:05,775 ^ 2023-09-08T04:53:05,775 ------------------------------------------------------------ 2023-09-08T04:53:05,776 opencl/cl_mem.pyx:1020:17: 'cl_int' is not a type identifier 2023-09-08T04:53:05,777 Error compiling Cython file: 2023-09-08T04:53:05,778 ------------------------------------------------------------ 2023-09-08T04:53:05,778 ... 2023-09-08T04:53:05,779 def map(self, queue, blocking=True, readonly=False): 2023-09-08T04:53:05,780 from opencl.queue import ImageMap 2023-09-08T04:53:05,781 cdef cl_map_flags flags = CL_MAP_READ 2023-09-08T04:53:05,781 ^ 2023-09-08T04:53:05,782 ------------------------------------------------------------ 2023-09-08T04:53:05,783 opencl/cl_mem.pyx:1052:13: 'cl_map_flags' is not a type identifier 2023-09-08T04:53:05,784 Error compiling Cython file: 2023-09-08T04:53:05,785 ------------------------------------------------------------ 2023-09-08T04:53:05,785 ... 2023-09-08T04:53:05,786 cdef cl_map_flags flags = CL_MAP_READ 2023-09-08T04:53:05,788 if not readonly: 2023-09-08T04:53:05,788 flags |= CL_MAP_WRITE 2023-09-08T04:53:05,789 cdef cl_bool blocking_map = 1 if blocking else 0 2023-09-08T04:53:05,790 ^ 2023-09-08T04:53:05,791 ------------------------------------------------------------ 2023-09-08T04:53:05,792 opencl/cl_mem.pyx:1057:13: 'cl_bool' is not a type identifier 2023-09-08T04:53:05,793 Error compiling Cython file: 2023-09-08T04:53:05,793 ------------------------------------------------------------ 2023-09-08T04:53:05,794 ... 2023-09-08T04:53:05,795 cdef Py_buffer * result_buffer = < Py_buffer *> malloc(sizeof(Py_buffer)) 2023-09-08T04:53:05,795 cdef Py_buffer buffer 2023-09-08T04:53:05,796 CyView_GetBuffer(clview, & buffer) 2023-09-08T04:53:05,797 cdef cl_mem memobj = CyMemoryObject_GetID(clview) 2023-09-08T04:53:05,797 ^ 2023-09-08T04:53:05,798 ------------------------------------------------------------ 2023-09-08T04:53:05,799 opencl/cl_mem.pyx:1072:9: 'cl_mem' is not a type identifier 2023-09-08T04:53:05,800 Error compiling Cython file: 2023-09-08T04:53:05,801 ------------------------------------------------------------ 2023-09-08T04:53:05,801 ... 2023-09-08T04:53:05,802 raise TypeError("argument 'context' must be a valid opencl.Context object") 2023-09-08T04:53:05,803 if len(shape) not in [2, 3]: 2023-09-08T04:53:05,804 raise TypeError("shape must be 2 or 3 dimentional (got ndim=%i)" % len(shape)) 2023-09-08T04:53:05,805 cdef cl_context ctx = CyContext_GetID(context) 2023-09-08T04:53:05,806 ^ 2023-09-08T04:53:05,806 ------------------------------------------------------------ 2023-09-08T04:53:05,807 opencl/cl_mem.pyx:1119:9: 'cl_context' is not a type identifier 2023-09-08T04:53:05,808 Error compiling Cython file: 2023-09-08T04:53:05,808 ------------------------------------------------------------ 2023-09-08T04:53:05,809 ... 2023-09-08T04:53:05,809 if len(shape) not in [2, 3]: 2023-09-08T04:53:05,810 raise TypeError("shape must be 2 or 3 dimentional (got ndim=%i)" % len(shape)) 2023-09-08T04:53:05,810 cdef cl_context ctx = CyContext_GetID(context) 2023-09-08T04:53:05,811 cdef cl_mem_flags flags = CL_MEM_READ_WRITE 2023-09-08T04:53:05,811 ^ 2023-09-08T04:53:05,812 ------------------------------------------------------------ 2023-09-08T04:53:05,813 opencl/cl_mem.pyx:1121:9: 'cl_mem_flags' is not a type identifier 2023-09-08T04:53:05,813 Error compiling Cython file: 2023-09-08T04:53:05,814 ------------------------------------------------------------ 2023-09-08T04:53:05,814 ... 2023-09-08T04:53:05,815 cdef cl_context ctx = CyContext_GetID(context) 2023-09-08T04:53:05,816 cdef cl_mem_flags flags = CL_MEM_READ_WRITE 2023-09-08T04:53:05,817 cdef cl_int err_code 2023-09-08T04:53:05,817 ^ 2023-09-08T04:53:05,818 ------------------------------------------------------------ 2023-09-08T04:53:05,818 opencl/cl_mem.pyx:1123:9: 'cl_int' is not a type identifier 2023-09-08T04:53:05,819 Error compiling Cython file: 2023-09-08T04:53:05,819 ------------------------------------------------------------ 2023-09-08T04:53:05,820 ... 2023-09-08T04:53:05,821 if not ImageFormat_Check(image_format): 2023-09-08T04:53:05,821 raise TypeError("arguement 'image_format' must be a valid ImageFormat object") 2023-09-08T04:53:05,822 cdef cl_image_format fmt = ImageFormat_Get(image_format) 2023-09-08T04:53:05,823 ^ 2023-09-08T04:53:05,823 ------------------------------------------------------------ 2023-09-08T04:53:05,825 opencl/cl_mem.pyx:1129:9: 'cl_image_format' is not a type identifier 2023-09-08T04:53:05,826 Error compiling Cython file: 2023-09-08T04:53:05,827 ------------------------------------------------------------ 2023-09-08T04:53:05,827 ... 2023-09-08T04:53:05,828 cdef size_t image_depth 2023-09-08T04:53:05,828 cdef size_t image_row_pitch = 0 2023-09-08T04:53:05,829 cdef size_t image_slice_pitch = 0 2023-09-08T04:53:05,830 cdef void * host_ptr = NULL 2023-09-08T04:53:05,831 cdef cl_mem buffer_id 2023-09-08T04:53:05,831 ^ 2023-09-08T04:53:05,832 ------------------------------------------------------------ 2023-09-08T04:53:05,833 opencl/cl_mem.pyx:1138:9: 'cl_mem' is not a type identifier 2023-09-08T04:53:05,834 Error compiling Cython file: 2023-09-08T04:53:05,835 ------------------------------------------------------------ 2023-09-08T04:53:05,835 ... 2023-09-08T04:53:05,836 cdef api int CyMemoryObject_Check(object memobj): 2023-09-08T04:53:05,836 return isinstance(memobj, MemoryObject) 2023-09-08T04:53:05,837 cdef api cl_mem CyMemoryObject_GetID(object memobj): 2023-09-08T04:53:05,838 obj = (< MemoryObject > memobj) 2023-09-08T04:53:05,838 cdef cl_mem buffer_id = obj.buffer_id 2023-09-08T04:53:05,839 ^ 2023-09-08T04:53:05,839 ------------------------------------------------------------ 2023-09-08T04:53:05,840 opencl/cl_mem.pyx:1240:9: 'cl_mem' is not a type identifier 2023-09-08T04:53:05,852 Error compiling Cython file: 2023-09-08T04:53:05,852 ------------------------------------------------------------ 2023-09-08T04:53:05,853 ... 2023-09-08T04:53:05,854 ''' 2023-09-08T04:53:05,854 Memory objects are categorized into two types: buffer objects, and image objects. A buffer 2023-09-08T04:53:05,855 object stores a one-dimensional collection of elements whereas an image object is used to store a 2023-09-08T04:53:05,856 two- or three- dimensional texture, frame-buffer or image. 2023-09-08T04:53:05,856 ''' 2023-09-08T04:53:05,857 BUFFER = CL_MEM_OBJECT_BUFFER 2023-09-08T04:53:05,858 ^ 2023-09-08T04:53:05,858 ------------------------------------------------------------ 2023-09-08T04:53:05,859 opencl/cl_mem.pyx:65:13: undeclared name not builtin: CL_MEM_OBJECT_BUFFER 2023-09-08T04:53:05,860 Error compiling Cython file: 2023-09-08T04:53:05,860 ------------------------------------------------------------ 2023-09-08T04:53:05,861 ... 2023-09-08T04:53:05,861 Memory objects are categorized into two types: buffer objects, and image objects. A buffer 2023-09-08T04:53:05,861 object stores a one-dimensional collection of elements whereas an image object is used to store a 2023-09-08T04:53:05,862 two- or three- dimensional texture, frame-buffer or image. 2023-09-08T04:53:05,862 ''' 2023-09-08T04:53:05,863 BUFFER = CL_MEM_OBJECT_BUFFER 2023-09-08T04:53:05,863 IMAGE2D = CL_MEM_OBJECT_IMAGE2D 2023-09-08T04:53:05,864 ^ 2023-09-08T04:53:05,864 ------------------------------------------------------------ 2023-09-08T04:53:05,865 opencl/cl_mem.pyx:66:14: undeclared name not builtin: CL_MEM_OBJECT_IMAGE2D 2023-09-08T04:53:05,866 Error compiling Cython file: 2023-09-08T04:53:05,867 ------------------------------------------------------------ 2023-09-08T04:53:05,867 ... 2023-09-08T04:53:05,868 object stores a one-dimensional collection of elements whereas an image object is used to store a 2023-09-08T04:53:05,869 two- or three- dimensional texture, frame-buffer or image. 2023-09-08T04:53:05,869 ''' 2023-09-08T04:53:05,870 BUFFER = CL_MEM_OBJECT_BUFFER 2023-09-08T04:53:05,870 IMAGE2D = CL_MEM_OBJECT_IMAGE2D 2023-09-08T04:53:05,870 IMAGE3D = CL_MEM_OBJECT_IMAGE3D 2023-09-08T04:53:05,871 ^ 2023-09-08T04:53:05,872 ------------------------------------------------------------ 2023-09-08T04:53:05,873 opencl/cl_mem.pyx:67:14: undeclared name not builtin: CL_MEM_OBJECT_IMAGE3D 2023-09-08T04:53:05,874 Error compiling Cython file: 2023-09-08T04:53:05,875 ------------------------------------------------------------ 2023-09-08T04:53:05,875 ... 2023-09-08T04:53:05,877 cdef class ImageFormat: 2023-09-08T04:53:05,877 ''' 2023-09-08T04:53:05,878 ''' 2023-09-08T04:53:05,878 CHANNEL_ORDERS = { 2023-09-08T04:53:05,879 CL_R : 'CL_R', 2023-09-08T04:53:05,880 ^ 2023-09-08T04:53:05,880 ------------------------------------------------------------ 2023-09-08T04:53:05,881 opencl/cl_mem.pyx:793:8: undeclared name not builtin: CL_R 2023-09-08T04:53:05,883 Error compiling Cython file: 2023-09-08T04:53:05,883 ------------------------------------------------------------ 2023-09-08T04:53:05,884 ... 2023-09-08T04:53:05,885 cdef class ImageFormat: 2023-09-08T04:53:05,885 ''' 2023-09-08T04:53:05,886 ''' 2023-09-08T04:53:05,886 CHANNEL_ORDERS = { 2023-09-08T04:53:05,887 CL_R : 'CL_R', 2023-09-08T04:53:05,887 CL_Rx : 'CL_Rx', 2023-09-08T04:53:05,888 ^ 2023-09-08T04:53:05,888 ------------------------------------------------------------ 2023-09-08T04:53:05,890 opencl/cl_mem.pyx:794:8: undeclared name not builtin: CL_Rx 2023-09-08T04:53:05,891 Error compiling Cython file: 2023-09-08T04:53:05,891 ------------------------------------------------------------ 2023-09-08T04:53:05,892 ... 2023-09-08T04:53:05,892 ''' 2023-09-08T04:53:05,893 ''' 2023-09-08T04:53:05,894 CHANNEL_ORDERS = { 2023-09-08T04:53:05,894 CL_R : 'CL_R', 2023-09-08T04:53:05,895 CL_Rx : 'CL_Rx', 2023-09-08T04:53:05,896 CL_A : 'CL_A', 2023-09-08T04:53:05,896 ^ 2023-09-08T04:53:05,897 ------------------------------------------------------------ 2023-09-08T04:53:05,898 opencl/cl_mem.pyx:795:8: undeclared name not builtin: CL_A 2023-09-08T04:53:05,900 Error compiling Cython file: 2023-09-08T04:53:05,900 ------------------------------------------------------------ 2023-09-08T04:53:05,901 ... 2023-09-08T04:53:05,902 ''' 2023-09-08T04:53:05,902 CHANNEL_ORDERS = { 2023-09-08T04:53:05,903 CL_R : 'CL_R', 2023-09-08T04:53:05,903 CL_Rx : 'CL_Rx', 2023-09-08T04:53:05,904 CL_A : 'CL_A', 2023-09-08T04:53:05,904 CL_INTENSITY : 'CL_INTENSITY', 2023-09-08T04:53:05,904 ^ 2023-09-08T04:53:05,905 ------------------------------------------------------------ 2023-09-08T04:53:05,906 opencl/cl_mem.pyx:796:8: undeclared name not builtin: CL_INTENSITY 2023-09-08T04:53:05,907 Error compiling Cython file: 2023-09-08T04:53:05,907 ------------------------------------------------------------ 2023-09-08T04:53:05,907 ... 2023-09-08T04:53:05,908 CHANNEL_ORDERS = { 2023-09-08T04:53:05,908 CL_R : 'CL_R', 2023-09-08T04:53:05,909 CL_Rx : 'CL_Rx', 2023-09-08T04:53:05,909 CL_A : 'CL_A', 2023-09-08T04:53:05,910 CL_INTENSITY : 'CL_INTENSITY', 2023-09-08T04:53:05,910 CL_LUMINANCE : 'CL_LUMINANCE', 2023-09-08T04:53:05,911 ^ 2023-09-08T04:53:05,911 ------------------------------------------------------------ 2023-09-08T04:53:05,912 opencl/cl_mem.pyx:797:8: undeclared name not builtin: CL_LUMINANCE 2023-09-08T04:53:05,913 Error compiling Cython file: 2023-09-08T04:53:05,913 ------------------------------------------------------------ 2023-09-08T04:53:05,914 ... 2023-09-08T04:53:05,914 CL_R : 'CL_R', 2023-09-08T04:53:05,914 CL_Rx : 'CL_Rx', 2023-09-08T04:53:05,915 CL_A : 'CL_A', 2023-09-08T04:53:05,915 CL_INTENSITY : 'CL_INTENSITY', 2023-09-08T04:53:05,916 CL_LUMINANCE : 'CL_LUMINANCE', 2023-09-08T04:53:05,916 CL_RG : 'CL_RG', 2023-09-08T04:53:05,916 ^ 2023-09-08T04:53:05,917 ------------------------------------------------------------ 2023-09-08T04:53:05,918 opencl/cl_mem.pyx:798:8: undeclared name not builtin: CL_RG 2023-09-08T04:53:05,919 Error compiling Cython file: 2023-09-08T04:53:05,920 ------------------------------------------------------------ 2023-09-08T04:53:05,921 ... 2023-09-08T04:53:05,921 CL_Rx : 'CL_Rx', 2023-09-08T04:53:05,922 CL_A : 'CL_A', 2023-09-08T04:53:05,923 CL_INTENSITY : 'CL_INTENSITY', 2023-09-08T04:53:05,923 CL_LUMINANCE : 'CL_LUMINANCE', 2023-09-08T04:53:05,924 CL_RG : 'CL_RG', 2023-09-08T04:53:05,925 CL_RGx : 'CL_RGx', 2023-09-08T04:53:05,925 ^ 2023-09-08T04:53:05,926 ------------------------------------------------------------ 2023-09-08T04:53:05,928 opencl/cl_mem.pyx:799:8: undeclared name not builtin: CL_RGx 2023-09-08T04:53:05,929 Error compiling Cython file: 2023-09-08T04:53:05,930 ------------------------------------------------------------ 2023-09-08T04:53:05,930 ... 2023-09-08T04:53:05,931 CL_A : 'CL_A', 2023-09-08T04:53:05,931 CL_INTENSITY : 'CL_INTENSITY', 2023-09-08T04:53:05,932 CL_LUMINANCE : 'CL_LUMINANCE', 2023-09-08T04:53:05,932 CL_RG : 'CL_RG', 2023-09-08T04:53:05,933 CL_RGx : 'CL_RGx', 2023-09-08T04:53:05,934 CL_RA : 'CL_RA', 2023-09-08T04:53:05,934 ^ 2023-09-08T04:53:05,935 ------------------------------------------------------------ 2023-09-08T04:53:05,936 opencl/cl_mem.pyx:800:8: undeclared name not builtin: CL_RA 2023-09-08T04:53:05,937 Error compiling Cython file: 2023-09-08T04:53:05,938 ------------------------------------------------------------ 2023-09-08T04:53:05,938 ... 2023-09-08T04:53:05,939 CL_INTENSITY : 'CL_INTENSITY', 2023-09-08T04:53:05,940 CL_LUMINANCE : 'CL_LUMINANCE', 2023-09-08T04:53:05,940 CL_RG : 'CL_RG', 2023-09-08T04:53:05,941 CL_RGx : 'CL_RGx', 2023-09-08T04:53:05,941 CL_RA : 'CL_RA', 2023-09-08T04:53:05,942 CL_RGB : 'CL_RGB', 2023-09-08T04:53:05,943 ^ 2023-09-08T04:53:05,943 ------------------------------------------------------------ 2023-09-08T04:53:05,945 opencl/cl_mem.pyx:801:8: undeclared name not builtin: CL_RGB 2023-09-08T04:53:05,946 Error compiling Cython file: 2023-09-08T04:53:05,946 ------------------------------------------------------------ 2023-09-08T04:53:05,947 ... 2023-09-08T04:53:05,947 CL_LUMINANCE : 'CL_LUMINANCE', 2023-09-08T04:53:05,948 CL_RG : 'CL_RG', 2023-09-08T04:53:05,948 CL_RGx : 'CL_RGx', 2023-09-08T04:53:05,949 CL_RA : 'CL_RA', 2023-09-08T04:53:05,949 CL_RGB : 'CL_RGB', 2023-09-08T04:53:05,949 CL_RGBx : 'CL_RGBx', 2023-09-08T04:53:05,950 ^ 2023-09-08T04:53:05,950 ------------------------------------------------------------ 2023-09-08T04:53:05,951 opencl/cl_mem.pyx:802:8: undeclared name not builtin: CL_RGBx 2023-09-08T04:53:05,952 Error compiling Cython file: 2023-09-08T04:53:05,952 ------------------------------------------------------------ 2023-09-08T04:53:05,953 ... 2023-09-08T04:53:05,953 CL_RG : 'CL_RG', 2023-09-08T04:53:05,954 CL_RGx : 'CL_RGx', 2023-09-08T04:53:05,954 CL_RA : 'CL_RA', 2023-09-08T04:53:05,954 CL_RGB : 'CL_RGB', 2023-09-08T04:53:05,955 CL_RGBx : 'CL_RGBx', 2023-09-08T04:53:05,955 CL_RGBA : 'CL_RGBA', 2023-09-08T04:53:05,956 ^ 2023-09-08T04:53:05,956 ------------------------------------------------------------ 2023-09-08T04:53:05,957 opencl/cl_mem.pyx:803:8: undeclared name not builtin: CL_RGBA 2023-09-08T04:53:05,958 Error compiling Cython file: 2023-09-08T04:53:05,959 ------------------------------------------------------------ 2023-09-08T04:53:05,959 ... 2023-09-08T04:53:05,960 CL_RGx : 'CL_RGx', 2023-09-08T04:53:05,960 CL_RA : 'CL_RA', 2023-09-08T04:53:05,960 CL_RGB : 'CL_RGB', 2023-09-08T04:53:05,961 CL_RGBx : 'CL_RGBx', 2023-09-08T04:53:05,961 CL_RGBA : 'CL_RGBA', 2023-09-08T04:53:05,962 CL_ARGB : 'CL_ARGB', 2023-09-08T04:53:05,963 ^ 2023-09-08T04:53:05,963 ------------------------------------------------------------ 2023-09-08T04:53:05,964 opencl/cl_mem.pyx:804:8: undeclared name not builtin: CL_ARGB 2023-09-08T04:53:05,966 Error compiling Cython file: 2023-09-08T04:53:05,966 ------------------------------------------------------------ 2023-09-08T04:53:05,967 ... 2023-09-08T04:53:05,968 CL_RA : 'CL_RA', 2023-09-08T04:53:05,968 CL_RGB : 'CL_RGB', 2023-09-08T04:53:05,969 CL_RGBx : 'CL_RGBx', 2023-09-08T04:53:05,970 CL_RGBA : 'CL_RGBA', 2023-09-08T04:53:05,970 CL_ARGB : 'CL_ARGB', 2023-09-08T04:53:05,971 CL_BGRA : 'CL_BGRA', 2023-09-08T04:53:05,971 ^ 2023-09-08T04:53:05,972 ------------------------------------------------------------ 2023-09-08T04:53:05,973 opencl/cl_mem.pyx:805:8: undeclared name not builtin: CL_BGRA 2023-09-08T04:53:05,974 Error compiling Cython file: 2023-09-08T04:53:05,975 ------------------------------------------------------------ 2023-09-08T04:53:05,975 ... 2023-09-08T04:53:05,976 CL_ARGB : 'CL_ARGB', 2023-09-08T04:53:05,977 CL_BGRA : 'CL_BGRA', 2023-09-08T04:53:05,977 } 2023-09-08T04:53:05,978 CHANNEL_DTYPES = { 2023-09-08T04:53:05,979 CL_SNORM_INT8 : 'CL_SNORM_INT8', 2023-09-08T04:53:05,979 ^ 2023-09-08T04:53:05,980 ------------------------------------------------------------ 2023-09-08T04:53:05,981 opencl/cl_mem.pyx:809:8: undeclared name not builtin: CL_SNORM_INT8 2023-09-08T04:53:05,982 Error compiling Cython file: 2023-09-08T04:53:05,983 ------------------------------------------------------------ 2023-09-08T04:53:05,983 ... 2023-09-08T04:53:05,984 CL_BGRA : 'CL_BGRA', 2023-09-08T04:53:05,985 } 2023-09-08T04:53:05,986 CHANNEL_DTYPES = { 2023-09-08T04:53:05,987 CL_SNORM_INT8 : 'CL_SNORM_INT8', 2023-09-08T04:53:05,987 CL_SNORM_INT16 : 'CL_SNORM_INT16', 2023-09-08T04:53:05,988 ^ 2023-09-08T04:53:05,989 ------------------------------------------------------------ 2023-09-08T04:53:05,990 opencl/cl_mem.pyx:810:8: undeclared name not builtin: CL_SNORM_INT16 2023-09-08T04:53:05,991 Error compiling Cython file: 2023-09-08T04:53:05,992 ------------------------------------------------------------ 2023-09-08T04:53:05,992 ... 2023-09-08T04:53:05,993 } 2023-09-08T04:53:05,994 CHANNEL_DTYPES = { 2023-09-08T04:53:05,994 CL_SNORM_INT8 : 'CL_SNORM_INT8', 2023-09-08T04:53:05,995 CL_SNORM_INT16 : 'CL_SNORM_INT16', 2023-09-08T04:53:05,995 CL_UNORM_INT8 : 'CL_UNORM_INT8', 2023-09-08T04:53:05,995 ^ 2023-09-08T04:53:05,996 ------------------------------------------------------------ 2023-09-08T04:53:05,997 opencl/cl_mem.pyx:811:8: undeclared name not builtin: CL_UNORM_INT8 2023-09-08T04:53:05,998 Error compiling Cython file: 2023-09-08T04:53:05,998 ------------------------------------------------------------ 2023-09-08T04:53:05,999 ... 2023-09-08T04:53:05,999 CHANNEL_DTYPES = { 2023-09-08T04:53:06,000 CL_SNORM_INT8 : 'CL_SNORM_INT8', 2023-09-08T04:53:06,000 CL_SNORM_INT16 : 'CL_SNORM_INT16', 2023-09-08T04:53:06,001 CL_UNORM_INT8 : 'CL_UNORM_INT8', 2023-09-08T04:53:06,001 CL_UNORM_INT16 : 'CL_UNORM_INT16', 2023-09-08T04:53:06,002 ^ 2023-09-08T04:53:06,002 ------------------------------------------------------------ 2023-09-08T04:53:06,003 opencl/cl_mem.pyx:812:8: undeclared name not builtin: CL_UNORM_INT16 2023-09-08T04:53:06,004 Error compiling Cython file: 2023-09-08T04:53:06,004 ------------------------------------------------------------ 2023-09-08T04:53:06,005 ... 2023-09-08T04:53:06,005 CHANNEL_DTYPES = { 2023-09-08T04:53:06,006 CL_SNORM_INT8 : 'CL_SNORM_INT8', 2023-09-08T04:53:06,006 CL_SNORM_INT16 : 'CL_SNORM_INT16', 2023-09-08T04:53:06,007 CL_UNORM_INT8 : 'CL_UNORM_INT8', 2023-09-08T04:53:06,008 CL_UNORM_INT16 : 'CL_UNORM_INT16', 2023-09-08T04:53:06,008 CL_UNORM_SHORT_565 : 'CL_UNORM_SHORT_565', 2023-09-08T04:53:06,009 ^ 2023-09-08T04:53:06,010 ------------------------------------------------------------ 2023-09-08T04:53:06,011 opencl/cl_mem.pyx:813:8: undeclared name not builtin: CL_UNORM_SHORT_565 2023-09-08T04:53:06,012 Error compiling Cython file: 2023-09-08T04:53:06,013 ------------------------------------------------------------ 2023-09-08T04:53:06,014 ... 2023-09-08T04:53:06,015 CL_SNORM_INT8 : 'CL_SNORM_INT8', 2023-09-08T04:53:06,015 CL_SNORM_INT16 : 'CL_SNORM_INT16', 2023-09-08T04:53:06,016 CL_UNORM_INT8 : 'CL_UNORM_INT8', 2023-09-08T04:53:06,017 CL_UNORM_INT16 : 'CL_UNORM_INT16', 2023-09-08T04:53:06,017 CL_UNORM_SHORT_565 : 'CL_UNORM_SHORT_565', 2023-09-08T04:53:06,018 CL_UNORM_SHORT_555 : 'CL_UNORM_SHORT_555', 2023-09-08T04:53:06,019 ^ 2023-09-08T04:53:06,019 ------------------------------------------------------------ 2023-09-08T04:53:06,020 opencl/cl_mem.pyx:814:8: undeclared name not builtin: CL_UNORM_SHORT_555 2023-09-08T04:53:06,021 Error compiling Cython file: 2023-09-08T04:53:06,022 ------------------------------------------------------------ 2023-09-08T04:53:06,023 ... 2023-09-08T04:53:06,023 CL_SNORM_INT16 : 'CL_SNORM_INT16', 2023-09-08T04:53:06,024 CL_UNORM_INT8 : 'CL_UNORM_INT8', 2023-09-08T04:53:06,024 CL_UNORM_INT16 : 'CL_UNORM_INT16', 2023-09-08T04:53:06,025 CL_UNORM_SHORT_565 : 'CL_UNORM_SHORT_565', 2023-09-08T04:53:06,025 CL_UNORM_SHORT_555 : 'CL_UNORM_SHORT_555', 2023-09-08T04:53:06,026 CL_UNORM_INT_101010 : 'CL_UNORM_INT_101010', 2023-09-08T04:53:06,027 ^ 2023-09-08T04:53:06,027 ------------------------------------------------------------ 2023-09-08T04:53:06,029 opencl/cl_mem.pyx:815:8: undeclared name not builtin: CL_UNORM_INT_101010 2023-09-08T04:53:06,030 Error compiling Cython file: 2023-09-08T04:53:06,031 ------------------------------------------------------------ 2023-09-08T04:53:06,031 ... 2023-09-08T04:53:06,032 CL_UNORM_INT8 : 'CL_UNORM_INT8', 2023-09-08T04:53:06,033 CL_UNORM_INT16 : 'CL_UNORM_INT16', 2023-09-08T04:53:06,033 CL_UNORM_SHORT_565 : 'CL_UNORM_SHORT_565', 2023-09-08T04:53:06,033 CL_UNORM_SHORT_555 : 'CL_UNORM_SHORT_555', 2023-09-08T04:53:06,034 CL_UNORM_INT_101010 : 'CL_UNORM_INT_101010', 2023-09-08T04:53:06,034 CL_SIGNED_INT8 : 'CL_SIGNED_INT8', 2023-09-08T04:53:06,035 ^ 2023-09-08T04:53:06,035 ------------------------------------------------------------ 2023-09-08T04:53:06,036 opencl/cl_mem.pyx:816:8: undeclared name not builtin: CL_SIGNED_INT8 2023-09-08T04:53:06,037 Error compiling Cython file: 2023-09-08T04:53:06,037 ------------------------------------------------------------ 2023-09-08T04:53:06,038 ... 2023-09-08T04:53:06,038 CL_UNORM_INT16 : 'CL_UNORM_INT16', 2023-09-08T04:53:06,039 CL_UNORM_SHORT_565 : 'CL_UNORM_SHORT_565', 2023-09-08T04:53:06,039 CL_UNORM_SHORT_555 : 'CL_UNORM_SHORT_555', 2023-09-08T04:53:06,040 CL_UNORM_INT_101010 : 'CL_UNORM_INT_101010', 2023-09-08T04:53:06,040 CL_SIGNED_INT8 : 'CL_SIGNED_INT8', 2023-09-08T04:53:06,040 CL_SIGNED_INT16 : 'CL_SIGNED_INT16', 2023-09-08T04:53:06,041 ^ 2023-09-08T04:53:06,041 ------------------------------------------------------------ 2023-09-08T04:53:06,042 opencl/cl_mem.pyx:817:8: undeclared name not builtin: CL_SIGNED_INT16 2023-09-08T04:53:06,043 Error compiling Cython file: 2023-09-08T04:53:06,044 ------------------------------------------------------------ 2023-09-08T04:53:06,044 ... 2023-09-08T04:53:06,044 CL_UNORM_SHORT_565 : 'CL_UNORM_SHORT_565', 2023-09-08T04:53:06,045 CL_UNORM_SHORT_555 : 'CL_UNORM_SHORT_555', 2023-09-08T04:53:06,046 CL_UNORM_INT_101010 : 'CL_UNORM_INT_101010', 2023-09-08T04:53:06,046 CL_SIGNED_INT8 : 'CL_SIGNED_INT8', 2023-09-08T04:53:06,047 CL_SIGNED_INT16 : 'CL_SIGNED_INT16', 2023-09-08T04:53:06,047 CL_SIGNED_INT32 : 'CL_SIGNED_INT32', 2023-09-08T04:53:06,048 ^ 2023-09-08T04:53:06,049 ------------------------------------------------------------ 2023-09-08T04:53:06,050 opencl/cl_mem.pyx:818:8: undeclared name not builtin: CL_SIGNED_INT32 2023-09-08T04:53:06,051 Error compiling Cython file: 2023-09-08T04:53:06,052 ------------------------------------------------------------ 2023-09-08T04:53:06,053 ... 2023-09-08T04:53:06,053 CL_UNORM_SHORT_555 : 'CL_UNORM_SHORT_555', 2023-09-08T04:53:06,054 CL_UNORM_INT_101010 : 'CL_UNORM_INT_101010', 2023-09-08T04:53:06,055 CL_SIGNED_INT8 : 'CL_SIGNED_INT8', 2023-09-08T04:53:06,055 CL_SIGNED_INT16 : 'CL_SIGNED_INT16', 2023-09-08T04:53:06,056 CL_SIGNED_INT32 : 'CL_SIGNED_INT32', 2023-09-08T04:53:06,057 CL_UNSIGNED_INT8 : 'CL_UNSIGNED_INT8', 2023-09-08T04:53:06,057 ^ 2023-09-08T04:53:06,058 ------------------------------------------------------------ 2023-09-08T04:53:06,059 opencl/cl_mem.pyx:819:8: undeclared name not builtin: CL_UNSIGNED_INT8 2023-09-08T04:53:06,060 Error compiling Cython file: 2023-09-08T04:53:06,061 ------------------------------------------------------------ 2023-09-08T04:53:06,061 ... 2023-09-08T04:53:06,062 CL_UNORM_INT_101010 : 'CL_UNORM_INT_101010', 2023-09-08T04:53:06,062 CL_SIGNED_INT8 : 'CL_SIGNED_INT8', 2023-09-08T04:53:06,063 CL_SIGNED_INT16 : 'CL_SIGNED_INT16', 2023-09-08T04:53:06,064 CL_SIGNED_INT32 : 'CL_SIGNED_INT32', 2023-09-08T04:53:06,064 CL_UNSIGNED_INT8 : 'CL_UNSIGNED_INT8', 2023-09-08T04:53:06,065 CL_UNSIGNED_INT16 : 'CL_UNSIGNED_INT16', 2023-09-08T04:53:06,065 ^ 2023-09-08T04:53:06,066 ------------------------------------------------------------ 2023-09-08T04:53:06,068 opencl/cl_mem.pyx:820:8: undeclared name not builtin: CL_UNSIGNED_INT16 2023-09-08T04:53:06,069 Error compiling Cython file: 2023-09-08T04:53:06,070 ------------------------------------------------------------ 2023-09-08T04:53:06,070 ... 2023-09-08T04:53:06,071 CL_SIGNED_INT8 : 'CL_SIGNED_INT8', 2023-09-08T04:53:06,071 CL_SIGNED_INT16 : 'CL_SIGNED_INT16', 2023-09-08T04:53:06,072 CL_SIGNED_INT32 : 'CL_SIGNED_INT32', 2023-09-08T04:53:06,072 CL_UNSIGNED_INT8 : 'CL_UNSIGNED_INT8', 2023-09-08T04:53:06,073 CL_UNSIGNED_INT16 : 'CL_UNSIGNED_INT16', 2023-09-08T04:53:06,073 CL_UNSIGNED_INT32 : 'CL_UNSIGNED_INT32', 2023-09-08T04:53:06,074 ^ 2023-09-08T04:53:06,074 ------------------------------------------------------------ 2023-09-08T04:53:06,075 opencl/cl_mem.pyx:821:8: undeclared name not builtin: CL_UNSIGNED_INT32 2023-09-08T04:53:06,076 Error compiling Cython file: 2023-09-08T04:53:06,077 ------------------------------------------------------------ 2023-09-08T04:53:06,077 ... 2023-09-08T04:53:06,077 CL_SIGNED_INT16 : 'CL_SIGNED_INT16', 2023-09-08T04:53:06,078 CL_SIGNED_INT32 : 'CL_SIGNED_INT32', 2023-09-08T04:53:06,078 CL_UNSIGNED_INT8 : 'CL_UNSIGNED_INT8', 2023-09-08T04:53:06,079 CL_UNSIGNED_INT16 : 'CL_UNSIGNED_INT16', 2023-09-08T04:53:06,079 CL_UNSIGNED_INT32 : 'CL_UNSIGNED_INT32', 2023-09-08T04:53:06,080 CL_HALF_FLOAT : 'CL_HALF_FLOAT', 2023-09-08T04:53:06,080 ^ 2023-09-08T04:53:06,081 ------------------------------------------------------------ 2023-09-08T04:53:06,082 opencl/cl_mem.pyx:822:8: undeclared name not builtin: CL_HALF_FLOAT 2023-09-08T04:53:06,083 Error compiling Cython file: 2023-09-08T04:53:06,083 ------------------------------------------------------------ 2023-09-08T04:53:06,084 ... 2023-09-08T04:53:06,084 CL_SIGNED_INT32 : 'CL_SIGNED_INT32', 2023-09-08T04:53:06,085 CL_UNSIGNED_INT8 : 'CL_UNSIGNED_INT8', 2023-09-08T04:53:06,085 CL_UNSIGNED_INT16 : 'CL_UNSIGNED_INT16', 2023-09-08T04:53:06,086 CL_UNSIGNED_INT32 : 'CL_UNSIGNED_INT32', 2023-09-08T04:53:06,086 CL_HALF_FLOAT : 'CL_HALF_FLOAT', 2023-09-08T04:53:06,087 CL_FLOAT : 'CL_FLOAT', 2023-09-08T04:53:06,088 ^ 2023-09-08T04:53:06,088 ------------------------------------------------------------ 2023-09-08T04:53:06,090 opencl/cl_mem.pyx:823:8: undeclared name not builtin: CL_FLOAT 2023-09-08T04:53:06,091 Error compiling Cython file: 2023-09-08T04:53:06,092 ------------------------------------------------------------ 2023-09-08T04:53:06,092 ... 2023-09-08T04:53:06,093 def __cinit__(self): 2023-09-08T04:53:06,094 self.buffer_id = NULL 2023-09-08T04:53:06,095 def __dealloc__(self): 2023-09-08T04:53:06,096 if self.buffer_id != NULL: 2023-09-08T04:53:06,096 clReleaseMemObject(self.buffer_id) 2023-09-08T04:53:06,097 ^ 2023-09-08T04:53:06,098 ------------------------------------------------------------ 2023-09-08T04:53:06,099 opencl/cl_mem.pyx:82:12: undeclared name not builtin: clReleaseMemObject 2023-09-08T04:53:06,100 Error compiling Cython file: 2023-09-08T04:53:06,100 ------------------------------------------------------------ 2023-09-08T04:53:06,101 ... 2023-09-08T04:53:06,102 user_data.args = args 2023-09-08T04:53:06,102 user_data.kwargs = kwargs 2023-09-08T04:53:06,103 Py_INCREF(user_data) 2023-09-08T04:53:06,105 err_code = clSetMemObjectDestructorCallback(self.buffer_id, < void *> & pfn_notify_destroy_mem_object, < void *> user_data) 2023-09-08T04:53:06,105 ^ 2023-09-08T04:53:06,106 ------------------------------------------------------------ 2023-09-08T04:53:06,107 opencl/cl_mem.pyx:116:19: undeclared name not builtin: clSetMemObjectDestructorCallback 2023-09-08T04:53:06,108 Error compiling Cython file: 2023-09-08T04:53:06,109 ------------------------------------------------------------ 2023-09-08T04:53:06,110 ... 2023-09-08T04:53:06,110 user_data.args = args 2023-09-08T04:53:06,111 user_data.kwargs = kwargs 2023-09-08T04:53:06,112 Py_INCREF(user_data) 2023-09-08T04:53:06,113 err_code = clSetMemObjectDestructorCallback(self.buffer_id, < void *> & pfn_notify_destroy_mem_object, < void *> user_data) 2023-09-08T04:53:06,114 ^ 2023-09-08T04:53:06,114 ------------------------------------------------------------ 2023-09-08T04:53:06,115 opencl/cl_mem.pyx:116:68: Cannot convert 'void *' to Python object 2023-09-08T04:53:06,116 Error compiling Cython file: 2023-09-08T04:53:06,116 ------------------------------------------------------------ 2023-09-08T04:53:06,116 ... 2023-09-08T04:53:06,117 user_data.args = args 2023-09-08T04:53:06,117 user_data.kwargs = kwargs 2023-09-08T04:53:06,118 Py_INCREF(user_data) 2023-09-08T04:53:06,119 err_code = clSetMemObjectDestructorCallback(self.buffer_id, < void *> & pfn_notify_destroy_mem_object, < void *> user_data) 2023-09-08T04:53:06,119 ^ 2023-09-08T04:53:06,120 ------------------------------------------------------------ 2023-09-08T04:53:06,120 opencl/cl_mem.pyx:116:111: Cannot convert 'void *' to Python object 2023-09-08T04:53:06,121 Error compiling Cython file: 2023-09-08T04:53:06,122 ------------------------------------------------------------ 2023-09-08T04:53:06,122 ... 2023-09-08T04:53:06,123 Py_INCREF(user_data) 2023-09-08T04:53:06,124 err_code = clSetMemObjectDestructorCallback(self.buffer_id, < void *> & pfn_notify_destroy_mem_object, < void *> user_data) 2023-09-08T04:53:06,125 if err_code != CL_SUCCESS: 2023-09-08T04:53:06,125 ^ 2023-09-08T04:53:06,125 ------------------------------------------------------------ 2023-09-08T04:53:06,127 opencl/cl_mem.pyx:118:23: undeclared name not builtin: CL_SUCCESS 2023-09-08T04:53:06,128 Error compiling Cython file: 2023-09-08T04:53:06,128 ------------------------------------------------------------ 2023-09-08T04:53:06,129 ... 2023-09-08T04:53:06,130 ''' 2023-09-08T04:53:06,130 def __get__(self): 2023-09-08T04:53:06,131 cdef cl_context param_value 2023-09-08T04:53:06,131 cdef cl_int err_code 2023-09-08T04:53:06,133 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_CONTEXT, sizeof(size_t), 2023-09-08T04:53:06,133 ^ 2023-09-08T04:53:06,134 ------------------------------------------------------------ 2023-09-08T04:53:06,135 opencl/cl_mem.pyx:129:23: undeclared name not builtin: clGetMemObjectInfo 2023-09-08T04:53:06,136 Error compiling Cython file: 2023-09-08T04:53:06,137 ------------------------------------------------------------ 2023-09-08T04:53:06,137 ... 2023-09-08T04:53:06,138 ''' 2023-09-08T04:53:06,138 def __get__(self): 2023-09-08T04:53:06,139 cdef cl_context param_value 2023-09-08T04:53:06,139 cdef cl_int err_code 2023-09-08T04:53:06,140 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_CONTEXT, sizeof(size_t), 2023-09-08T04:53:06,141 ^ 2023-09-08T04:53:06,141 ------------------------------------------------------------ 2023-09-08T04:53:06,142 opencl/cl_mem.pyx:129:58: undeclared name not builtin: CL_MEM_CONTEXT 2023-09-08T04:53:06,143 Error compiling Cython file: 2023-09-08T04:53:06,144 ------------------------------------------------------------ 2023-09-08T04:53:06,145 ... 2023-09-08T04:53:06,145 def __get__(self): 2023-09-08T04:53:06,146 cdef cl_context param_value 2023-09-08T04:53:06,146 cdef cl_int err_code 2023-09-08T04:53:06,148 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_CONTEXT, sizeof(size_t), 2023-09-08T04:53:06,148 < void *> & param_value, NULL) 2023-09-08T04:53:06,149 ^ 2023-09-08T04:53:06,150 ------------------------------------------------------------ 2023-09-08T04:53:06,150 opencl/cl_mem.pyx:130:42: Cannot convert 'void *' to Python object 2023-09-08T04:53:06,151 Error compiling Cython file: 2023-09-08T04:53:06,152 ------------------------------------------------------------ 2023-09-08T04:53:06,152 ... 2023-09-08T04:53:06,153 def __get__(self): 2023-09-08T04:53:06,153 cdef cl_context param_value 2023-09-08T04:53:06,153 cdef cl_int err_code 2023-09-08T04:53:06,154 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_CONTEXT, sizeof(size_t), 2023-09-08T04:53:06,155 < void *> & param_value, NULL) 2023-09-08T04:53:06,155 ^ 2023-09-08T04:53:06,156 ------------------------------------------------------------ 2023-09-08T04:53:06,156 opencl/cl_mem.pyx:130:67: Cannot convert 'void *' to Python object 2023-09-08T04:53:06,157 Error compiling Cython file: 2023-09-08T04:53:06,158 ------------------------------------------------------------ 2023-09-08T04:53:06,158 ... 2023-09-08T04:53:06,159 def __get__(self): 2023-09-08T04:53:06,159 cdef cl_mem_object_type param_value 2023-09-08T04:53:06,160 cdef cl_int err_code 2023-09-08T04:53:06,161 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_TYPE, sizeof(cl_mem_object_type), 2023-09-08T04:53:06,161 ^ 2023-09-08T04:53:06,162 ------------------------------------------------------------ 2023-09-08T04:53:06,162 opencl/cl_mem.pyx:148:58: undeclared name not builtin: CL_MEM_TYPE 2023-09-08T04:53:06,163 Error compiling Cython file: 2023-09-08T04:53:06,164 ------------------------------------------------------------ 2023-09-08T04:53:06,165 ... 2023-09-08T04:53:06,165 def __get__(self): 2023-09-08T04:53:06,167 cdef cl_mem_object_type param_value 2023-09-08T04:53:06,167 cdef cl_int err_code 2023-09-08T04:53:06,168 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_TYPE, sizeof(cl_mem_object_type), 2023-09-08T04:53:06,169 ^ 2023-09-08T04:53:06,170 ------------------------------------------------------------ 2023-09-08T04:53:06,171 opencl/cl_mem.pyx:148:78: undeclared name not builtin: cl_mem_object_type 2023-09-08T04:53:06,172 Error compiling Cython file: 2023-09-08T04:53:06,173 ------------------------------------------------------------ 2023-09-08T04:53:06,173 ... 2023-09-08T04:53:06,174 cdef cl_mem_object_type param_value 2023-09-08T04:53:06,175 cdef cl_int err_code 2023-09-08T04:53:06,176 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_TYPE, sizeof(cl_mem_object_type), 2023-09-08T04:53:06,177 < void *> & param_value, NULL) 2023-09-08T04:53:06,177 ^ 2023-09-08T04:53:06,178 ------------------------------------------------------------ 2023-09-08T04:53:06,179 opencl/cl_mem.pyx:149:42: Cannot convert 'void *' to Python object 2023-09-08T04:53:06,180 Error compiling Cython file: 2023-09-08T04:53:06,180 ------------------------------------------------------------ 2023-09-08T04:53:06,181 ... 2023-09-08T04:53:06,182 cdef cl_mem_object_type param_value 2023-09-08T04:53:06,182 cdef cl_int err_code 2023-09-08T04:53:06,184 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_TYPE, sizeof(cl_mem_object_type), 2023-09-08T04:53:06,184 < void *> & param_value, NULL) 2023-09-08T04:53:06,185 ^ 2023-09-08T04:53:06,185 ------------------------------------------------------------ 2023-09-08T04:53:06,187 opencl/cl_mem.pyx:149:67: Cannot convert 'void *' to Python object 2023-09-08T04:53:06,187 Error compiling Cython file: 2023-09-08T04:53:06,188 ------------------------------------------------------------ 2023-09-08T04:53:06,188 ... 2023-09-08T04:53:06,188 def __get__(self): 2023-09-08T04:53:06,189 cdef size_t param_value 2023-09-08T04:53:06,190 cdef cl_int err_code 2023-09-08T04:53:06,190 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_SIZE, sizeof(size_t), 2023-09-08T04:53:06,191 ^ 2023-09-08T04:53:06,191 ------------------------------------------------------------ 2023-09-08T04:53:06,192 opencl/cl_mem.pyx:165:58: undeclared name not builtin: CL_MEM_SIZE 2023-09-08T04:53:06,193 Error compiling Cython file: 2023-09-08T04:53:06,193 ------------------------------------------------------------ 2023-09-08T04:53:06,194 ... 2023-09-08T04:53:06,194 cdef size_t param_value 2023-09-08T04:53:06,195 cdef cl_int err_code 2023-09-08T04:53:06,196 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_SIZE, sizeof(size_t), 2023-09-08T04:53:06,196 < void *> & param_value, NULL) 2023-09-08T04:53:06,197 ^ 2023-09-08T04:53:06,197 ------------------------------------------------------------ 2023-09-08T04:53:06,198 opencl/cl_mem.pyx:166:42: Cannot convert 'void *' to Python object 2023-09-08T04:53:06,199 Error compiling Cython file: 2023-09-08T04:53:06,200 ------------------------------------------------------------ 2023-09-08T04:53:06,200 ... 2023-09-08T04:53:06,201 cdef size_t param_value 2023-09-08T04:53:06,202 cdef cl_int err_code 2023-09-08T04:53:06,203 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_SIZE, sizeof(size_t), 2023-09-08T04:53:06,204 < void *> & param_value, NULL) 2023-09-08T04:53:06,204 ^ 2023-09-08T04:53:06,205 ------------------------------------------------------------ 2023-09-08T04:53:06,206 opencl/cl_mem.pyx:166:67: Cannot convert 'void *' to Python object 2023-09-08T04:53:06,208 Error compiling Cython file: 2023-09-08T04:53:06,208 ------------------------------------------------------------ 2023-09-08T04:53:06,209 ... 2023-09-08T04:53:06,209 Return the OpenCL internal refrence count of this object. 2023-09-08T04:53:06,210 ''' 2023-09-08T04:53:06,211 def __get__(self): 2023-09-08T04:53:06,211 cdef cl_uint param_value 2023-09-08T04:53:06,212 cdef cl_int err_code 2023-09-08T04:53:06,212 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_REFERENCE_COUNT, sizeof(cl_uint), 2023-09-08T04:53:06,213 ^ 2023-09-08T04:53:06,213 ------------------------------------------------------------ 2023-09-08T04:53:06,214 opencl/cl_mem.pyx:180:58: undeclared name not builtin: CL_MEM_REFERENCE_COUNT 2023-09-08T04:53:06,215 Error compiling Cython file: 2023-09-08T04:53:06,216 ------------------------------------------------------------ 2023-09-08T04:53:06,217 ... 2023-09-08T04:53:06,217 Return the OpenCL internal refrence count of this object. 2023-09-08T04:53:06,218 ''' 2023-09-08T04:53:06,218 def __get__(self): 2023-09-08T04:53:06,219 cdef cl_uint param_value 2023-09-08T04:53:06,219 cdef cl_int err_code 2023-09-08T04:53:06,220 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_REFERENCE_COUNT, sizeof(cl_uint), 2023-09-08T04:53:06,221 ^ 2023-09-08T04:53:06,221 ------------------------------------------------------------ 2023-09-08T04:53:06,223 opencl/cl_mem.pyx:180:89: undeclared name not builtin: cl_uint 2023-09-08T04:53:06,223 Error compiling Cython file: 2023-09-08T04:53:06,224 ------------------------------------------------------------ 2023-09-08T04:53:06,224 ... 2023-09-08T04:53:06,224 ''' 2023-09-08T04:53:06,225 def __get__(self): 2023-09-08T04:53:06,225 cdef cl_uint param_value 2023-09-08T04:53:06,226 cdef cl_int err_code 2023-09-08T04:53:06,226 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_REFERENCE_COUNT, sizeof(cl_uint), 2023-09-08T04:53:06,226 < void *>& param_value, NULL) 2023-09-08T04:53:06,227 ^ 2023-09-08T04:53:06,227 ------------------------------------------------------------ 2023-09-08T04:53:06,228 opencl/cl_mem.pyx:181:43: Cannot convert 'void *' to Python object 2023-09-08T04:53:06,229 Error compiling Cython file: 2023-09-08T04:53:06,229 ------------------------------------------------------------ 2023-09-08T04:53:06,230 ... 2023-09-08T04:53:06,230 ''' 2023-09-08T04:53:06,230 def __get__(self): 2023-09-08T04:53:06,231 cdef cl_uint param_value 2023-09-08T04:53:06,231 cdef cl_int err_code 2023-09-08T04:53:06,232 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_REFERENCE_COUNT, sizeof(cl_uint), 2023-09-08T04:53:06,232 < void *>& param_value, NULL) 2023-09-08T04:53:06,232 ^ 2023-09-08T04:53:06,233 ------------------------------------------------------------ 2023-09-08T04:53:06,234 opencl/cl_mem.pyx:181:67: Cannot convert 'void *' to Python object 2023-09-08T04:53:06,235 Error compiling Cython file: 2023-09-08T04:53:06,236 ------------------------------------------------------------ 2023-09-08T04:53:06,236 ... 2023-09-08T04:53:06,237 property _mapcount: 2023-09-08T04:53:06,237 def __get__(self): 2023-09-08T04:53:06,239 cdef cl_uint param_value 2023-09-08T04:53:06,239 cdef cl_int err_code 2023-09-08T04:53:06,240 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_MAP_COUNT, sizeof(cl_uint), 2023-09-08T04:53:06,240 ^ 2023-09-08T04:53:06,241 ------------------------------------------------------------ 2023-09-08T04:53:06,242 opencl/cl_mem.pyx:193:58: undeclared name not builtin: CL_MEM_MAP_COUNT 2023-09-08T04:53:06,243 Error compiling Cython file: 2023-09-08T04:53:06,244 ------------------------------------------------------------ 2023-09-08T04:53:06,245 ... 2023-09-08T04:53:06,245 def __get__(self): 2023-09-08T04:53:06,246 cdef cl_uint param_value 2023-09-08T04:53:06,247 cdef cl_int err_code 2023-09-08T04:53:06,248 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_MAP_COUNT, sizeof(cl_uint), 2023-09-08T04:53:06,248 < void *>& param_value, NULL) 2023-09-08T04:53:06,249 ^ 2023-09-08T04:53:06,249 ------------------------------------------------------------ 2023-09-08T04:53:06,250 opencl/cl_mem.pyx:194:42: Cannot convert 'void *' to Python object 2023-09-08T04:53:06,251 Error compiling Cython file: 2023-09-08T04:53:06,252 ------------------------------------------------------------ 2023-09-08T04:53:06,253 ... 2023-09-08T04:53:06,253 def __get__(self): 2023-09-08T04:53:06,254 cdef cl_uint param_value 2023-09-08T04:53:06,255 cdef cl_int err_code 2023-09-08T04:53:06,256 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_MAP_COUNT, sizeof(cl_uint), 2023-09-08T04:53:06,256 < void *>& param_value, NULL) 2023-09-08T04:53:06,257 ^ 2023-09-08T04:53:06,258 ------------------------------------------------------------ 2023-09-08T04:53:06,259 opencl/cl_mem.pyx:194:66: Cannot convert 'void *' to Python object 2023-09-08T04:53:06,260 Error compiling Cython file: 2023-09-08T04:53:06,260 ------------------------------------------------------------ 2023-09-08T04:53:06,260 ... 2023-09-08T04:53:06,261 # return param_value 2023-09-08T04:53:06,262 cdef cl_mem _get_base(self): 2023-09-08T04:53:06,262 cdef cl_mem param_value 2023-09-08T04:53:06,263 clGetMemObjectInfo(self.buffer_id, CL_MEM_ASSOCIATED_MEMOBJECT, sizeof(cl_mem), < void *>& param_value, NULL) 2023-09-08T04:53:06,263 ^ 2023-09-08T04:53:06,264 ------------------------------------------------------------ 2023-09-08T04:53:06,265 opencl/cl_mem.pyx:221:43: undeclared name not builtin: CL_MEM_ASSOCIATED_MEMOBJECT 2023-09-08T04:53:06,266 Error compiling Cython file: 2023-09-08T04:53:06,266 ------------------------------------------------------------ 2023-09-08T04:53:06,266 ... 2023-09-08T04:53:06,267 # return param_value 2023-09-08T04:53:06,268 cdef cl_mem _get_base(self): 2023-09-08T04:53:06,268 cdef cl_mem param_value 2023-09-08T04:53:06,269 clGetMemObjectInfo(self.buffer_id, CL_MEM_ASSOCIATED_MEMOBJECT, sizeof(cl_mem), < void *>& param_value, NULL) 2023-09-08T04:53:06,269 ^ 2023-09-08T04:53:06,270 ------------------------------------------------------------ 2023-09-08T04:53:06,271 opencl/cl_mem.pyx:221:79: undeclared name not builtin: cl_mem 2023-09-08T04:53:06,271 Error compiling Cython file: 2023-09-08T04:53:06,272 ------------------------------------------------------------ 2023-09-08T04:53:06,273 ... 2023-09-08T04:53:06,273 # return param_value 2023-09-08T04:53:06,274 cdef cl_mem _get_base(self): 2023-09-08T04:53:06,276 cdef cl_mem param_value 2023-09-08T04:53:06,276 clGetMemObjectInfo(self.buffer_id, CL_MEM_ASSOCIATED_MEMOBJECT, sizeof(cl_mem), < void *>& param_value, NULL) 2023-09-08T04:53:06,277 ^ 2023-09-08T04:53:06,277 ------------------------------------------------------------ 2023-09-08T04:53:06,279 opencl/cl_mem.pyx:221:88: Cannot convert 'void *' to Python object 2023-09-08T04:53:06,280 Error compiling Cython file: 2023-09-08T04:53:06,281 ------------------------------------------------------------ 2023-09-08T04:53:06,281 ... 2023-09-08T04:53:06,282 # return param_value 2023-09-08T04:53:06,283 cdef cl_mem _get_base(self): 2023-09-08T04:53:06,284 cdef cl_mem param_value 2023-09-08T04:53:06,285 clGetMemObjectInfo(self.buffer_id, CL_MEM_ASSOCIATED_MEMOBJECT, sizeof(cl_mem), < void *>& param_value, NULL) 2023-09-08T04:53:06,285 ^ 2023-09-08T04:53:06,286 ------------------------------------------------------------ 2023-09-08T04:53:06,287 opencl/cl_mem.pyx:221:112: Cannot convert 'void *' to Python object 2023-09-08T04:53:06,288 Error compiling Cython file: 2023-09-08T04:53:06,288 ------------------------------------------------------------ 2023-09-08T04:53:06,289 ... 2023-09-08T04:53:06,289 ''' 2023-09-08T04:53:06,290 def __get__(self): 2023-09-08T04:53:06,291 cdef cl_mem param_value 2023-09-08T04:53:06,291 cdef cl_int err_code 2023-09-08T04:53:06,292 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_ASSOCIATED_MEMOBJECT, sizeof(cl_mem), < void *>& param_value, NULL) 2023-09-08T04:53:06,293 ^ 2023-09-08T04:53:06,294 ------------------------------------------------------------ 2023-09-08T04:53:06,295 opencl/cl_mem.pyx:232:103: Cannot convert 'void *' to Python object 2023-09-08T04:53:06,296 Error compiling Cython file: 2023-09-08T04:53:06,296 ------------------------------------------------------------ 2023-09-08T04:53:06,297 ... 2023-09-08T04:53:06,297 ''' 2023-09-08T04:53:06,298 def __get__(self): 2023-09-08T04:53:06,298 cdef cl_mem param_value 2023-09-08T04:53:06,298 cdef cl_int err_code 2023-09-08T04:53:06,299 err_code = clGetMemObjectInfo(self.buffer_id, CL_MEM_ASSOCIATED_MEMOBJECT, sizeof(cl_mem), < void *>& param_value, NULL) 2023-09-08T04:53:06,300 ^ 2023-09-08T04:53:06,300 ------------------------------------------------------------ 2023-09-08T04:53:06,301 opencl/cl_mem.pyx:232:127: Cannot convert 'void *' to Python object 2023-09-08T04:53:06,302 Error compiling Cython file: 2023-09-08T04:53:06,302 ------------------------------------------------------------ 2023-09-08T04:53:06,303 ... 2023-09-08T04:53:06,303 from opencl.queue import MemoryViewMap 2023-09-08T04:53:06,304 cdef cl_map_flags flags = 0 2023-09-08T04:53:06,305 if readable: 2023-09-08T04:53:06,305 flags |= CL_MAP_READ 2023-09-08T04:53:06,306 ^ 2023-09-08T04:53:06,306 ------------------------------------------------------------ 2023-09-08T04:53:06,307 opencl/cl_mem.pyx:383:21: undeclared name not builtin: CL_MAP_READ 2023-09-08T04:53:06,308 Error compiling Cython file: 2023-09-08T04:53:06,309 ------------------------------------------------------------ 2023-09-08T04:53:06,309 ... 2023-09-08T04:53:06,309 cdef cl_map_flags flags = 0 2023-09-08T04:53:06,310 if readable: 2023-09-08T04:53:06,311 flags |= CL_MAP_READ 2023-09-08T04:53:06,312 if writeable: 2023-09-08T04:53:06,312 flags |= CL_MAP_WRITE 2023-09-08T04:53:06,313 ^ 2023-09-08T04:53:06,314 ------------------------------------------------------------ 2023-09-08T04:53:06,315 opencl/cl_mem.pyx:385:21: undeclared name not builtin: CL_MAP_WRITE 2023-09-08T04:53:06,316 Error compiling Cython file: 2023-09-08T04:53:06,317 ------------------------------------------------------------ 2023-09-08T04:53:06,317 ... 2023-09-08T04:53:06,319 cdef int py_flags = PyBUF_SIMPLE | PyBUF_STRIDES | PyBUF_ND | PyBUF_FORMAT 2023-09-08T04:53:06,320 cdef cl_mem_flags mem_flags = 0 2023-09-08T04:53:06,320 if copy: 2023-09-08T04:53:06,321 mem_flags |= CL_MEM_COPY_HOST_PTR 2023-09-08T04:53:06,322 ^ 2023-09-08T04:53:06,322 ------------------------------------------------------------ 2023-09-08T04:53:06,323 opencl/cl_mem.pyx:416:25: undeclared name not builtin: CL_MEM_COPY_HOST_PTR 2023-09-08T04:53:06,324 Error compiling Cython file: 2023-09-08T04:53:06,325 ------------------------------------------------------------ 2023-09-08T04:53:06,326 ... 2023-09-08T04:53:06,327 cdef cl_mem_flags mem_flags = 0 2023-09-08T04:53:06,327 if copy: 2023-09-08T04:53:06,328 mem_flags |= CL_MEM_COPY_HOST_PTR 2023-09-08T04:53:06,328 else: 2023-09-08T04:53:06,329 mem_flags |= CL_MEM_USE_HOST_PTR 2023-09-08T04:53:06,329 ^ 2023-09-08T04:53:06,330 ------------------------------------------------------------ 2023-09-08T04:53:06,331 opencl/cl_mem.pyx:418:25: undeclared name not builtin: CL_MEM_USE_HOST_PTR 2023-09-08T04:53:06,332 Error compiling Cython file: 2023-09-08T04:53:06,333 ------------------------------------------------------------ 2023-09-08T04:53:06,333 ... 2023-09-08T04:53:06,334 mem_flags |= CL_MEM_COPY_HOST_PTR 2023-09-08T04:53:06,335 else: 2023-09-08T04:53:06,335 mem_flags |= CL_MEM_USE_HOST_PTR 2023-09-08T04:53:06,337 if readable and writeable: 2023-09-08T04:53:06,337 mem_flags |= CL_MEM_READ_WRITE 2023-09-08T04:53:06,338 ^ 2023-09-08T04:53:06,338 ------------------------------------------------------------ 2023-09-08T04:53:06,339 opencl/cl_mem.pyx:421:25: undeclared name not builtin: CL_MEM_READ_WRITE 2023-09-08T04:53:06,340 Error compiling Cython file: 2023-09-08T04:53:06,340 ------------------------------------------------------------ 2023-09-08T04:53:06,341 ... 2023-09-08T04:53:06,341 mem_flags |= CL_MEM_USE_HOST_PTR 2023-09-08T04:53:06,342 if readable and writeable: 2023-09-08T04:53:06,343 mem_flags |= CL_MEM_READ_WRITE 2023-09-08T04:53:06,343 elif readable: 2023-09-08T04:53:06,344 mem_flags |= CL_MEM_READ_ONLY 2023-09-08T04:53:06,344 ^ 2023-09-08T04:53:06,345 ------------------------------------------------------------ 2023-09-08T04:53:06,346 opencl/cl_mem.pyx:423:25: undeclared name not builtin: CL_MEM_READ_ONLY 2023-09-08T04:53:06,347 Error compiling Cython file: 2023-09-08T04:53:06,347 ------------------------------------------------------------ 2023-09-08T04:53:06,348 ... 2023-09-08T04:53:06,348 if readable and writeable: 2023-09-08T04:53:06,348 mem_flags |= CL_MEM_READ_WRITE 2023-09-08T04:53:06,349 elif readable: 2023-09-08T04:53:06,349 mem_flags |= CL_MEM_READ_ONLY 2023-09-08T04:53:06,350 elif writeable: 2023-09-08T04:53:06,350 mem_flags |= CL_MEM_WRITE_ONLY 2023-09-08T04:53:06,350 ^ 2023-09-08T04:53:06,351 ------------------------------------------------------------ 2023-09-08T04:53:06,352 opencl/cl_mem.pyx:425:25: undeclared name not builtin: CL_MEM_WRITE_ONLY 2023-09-08T04:53:06,353 Error compiling Cython file: 2023-09-08T04:53:06,353 ------------------------------------------------------------ 2023-09-08T04:53:06,354 ... 2023-09-08T04:53:06,354 if PyObject_GetBuffer(host, & view, py_flags) < 0: 2023-09-08T04:53:06,355 raise Exception("argument host must support the buffer protocol (got %r)" % host) 2023-09-08T04:53:06,356 if PyBuffer_IsContiguous(& view, 'C'): 2023-09-08T04:53:06,357 buffer_id = clCreateBuffer(ctx, mem_flags, view.len, view.buf, & err_code) 2023-09-08T04:53:06,358 ^ 2023-09-08T04:53:06,359 ------------------------------------------------------------ 2023-09-08T04:53:06,360 opencl/cl_mem.pyx:439:24: undeclared name not builtin: clCreateBuffer 2023-09-08T04:53:06,361 Error compiling Cython file: 2023-09-08T04:53:06,362 ------------------------------------------------------------ 2023-09-08T04:53:06,362 ... 2023-09-08T04:53:06,363 if PyObject_GetBuffer(host, & view, py_flags) < 0: 2023-09-08T04:53:06,363 raise Exception("argument host must support the buffer protocol (got %r)" % host) 2023-09-08T04:53:06,364 if PyBuffer_IsContiguous(& view, 'C'): 2023-09-08T04:53:06,365 buffer_id = clCreateBuffer(ctx, mem_flags, view.len, view.buf, & err_code) 2023-09-08T04:53:06,366 ^ 2023-09-08T04:53:06,366 ------------------------------------------------------------ 2023-09-08T04:53:06,367 opencl/cl_mem.pyx:439:69: Cannot convert 'void *' to Python object 2023-09-08T04:53:06,368 Error compiling Cython file: 2023-09-08T04:53:06,369 ------------------------------------------------------------ 2023-09-08T04:53:06,369 ... 2023-09-08T04:53:06,370 cdef size_t itemsize = size_from_format(format) 2023-09-08T04:53:06,371 cdef size_t size = itemsize 2023-09-08T04:53:06,371 for i in shape: 2023-09-08T04:53:06,372 size *= i 2023-09-08T04:53:06,373 cdef cl_mem buffer_id = clCreateBuffer(ctx, flags, size, NULL, & err_code) 2023-09-08T04:53:06,374 ^ 2023-09-08T04:53:06,374 ------------------------------------------------------------ 2023-09-08T04:53:06,375 opencl/cl_mem.pyx:758:61: Cannot convert 'void *' to Python object 2023-09-08T04:53:06,377 Error compiling Cython file: 2023-09-08T04:53:06,377 ------------------------------------------------------------ 2023-09-08T04:53:06,377 ... 2023-09-08T04:53:06,378 cdef cl_int err_code 2023-09-08T04:53:06,378 cdef cl_image_format * image_formats 2023-09-08T04:53:06,379 cdef cl_uint num_image_formats 2023-09-08T04:53:06,379 cdef cl_mem_object_type image_type = CL_MEM_OBJECT_IMAGE2D 2023-09-08T04:53:06,380 err_code = clGetSupportedImageFormats(ctx, flags, image_type, 0, NULL, & num_image_formats) 2023-09-08T04:53:06,380 ^ 2023-09-08T04:53:06,381 ------------------------------------------------------------ 2023-09-08T04:53:06,382 opencl/cl_mem.pyx:887:19: undeclared name not builtin: clGetSupportedImageFormats 2023-09-08T04:53:06,383 Error compiling Cython file: 2023-09-08T04:53:06,383 ------------------------------------------------------------ 2023-09-08T04:53:06,383 ... 2023-09-08T04:53:06,384 cdef cl_int err_code 2023-09-08T04:53:06,384 cdef cl_image_format * image_formats 2023-09-08T04:53:06,385 cdef cl_uint num_image_formats 2023-09-08T04:53:06,385 cdef cl_mem_object_type image_type = CL_MEM_OBJECT_IMAGE2D 2023-09-08T04:53:06,387 err_code = clGetSupportedImageFormats(ctx, flags, image_type, 0, NULL, & num_image_formats) 2023-09-08T04:53:06,387 ^ 2023-09-08T04:53:06,388 ------------------------------------------------------------ 2023-09-08T04:53:06,389 opencl/cl_mem.pyx:887:73: Cannot convert 'void *' to Python object 2023-09-08T04:53:06,390 Error compiling Cython file: 2023-09-08T04:53:06,390 ------------------------------------------------------------ 2023-09-08T04:53:06,391 ... 2023-09-08T04:53:06,392 err_code = clGetSupportedImageFormats(ctx, flags, image_type, 0, NULL, & num_image_formats) 2023-09-08T04:53:06,393 if err_code != CL_SUCCESS: 2023-09-08T04:53:06,393 raise OpenCLException(err_code) 2023-09-08T04:53:06,394 image_formats = < cl_image_format *> malloc(sizeof(cl_image_format) * num_image_formats) 2023-09-08T04:53:06,395 ^ 2023-09-08T04:53:06,396 ------------------------------------------------------------ 2023-09-08T04:53:06,397 opencl/cl_mem.pyx:892:26: 'cl_image_format' is not a type identifier 2023-09-08T04:53:06,398 Error compiling Cython file: 2023-09-08T04:53:06,398 ------------------------------------------------------------ 2023-09-08T04:53:06,399 ... 2023-09-08T04:53:06,400 err_code = clGetSupportedImageFormats(ctx, flags, image_type, 0, NULL, & num_image_formats) 2023-09-08T04:53:06,401 if err_code != CL_SUCCESS: 2023-09-08T04:53:06,401 raise OpenCLException(err_code) 2023-09-08T04:53:06,402 image_formats = < cl_image_format *> malloc(sizeof(cl_image_format) * num_image_formats) 2023-09-08T04:53:06,403 ^ 2023-09-08T04:53:06,403 ------------------------------------------------------------ 2023-09-08T04:53:06,404 opencl/cl_mem.pyx:892:59: undeclared name not builtin: cl_image_format 2023-09-08T04:53:06,405 Error compiling Cython file: 2023-09-08T04:53:06,406 ------------------------------------------------------------ 2023-09-08T04:53:06,407 ... 2023-09-08T04:53:06,407 if err_code != CL_SUCCESS: 2023-09-08T04:53:06,408 raise OpenCLException(err_code) 2023-09-08T04:53:06,409 image_formats = < cl_image_format *> malloc(sizeof(cl_image_format) * num_image_formats) 2023-09-08T04:53:06,410 err_code = clGetSupportedImageFormats(ctx, flags, image_type, num_image_formats, image_formats, NULL) 2023-09-08T04:53:06,411 ^ 2023-09-08T04:53:06,412 ------------------------------------------------------------ 2023-09-08T04:53:06,413 opencl/cl_mem.pyx:894:104: Cannot convert 'void *' to Python object 2023-09-08T04:53:06,413 Error compiling Cython file: 2023-09-08T04:53:06,414 ------------------------------------------------------------ 2023-09-08T04:53:06,414 ... 2023-09-08T04:53:06,414 property image_format: 2023-09-08T04:53:06,415 def __get__(self): 2023-09-08T04:53:06,415 cdef cl_int err_code 2023-09-08T04:53:06,416 cdef cl_image_format image_format 2023-09-08T04:53:06,416 err_code = clGetImageInfo(self.buffer_id, CL_IMAGE_FORMAT, sizeof(cl_image_format), & image_format, NULL) 2023-09-08T04:53:06,417 ^ 2023-09-08T04:53:06,417 ------------------------------------------------------------ 2023-09-08T04:53:06,418 opencl/cl_mem.pyx:994:23: undeclared name not builtin: clGetImageInfo 2023-09-08T04:53:06,418 Error compiling Cython file: 2023-09-08T04:53:06,419 ------------------------------------------------------------ 2023-09-08T04:53:06,419 ... 2023-09-08T04:53:06,420 property image_format: 2023-09-08T04:53:06,420 def __get__(self): 2023-09-08T04:53:06,421 cdef cl_int err_code 2023-09-08T04:53:06,422 cdef cl_image_format image_format 2023-09-08T04:53:06,422 err_code = clGetImageInfo(self.buffer_id, CL_IMAGE_FORMAT, sizeof(cl_image_format), & image_format, NULL) 2023-09-08T04:53:06,422 ^ 2023-09-08T04:53:06,423 ------------------------------------------------------------ 2023-09-08T04:53:06,424 opencl/cl_mem.pyx:994:54: undeclared name not builtin: CL_IMAGE_FORMAT 2023-09-08T04:53:06,426 Error compiling Cython file: 2023-09-08T04:53:06,426 ------------------------------------------------------------ 2023-09-08T04:53:06,427 ... 2023-09-08T04:53:06,428 property image_format: 2023-09-08T04:53:06,428 def __get__(self): 2023-09-08T04:53:06,429 cdef cl_int err_code 2023-09-08T04:53:06,430 cdef cl_image_format image_format 2023-09-08T04:53:06,431 err_code = clGetImageInfo(self.buffer_id, CL_IMAGE_FORMAT, sizeof(cl_image_format), & image_format, NULL) 2023-09-08T04:53:06,432 ^ 2023-09-08T04:53:06,433 ------------------------------------------------------------ 2023-09-08T04:53:06,434 opencl/cl_mem.pyx:994:112: Cannot convert 'void *' to Python object 2023-09-08T04:53:06,435 Error compiling Cython file: 2023-09-08T04:53:06,436 ------------------------------------------------------------ 2023-09-08T04:53:06,436 ... 2023-09-08T04:53:06,437 property image_width: 2023-09-08T04:53:06,438 def __get__(self): 2023-09-08T04:53:06,439 cdef cl_int err_code 2023-09-08T04:53:06,439 cdef size_t value 2023-09-08T04:53:06,440 err_code = clGetImageInfo(self.buffer_id, CL_IMAGE_WIDTH, sizeof(size_t), & value, NULL) 2023-09-08T04:53:06,440 ^ 2023-09-08T04:53:06,441 ------------------------------------------------------------ 2023-09-08T04:53:06,442 opencl/cl_mem.pyx:1004:54: undeclared name not builtin: CL_IMAGE_WIDTH 2023-09-08T04:53:06,443 Error compiling Cython file: 2023-09-08T04:53:06,444 ------------------------------------------------------------ 2023-09-08T04:53:06,444 ... 2023-09-08T04:53:06,445 property image_width: 2023-09-08T04:53:06,446 def __get__(self): 2023-09-08T04:53:06,447 cdef cl_int err_code 2023-09-08T04:53:06,447 cdef size_t value 2023-09-08T04:53:06,448 err_code = clGetImageInfo(self.buffer_id, CL_IMAGE_WIDTH, sizeof(size_t), & value, NULL) 2023-09-08T04:53:06,449 ^ 2023-09-08T04:53:06,449 ------------------------------------------------------------ 2023-09-08T04:53:06,450 opencl/cl_mem.pyx:1004:86: Cannot convert 'size_t *' to Python object 2023-09-08T04:53:06,451 Error compiling Cython file: 2023-09-08T04:53:06,451 ------------------------------------------------------------ 2023-09-08T04:53:06,452 ... 2023-09-08T04:53:06,452 property image_width: 2023-09-08T04:53:06,453 def __get__(self): 2023-09-08T04:53:06,453 cdef cl_int err_code 2023-09-08T04:53:06,454 cdef size_t value 2023-09-08T04:53:06,454 err_code = clGetImageInfo(self.buffer_id, CL_IMAGE_WIDTH, sizeof(size_t), & value, NULL) 2023-09-08T04:53:06,454 ^ 2023-09-08T04:53:06,455 ------------------------------------------------------------ 2023-09-08T04:53:06,455 opencl/cl_mem.pyx:1004:95: Cannot convert 'void *' to Python object 2023-09-08T04:53:06,456 Error compiling Cython file: 2023-09-08T04:53:06,457 ------------------------------------------------------------ 2023-09-08T04:53:06,457 ... 2023-09-08T04:53:06,458 property image_height: 2023-09-08T04:53:06,458 def __get__(self): 2023-09-08T04:53:06,459 cdef cl_int err_code 2023-09-08T04:53:06,459 cdef size_t value 2023-09-08T04:53:06,460 err_code = clGetImageInfo(self.buffer_id, CL_IMAGE_HEIGHT, sizeof(size_t), & value, NULL) 2023-09-08T04:53:06,460 ^ 2023-09-08T04:53:06,460 ------------------------------------------------------------ 2023-09-08T04:53:06,461 opencl/cl_mem.pyx:1013:54: undeclared name not builtin: CL_IMAGE_HEIGHT 2023-09-08T04:53:06,462 Error compiling Cython file: 2023-09-08T04:53:06,463 ------------------------------------------------------------ 2023-09-08T04:53:06,463 ... 2023-09-08T04:53:06,465 property image_height: 2023-09-08T04:53:06,465 def __get__(self): 2023-09-08T04:53:06,466 cdef cl_int err_code 2023-09-08T04:53:06,466 cdef size_t value 2023-09-08T04:53:06,467 err_code = clGetImageInfo(self.buffer_id, CL_IMAGE_HEIGHT, sizeof(size_t), & value, NULL) 2023-09-08T04:53:06,468 ^ 2023-09-08T04:53:06,468 ------------------------------------------------------------ 2023-09-08T04:53:06,469 opencl/cl_mem.pyx:1013:87: Cannot convert 'size_t *' to Python object 2023-09-08T04:53:06,471 Error compiling Cython file: 2023-09-08T04:53:06,471 ------------------------------------------------------------ 2023-09-08T04:53:06,472 ... 2023-09-08T04:53:06,472 property image_height: 2023-09-08T04:53:06,473 def __get__(self): 2023-09-08T04:53:06,473 cdef cl_int err_code 2023-09-08T04:53:06,474 cdef size_t value 2023-09-08T04:53:06,475 err_code = clGetImageInfo(self.buffer_id, CL_IMAGE_HEIGHT, sizeof(size_t), & value, NULL) 2023-09-08T04:53:06,475 ^ 2023-09-08T04:53:06,476 ------------------------------------------------------------ 2023-09-08T04:53:06,477 opencl/cl_mem.pyx:1013:96: Cannot convert 'void *' to Python object 2023-09-08T04:53:06,478 Error compiling Cython file: 2023-09-08T04:53:06,478 ------------------------------------------------------------ 2023-09-08T04:53:06,479 ... 2023-09-08T04:53:06,480 property image_depth: 2023-09-08T04:53:06,481 def __get__(self): 2023-09-08T04:53:06,481 cdef cl_int err_code 2023-09-08T04:53:06,482 cdef size_t value 2023-09-08T04:53:06,482 err_code = clGetImageInfo(self.buffer_id, CL_IMAGE_DEPTH, sizeof(size_t), & value, NULL) 2023-09-08T04:53:06,483 ^ 2023-09-08T04:53:06,484 ------------------------------------------------------------ 2023-09-08T04:53:06,485 opencl/cl_mem.pyx:1022:54: undeclared name not builtin: CL_IMAGE_DEPTH 2023-09-08T04:53:06,486 Error compiling Cython file: 2023-09-08T04:53:06,486 ------------------------------------------------------------ 2023-09-08T04:53:06,486 ... 2023-09-08T04:53:06,487 property image_depth: 2023-09-08T04:53:06,487 def __get__(self): 2023-09-08T04:53:06,488 cdef cl_int err_code 2023-09-08T04:53:06,488 cdef size_t value 2023-09-08T04:53:06,488 err_code = clGetImageInfo(self.buffer_id, CL_IMAGE_DEPTH, sizeof(size_t), & value, NULL) 2023-09-08T04:53:06,489 ^ 2023-09-08T04:53:06,489 ------------------------------------------------------------ 2023-09-08T04:53:06,490 opencl/cl_mem.pyx:1022:86: Cannot convert 'size_t *' to Python object 2023-09-08T04:53:06,491 Error compiling Cython file: 2023-09-08T04:53:06,491 ------------------------------------------------------------ 2023-09-08T04:53:06,492 ... 2023-09-08T04:53:06,492 property image_depth: 2023-09-08T04:53:06,493 def __get__(self): 2023-09-08T04:53:06,493 cdef cl_int err_code 2023-09-08T04:53:06,493 cdef size_t value 2023-09-08T04:53:06,494 err_code = clGetImageInfo(self.buffer_id, CL_IMAGE_DEPTH, sizeof(size_t), & value, NULL) 2023-09-08T04:53:06,494 ^ 2023-09-08T04:53:06,495 ------------------------------------------------------------ 2023-09-08T04:53:06,495 opencl/cl_mem.pyx:1022:95: Cannot convert 'void *' to Python object 2023-09-08T04:53:06,497 Error compiling Cython file: 2023-09-08T04:53:06,497 ------------------------------------------------------------ 2023-09-08T04:53:06,498 ... 2023-09-08T04:53:06,498 cdef size_t image_slice_pitch = 0 2023-09-08T04:53:06,499 cdef void * host_ptr = NULL 2023-09-08T04:53:06,500 cdef cl_mem buffer_id 2023-09-08T04:53:06,501 if len(shape) == 2: 2023-09-08T04:53:06,501 buffer_id = clCreateImage2D(ctx, flags, & fmt, image_width, image_height, image_row_pitch, NULL, & err_code) 2023-09-08T04:53:06,502 ^ 2023-09-08T04:53:06,503 ------------------------------------------------------------ 2023-09-08T04:53:06,504 opencl/cl_mem.pyx:1140:20: undeclared name not builtin: clCreateImage2D 2023-09-08T04:53:06,505 Error compiling Cython file: 2023-09-08T04:53:06,505 ------------------------------------------------------------ 2023-09-08T04:53:06,506 ... 2023-09-08T04:53:06,506 cdef size_t image_slice_pitch = 0 2023-09-08T04:53:06,507 cdef void * host_ptr = NULL 2023-09-08T04:53:06,508 cdef cl_mem buffer_id 2023-09-08T04:53:06,508 if len(shape) == 2: 2023-09-08T04:53:06,509 buffer_id = clCreateImage2D(ctx, flags, & fmt, image_width, image_height, image_row_pitch, NULL, & err_code) 2023-09-08T04:53:06,509 ^ 2023-09-08T04:53:06,510 ------------------------------------------------------------ 2023-09-08T04:53:06,511 opencl/cl_mem.pyx:1140:99: Cannot convert 'void *' to Python object 2023-09-08T04:53:06,512 Error compiling Cython file: 2023-09-08T04:53:06,513 ------------------------------------------------------------ 2023-09-08T04:53:06,513 ... 2023-09-08T04:53:06,513 cdef cl_mem buffer_id 2023-09-08T04:53:06,514 if len(shape) == 2: 2023-09-08T04:53:06,514 buffer_id = clCreateImage2D(ctx, flags, & fmt, image_width, image_height, image_row_pitch, NULL, & err_code) 2023-09-08T04:53:06,515 else: 2023-09-08T04:53:06,516 image_depth = shape[2] 2023-09-08T04:53:06,516 buffer_id = clCreateImage3D(ctx, flags, & fmt, image_width, image_height, image_depth, image_row_pitch, image_slice_pitch, NULL, & err_code) 2023-09-08T04:53:06,517 ^ 2023-09-08T04:53:06,518 ------------------------------------------------------------ 2023-09-08T04:53:06,518 opencl/cl_mem.pyx:1143:20: undeclared name not builtin: clCreateImage3D 2023-09-08T04:53:06,519 Error compiling Cython file: 2023-09-08T04:53:06,520 ------------------------------------------------------------ 2023-09-08T04:53:06,520 ... 2023-09-08T04:53:06,521 cdef cl_mem buffer_id 2023-09-08T04:53:06,521 if len(shape) == 2: 2023-09-08T04:53:06,521 buffer_id = clCreateImage2D(ctx, flags, & fmt, image_width, image_height, image_row_pitch, NULL, & err_code) 2023-09-08T04:53:06,522 else: 2023-09-08T04:53:06,522 image_depth = shape[2] 2023-09-08T04:53:06,523 buffer_id = clCreateImage3D(ctx, flags, & fmt, image_width, image_height, image_depth, image_row_pitch, image_slice_pitch, NULL, & err_code) 2023-09-08T04:53:06,523 ^ 2023-09-08T04:53:06,524 ------------------------------------------------------------ 2023-09-08T04:53:06,525 opencl/cl_mem.pyx:1143:131: Cannot convert 'void *' to Python object 2023-09-08T04:53:06,526 Error compiling Cython file: 2023-09-08T04:53:06,526 ------------------------------------------------------------ 2023-09-08T04:53:06,527 ... 2023-09-08T04:53:06,527 # API 2023-09-08T04:53:06,527 #=============================================================================== 2023-09-08T04:53:06,528 cdef api object CyMemoryObject_Create(cl_mem buffer_id): 2023-09-08T04:53:06,529 cdef MemoryObject cview = < MemoryObject > MemoryObject.__new__(MemoryObject) 2023-09-08T04:53:06,529 clRetainMemObject(buffer_id) 2023-09-08T04:53:06,530 ^ 2023-09-08T04:53:06,530 ------------------------------------------------------------ 2023-09-08T04:53:06,532 opencl/cl_mem.pyx:1182:4: undeclared name not builtin: clRetainMemObject 2023-09-08T04:53:06,532 Traceback (most recent call last): 2023-09-08T04:53:06,533 File "", line 2, in 2023-09-08T04:53:06,534 File "", line 34, in 2023-09-08T04:53:06,536 File "/tmp/pip-wheel-za51ns4w/opencl-for-python_43bb5e422e024324b00c2713df82ca1a/setup.py", line 72, in 2023-09-08T04:53:06,537 setup( 2023-09-08T04:53:06,538 File "/usr/local/lib/python3.11/dist-packages/setuptools/__init__.py", line 103, in setup 2023-09-08T04:53:06,539 return distutils.core.setup(**attrs) 2023-09-08T04:53:06,540 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T04:53:06,541 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 185, in setup 2023-09-08T04:53:06,542 return run_commands(dist) 2023-09-08T04:53:06,542 ^^^^^^^^^^^^^^^^^^ 2023-09-08T04:53:06,543 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 201, in run_commands 2023-09-08T04:53:06,544 dist.run_commands() 2023-09-08T04:53:06,545 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 969, in run_commands 2023-09-08T04:53:06,546 self.run_command(cmd) 2023-09-08T04:53:06,547 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-08T04:53:06,547 super().run_command(command) 2023-09-08T04:53:06,548 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-08T04:53:06,549 cmd_obj.run() 2023-09-08T04:53:06,550 File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 325, in run 2023-09-08T04:53:06,551 self.run_command("build") 2023-09-08T04:53:06,552 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command 2023-09-08T04:53:06,552 self.distribution.run_command(command) 2023-09-08T04:53:06,553 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-08T04:53:06,554 super().run_command(command) 2023-09-08T04:53:06,555 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-08T04:53:06,556 cmd_obj.run() 2023-09-08T04:53:06,556 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/command/build.py", line 131, in run 2023-09-08T04:53:06,557 self.run_command(cmd_name) 2023-09-08T04:53:06,558 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command 2023-09-08T04:53:06,558 self.distribution.run_command(command) 2023-09-08T04:53:06,559 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-08T04:53:06,560 super().run_command(command) 2023-09-08T04:53:06,560 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-08T04:53:06,561 cmd_obj.run() 2023-09-08T04:53:06,562 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/command/build_ext.py", line 345, in run 2023-09-08T04:53:06,563 self.build_extensions() 2023-09-08T04:53:06,563 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions 2023-09-08T04:53:06,564 self._build_extensions_serial() 2023-09-08T04:53:06,565 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial 2023-09-08T04:53:06,566 self.build_extension(ext) 2023-09-08T04:53:06,566 File "/usr/local/lib/python3.11/dist-packages/Cython/Distutils/build_ext.py", line 122, in build_extension 2023-09-08T04:53:06,567 new_ext = cythonize( 2023-09-08T04:53:06,568 ^^^^^^^^^^ 2023-09-08T04:53:06,569 File "/usr/local/lib/python3.11/dist-packages/Cython/Build/Dependencies.py", line 1134, in cythonize 2023-09-08T04:53:06,569 cythonize_one(*args) 2023-09-08T04:53:06,570 File "/usr/local/lib/python3.11/dist-packages/Cython/Build/Dependencies.py", line 1301, in cythonize_one 2023-09-08T04:53:06,571 raise CompileError(None, pyx_file) 2023-09-08T04:53:06,572 Cython.Compiler.Errors.CompileError: opencl/cl_mem.pyx 2023-09-08T04:53:06,870 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-08T04:53:06,883 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-08T04:53:06,883 exec(compile('"'"''"'"''"'"' 2023-09-08T04:53:06,883 # This is -- a caller that pip uses to run setup.py 2023-09-08T04:53:06,883 # 2023-09-08T04:53:06,883 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-08T04:53:06,883 # import from `distutils.core` to work with newer packaging standards. 2023-09-08T04:53:06,883 # - It provides a clear error message when setuptools is not installed. 2023-09-08T04:53:06,883 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-08T04:53:06,883 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-08T04:53:06,883 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-08T04:53:06,883 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-08T04:53:06,883 import os, sys, tokenize 2023-09-08T04:53:06,883 2023-09-08T04:53:06,883 try: 2023-09-08T04:53:06,883 import setuptools 2023-09-08T04:53:06,883 except ImportError as error: 2023-09-08T04:53:06,883 print( 2023-09-08T04:53:06,883 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-08T04:53:06,883 "the build environment.", 2023-09-08T04:53:06,883 file=sys.stderr, 2023-09-08T04:53:06,883 ) 2023-09-08T04:53:06,883 sys.exit(1) 2023-09-08T04:53:06,883 2023-09-08T04:53:06,883 __file__ = %r 2023-09-08T04:53:06,883 sys.argv[0] = __file__ 2023-09-08T04:53:06,883 2023-09-08T04:53:06,883 if os.path.exists(__file__): 2023-09-08T04:53:06,883 filename = __file__ 2023-09-08T04:53:06,883 with tokenize.open(__file__) as f: 2023-09-08T04:53:06,883 setup_py_code = f.read() 2023-09-08T04:53:06,883 else: 2023-09-08T04:53:06,883 filename = "" 2023-09-08T04:53:06,883 setup_py_code = "from setuptools import setup; setup()" 2023-09-08T04:53:06,883 2023-09-08T04:53:06,883 exec(compile(setup_py_code, filename, "exec")) 2023-09-08T04:53:06,883 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-za51ns4w/opencl-for-python_43bb5e422e024324b00c2713df82ca1a/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-z286kya4[/] 2023-09-08T04:53:06,883 [bold magenta]cwd[/]: /tmp/pip-wheel-za51ns4w/opencl-for-python_43bb5e422e024324b00c2713df82ca1a/ 2023-09-08T04:53:06,884 Building wheel for opencl-for-python (setup.py): finished with status 'error' 2023-09-08T04:53:06,886 ERROR: Failed building wheel for opencl-for-python 2023-09-08T04:53:06,887 Running setup.py clean for opencl-for-python 2023-09-08T04:53:06,888 Running command python setup.py clean 2023-09-08T04:53:07,892 running clean 2023-09-08T04:53:07,937 removing 'build/lib.linux-armv7l-cpython-311' (and everything under it) 2023-09-08T04:53:07,942 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-08T04:53:07,942 'build/scripts-3.11' does not exist -- can't clean it 2023-09-08T04:53:07,943 removing 'build' 2023-09-08T04:53:08,053 Failed to build opencl-for-python 2023-09-08T04:53:08,054 ERROR: Failed to build one or more wheels 2023-09-08T04:53:08,056 Exception information: 2023-09-08T04:53:08,056 Traceback (most recent call last): 2023-09-08T04:53:08,056 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-08T04:53:08,056 status = run_func(*args) 2023-09-08T04:53:08,056 ^^^^^^^^^^^^^^^ 2023-09-08T04:53:08,056 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-08T04:53:08,056 return func(self, options, args) 2023-09-08T04:53:08,056 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T04:53:08,056 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-08T04:53:08,056 raise CommandError("Failed to build one or more wheels") 2023-09-08T04:53:08,056 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-08T04:53:08,059 Removed build tracker: '/tmp/pip-build-tracker-9vobt_ud'