Add atomic ops
This commit is contained in:
parent
7238fecc7f
commit
8381b25f66
7 changed files with 362 additions and 9 deletions
|
|
@ -31,7 +31,7 @@ MAP_CTYPES = {
|
|||
class CExecutor(object):
|
||||
def __init__(self, mod_or_engine):
|
||||
if isinstance(mod_or_engine, Module):
|
||||
self.engine = le.ExecutionEngine.new(mod_or_engine)
|
||||
self.engine = le.EngineBuilder.new(mod_or_engine).create()
|
||||
else:
|
||||
self.engine = mod_or_engine
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue