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

Conversation

copybara-service[bot]
Copy link

[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

@copybara-service copybara-service bot force-pushed the exported_pr_632841384 branch 2 times, most recently from b01a610 to 27b30ae Compare May 13, 2024 15:50
…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
@copybara-service copybara-service bot closed this May 13, 2024
@copybara-service copybara-service bot deleted the exported_pr_632841384 branch May 13, 2024 16:57
@copybara-service copybara-service bot merged commit ad6690b into master May 13, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant