pyopencl/pyopencl — pull request #37 by yuyichao (2014-05-10 14:41:37+00:00)
Title: Use the documented struct.calcsize to determine machine word size for better pypy support.

See #36 and https://github.com/inducer/compyte/pull/20
`__itemsize__` is an undocumented cpython specific api that is not possible to support in pypy.
This patch fix the problem by using the documented `struct.calcsize` function to achieve the same purpose.