示例#1
0
def build_ufunc_wrapper(library, ctx, fname, signature, cres):
    innerfunc = ufuncbuilder.build_ufunc_wrapper(library, ctx, fname,
                                                 signature, objmode=False,
                                                 cres=cres)
    info = build_gufunc_kernel(library, ctx, innerfunc, signature,
                               len(signature.args))
    return info
示例#2
0
文件: parallel.py 项目: zxsted/numba
def build_ufunc_wrapper(library, ctx, lfunc, signature):
    innerfunc = ufuncbuilder.build_ufunc_wrapper(library, ctx, lfunc, signature,
                                                 objmode=False, env=None,
                                                 envptr=None)
    lfunc = build_ufunc_kernel(library, ctx, innerfunc, signature)
    library.add_ir_module(lfunc.module)
    return lfunc
示例#3
0
def build_ufunc_wrapper(library, ctx, fname, signature, cres):
    innerfunc = ufuncbuilder.build_ufunc_wrapper(library,
                                                 ctx,
                                                 fname,
                                                 signature,
                                                 objmode=False,
                                                 cres=cres)
    return build_ufunc_kernel(library, ctx, innerfunc, signature)
示例#4
0
def build_ufunc_wrapper(library, ctx, fname, signature):
    innerfunc = ufuncbuilder.build_ufunc_wrapper(library,
                                                 ctx,
                                                 fname,
                                                 signature,
                                                 objmode=False,
                                                 env=None,
                                                 envptr=None)
    return build_ufunc_kernel(library, ctx, innerfunc, signature)
示例#5
0
文件: parallel.py 项目: cpcloud/numba
def build_ufunc_wrapper(library, ctx, fname, signature, cres):
    innerfunc = ufuncbuilder.build_ufunc_wrapper(library, ctx, fname,
                                                 signature, objmode=False,
                                                 cres=cres)
    return build_ufunc_kernel(library, ctx, innerfunc, signature)
示例#6
0
def build_ufunc_wrapper(library, ctx, fname, signature):
    innerfunc = ufuncbuilder.build_ufunc_wrapper(library, ctx, fname, signature,
                                                 objmode=False, env=None,
                                                 envptr=None)
    return build_ufunc_kernel(library, ctx, innerfunc, signature)