Skip to content

Commit

Permalink
Fixed a typo in the docstring of register_custom_call_target
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 608977758
  • Loading branch information
superbobry authored and tensorflower-gardener committed Feb 21, 2024
1 parent b18244e commit f6de3f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion third_party/xla/xla/python/xla_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ def register_custom_call_target(
fn: a PyCapsule object containing the function pointer.
platform: the target platform.
api_version: the XLA FFI version to use. Supported versions are: 0 for the
untyped FFI and 0 for the typed FFI.
untyped FFI and 1 for the typed FFI.
"""
# To support AMD GPUs, we need to have xla_platform_names["gpu"] == "ROCM"
# Since that is hardcoded to CUDA, we are using the following as workaround.
Expand Down

0 comments on commit f6de3f8

Please sign in to comment.