Skip to content

Commit

Permalink
FIX: Add missing **targetoptions to jit in GUFuncBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
oyamad committed Apr 18, 2023
1 parent 320a9f5 commit 2e438bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion numba/np/ufunc/ufuncbuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,9 @@ def __init__(self, py_func, signature, identity=None, cache=False,
targetoptions={}, writable_args=()):
self.py_func = py_func
self.identity = parse_identity(identity)
self.nb_func = jit(_target='npyufunc', cache=cache)(py_func)
self.nb_func = jit(_target='npyufunc',
cache=cache,
**targetoptions)(py_func)
self.signature = signature
self.sin, self.sout = parse_signature(signature)
self.targetoptions = targetoptions
Expand Down

0 comments on commit 2e438bd

Please sign in to comment.