Re: [ViennaCL-devel] PyViennaCL status

2013-09-18 Thread Karl Rupp
Hi Toby, sorry for the late reply. I'm finally back to Austria ;-) > Just a quick update. I'm in the process of writing decent documentation > for my classes and functions. There are quite a few: sloccount tells me > that, including tests, I've got about 5500 source lines of code (not > includi

Re: [ViennaCL-devel] Enabling integer types in PyViennaCL

2013-09-18 Thread Toby St Clere Smithe
Toby St Clere Smithe writes: > I get a lot of errors like the below when I enable T = char (or other > integer numeric types) in PyViennaCL. The error always comes down to the > "request for member 'handle' in 'val'". Previously, it was in the > context of arithmetical functions like addition or e

Re: [ViennaCL-devel] Enabling integer types in PyViennaCL

2013-09-18 Thread Philippe Tillet
Hey Toby! As far as I know there is only partial support for cl_int only. The reason behind is that each scalartype size requires hand-tuning... loading 8bit by thread is extremely inefficient whether it is on GPU or CPU... The kernel generator will probably be able to handle all these case when i

[ViennaCL-devel] Enabling integer types in PyViennaCL

2013-09-18 Thread Toby St Clere Smithe
Hey all, I get a lot of errors like the below when I enable T = char (or other integer numeric types) in PyViennaCL. The error always comes down to the "request for member 'handle' in 'val'". Previously, it was in the context of arithmetical functions like addition or element_pow, but here it seem

Re: [ViennaCL-devel] Enabling integer types in PyViennaCL

2013-09-18 Thread Karl Rupp
Hi Toby, > I get a lot of errors like the below when I enable T = char (or other > integer numeric types) in PyViennaCL. The error always comes down to the > "request for member 'handle' in 'val'". Previously, it was in the > context of arithmetical functions like addition or element_pow, but here