Example #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
Example #2
0
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
Example #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)
Example #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)
Example #5
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)
Example #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)