[pypy-commit] pypy vecopt: activated vectorize for 2 jit drivers (micronumpy)
plan_rich
noreply at buildbot.pypy.org
Tue May 5 09:46:43 CEST 2015
Author: Richard Plangger <rich at pasra.at>
Branch: vecopt
Changeset: r77139:2cea32346502
Date: 2015-05-05 09:32 +0200
http://bitbucket.org/pypy/pypy/changeset/2cea32346502/
Log: activated vectorize for 2 jit drivers (micronumpy)
diff --git a/pypy/module/micronumpy/loop.py b/pypy/module/micronumpy/loop.py
--- a/pypy/module/micronumpy/loop.py
+++ b/pypy/module/micronumpy/loop.py
@@ -16,7 +16,7 @@
call2_driver = jit.JitDriver(
name='numpy_call2',
greens=['shapelen', 'func', 'calc_dtype', 'res_dtype'],
- reds='auto')
+ reds='auto', vectorize=True)
def call2(space, shape, func, calc_dtype, res_dtype, w_lhs, w_rhs, out):
# handle array_priority
@@ -81,7 +81,7 @@
call1_driver = jit.JitDriver(
name='numpy_call1',
greens=['shapelen', 'func', 'calc_dtype', 'res_dtype'],
- reds='auto')
+ reds='auto', vectorize=True)
def call1(space, shape, func, calc_dtype, res_dtype, w_obj, out):
obj_iter, obj_state = w_obj.create_iter(shape)
More information about the pypy-commit
mailing list