

def __call__(self, *args, **kws):
    callsteps = self._call_steps(args, kws)
    callsteps.prepare_inputs()
    (indtypes, schedule, outdtype, kernel) = self._schedule(callsteps.norm_inputs, callsteps.output)
    callsteps.adjust_input_types(indtypes)
    callsteps.allocate_outputs(schedule, outdtype)
    callsteps.prepare_kernel_parameters()
    (newparams, newretval) = self._broadcast(schedule, callsteps.kernel_parameters, callsteps.kernel_returnvalue)
    callsteps.launch_kernel(kernel, schedule.loopn, (newparams + [newretval]))
    return callsteps.post_process_result()

dataset/ETHPy150Open numba/numba/numba/npyufunc/deviceufunc.py GenerializedUFunc.__call__/original