Added test implementation of parallel-vectorize (incomplete).

Various fix.
This commit is contained in:
Siu Kwan Lam 2012-08-05 21:35:02 -07:00
commit 891daa1164
5 changed files with 555 additions and 52 deletions

View file

@ -31,7 +31,7 @@ MAP_CTYPES = {
class CExecutor(object):
def __init__(self, mod_or_engine):
if isinstance(mod_or_engine, Module):
self.engine = le.EngineBuilder.new(mod_or_engine).create()
self.engine = le.EngineBuilder.new(mod_or_engine).opt(3).create()
else:
self.engine = mod_or_engine