Hi Jerome, Jerome Kieffer <[email protected]> writes: > I need to get both the maximum and the minimum of an array. Currently I > am using successively the two parallel reduction provided by pyopencl. > > As those operation are BW limited, I am wondering if it was possible to > calculate both at the same time. It looks possible to me but ... I > googled and found nothing. > > Maybe there is a good reason for not existing ... do you know that reason ?
Check here: https://github.com/inducer/pyopencl/blob/master/test/test_algorithm.py#L371 :) Andreas _______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
