the NumPy
development headers, right?
--
Francesc Alted
___
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel
2011/10/31 mark florisson :
> We can now pass a chunksize argument into prange:
> https://github.com/cython/cython/commit/5c3e77d3c70686fedd5619d7267728fc819b4c60
Cool. And very well documented too. Thank you!
--
Francesc Alted
___
cython
On the contrary, this is an excellent idea!
El 29/10/2011 15:14, "mark florisson" va
escriure:
> Before we do a release, would anyone be opposed to a 'chunksize'
> keyword argument to prange()? That may have significant performance
> impacts.
>
> On 29 October 2011 12:41, mark florisson
> wrote:
allel
implementation :)
Thanks a lot!
2011/8/3, mark florisson :
> On 3 August 2011 14:18, Francesc Alted wrote:
>> Hi,
>>
>> I'm trying to take advantage of the exciting new parallelizing
>> capabilities recently introduced in forthcoming 0.15 version, but I'm
ation :)
Thanks a lot Mark!
2011/8/3, mark florisson :
> On 3 August 2011 14:18, Francesc Alted wrote:
>> Hi,
>>
>> I'm trying to take advantage of the exciting new parallelizing
>> capabilities recently introduced in forthcoming 0.15 version, but I'm
&g
is preventing
to call the routing from the parallel loop. Is that a bug, a
limitation of current implementation or it is just that I'm missing
something?
Thanks,
--
Francesc Alted
mandel.pyx
Description: Binary data
___
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel
ed into the User's Guide.
In fact, I already started some job in this direction and created a couple
of pull requests during the workshop (that they have been already
integrated). I plan to continue this job, but unfortunately I'm pretty busy
lately, so I don't think I can
than you are
suggesting.
Not that I'm a big fan of Windows platforms, but we have to accept the
fact that its user base is simply huge.
--
Francesc Alted
___
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel
ds + possibly new Cython syntax is
a better venue. But I'd like to be proved that the problem for Win is
not that grave...
--
Francesc Alted
___
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel
use an integer variable as error flag, and use an atomic
> write in case of error.
Yeah. I use exactly this technique for tracking errors in threaded
code. It is a bit messy, but when done correctly, it works great.
--
Francesc Alted
___
cython-d
A Tuesday 08 March 2011 20:24:51 Sturla Molden escrigué:
> Den 08.03.2011 20:13, skrev Francesc Alted:
> > And another problem that should be taken in account is that MS
> > Visual Studio does not offer OpenMP in the Express edition (the
> > free, as in beer, one).
>
>
hon objects, no? Something like:
def worker():
cdef int item # tell that item is not a Python object!
for item in queue:
with nogil:
do_stuff(item)
queue.extend(work_items)
start_threads(worker, count)
--
Francesc Alted
__
having a good adoption of future Cython parallel
capabilities. In the case that we need dealing with a low-level C-API
thread library, I'd use pthreads, with a possible light wrapper for
using it from the Windows thread API on Windows machines.
--
Francesc Alted
___
13 matches
Mail list logo