Skip to content

Commit

Permalink
use register_custom_call_target in stead of register_cpu_custom_call_…
Browse files Browse the repository at this point in the history
…target
  • Loading branch information
flaport committed Sep 19, 2023
1 parent ee67207 commit 1d5cf72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion klujax.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def xla_register_cpu(primitive, cpp_fun):
name = primitive.name.encode()

def decorator(fun):
xla_client.register_cpu_custom_call_target(
xla_client.register_custom_call_target(
name,
cpp_fun(),
)
Expand Down

0 comments on commit 1d5cf72

Please sign in to comment.