[Numpy-discussion] Fast threading solution thoughts

Sturla Molden sturla at molden.no
Thu Feb 12 18:38:03 EST 2009


> Sturla Molden wrote:

> IMO there's a problem with using literal variable names here, because
> Python syntax implies that the value is passed. One shouldn't make
> syntax where private=(i,) is legal but private=(f(),) isn't.

The latter would be illegal in OpenMP as well. OpenMP pragmas only take
variable names, not function calls.

S.M.







More information about the NumPy-Discussion mailing list