Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[xla:ffi] Unify external and internal user data registration and use i64 type ids #67401

Merged
merged 1 commit into from
May 13, 2024

Commits on May 13, 2024

  1. [xla:ffi] Unify external and internal user data registration and use …

    …i64 type ids
    
    - treat external and internal user data uniformly as an opaque pointer + optional deleter
    - use the same i64 TypeId for internal and external types to avoid expensive string comparison on a hot path
    
    PiperOrigin-RevId: 633234788
    ezhulenev authored and tensorflower-gardener committed May 13, 2024
    Configuration menu
    Copy the full SHA
    ad6690b View commit details
    Browse the repository at this point in the history