diff --git a/doc/types.rst b/doc/types.rst index ccc96fdd355737bc90e6ec1112b876ba30f1e7cb..bc571394ccaec78ecf88d3657b60aeda9175e4f5 100644 --- a/doc/types.rst +++ b/doc/types.rst @@ -21,6 +21,11 @@ see that a cl_long is 64 bit unsigned integer. Use the module as follows: >>> cl_long = cl.cltypes.long(1235) # maps to numpy.int64 >>> floats = np.empty((128,), dtype=cl.cltypes.float) # array of numpy.float32 +.. note:: + + The OpenCL type ``bool`` does not have a correpsonding :mod:`numpy` type defined here, + because OpenCL does not specify the in-memory representation (or even the storage + size) for this type. Vector Types ------------