Dnia 2015-10-05, pon o godzinie 03:54 -0500, Andreas Kloeckner pisze:
> Tomasz Rybak <[email protected]> writes:
> 
> > Hello.
> > I'm trying to prepare Debian package with CFFI bindings.
> > Current version from git (c8fb83f69d709f3892ff25b0776cd1d82c6c87ff)
> > cannot build documentation:
> > 
> > # python make_constants.py 
> > Traceback (most recent call last):
> >   File "make_constants.py", line 304, in <module>
> >     "PIPE": cl_20,
> > AttributeError: 'module' object has no attribute
> > 'kernel_arg_type_qualifier'
> > 
> > 
> > make_constants.py contains from line 298:
> >  cl.kernel_arg_type_qualifier: {
> >             "NONE": cl_12_2015,
> >             "CONST": cl_12_2015,
> >             "RESTRICT": cl_12_2015,
> >             "VOLATILE": cl_12_2015,
> > 
> >             "PIPE": cl_20,
> >             },
> > 
> > but pyopencl/__init__.py does not contain
> > kernel_arg_type_qualifier,
> > only kernel_arg_info, kernel_arg_address_qualifier, and        
> > kernel_arg_access_qualifier.
> > 
> > Is it just omission (so I can add this constant) or is there some
> > deeper problem (related to CFFI?)
> 
> Fixed in 862fe11. Thanks for the report!
> 

Thanks. There is similar problem:

$ LANG=C PYTHONPATH=../debian/python-pyopencl/usr/lib/python2.7/dist
-packages/ make -C doc html
make: Entering directory '/usr/src/cuda/pyopencl
-2015.1+git20151005/doc'
python make_constants.py > constants.inc
Traceback (most recent call last):
  File "make_constants.py", line 384, in <module>
    "PARTITION_BY_NAMES_LIST_END": fission,
AttributeError: 'module' object has no attribute
'device_partition_property_ext'
Makefile:38: recipe for target 'constants' failed
make: *** [constants] Error 1
make: Leaving directory '/usr/src/cuda/pyopencl-2015.1+git20151005/doc'

When I use already build and installed PyOpenCL, I am stopped
by previous error - when I build new package, I got problem with
device_partition_property_ext.


Best regards.

-- 
Tomasz Rybak  GPG/PGP key ID: 2AD5 9860
Fingerprint A481 824E 7DD3 9C0E C40A  488E C654 FB33 2AD5 9860
http://member.acm.org/~tomaszrybak


Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl

Reply via email to