Skip to content

Move tsl/platform/* interface headers to xla/tsl/platform/*.#3551

Open
copybara-service[bot] wants to merge 1 commit intomainfrom
test_910851800
Open

Move tsl/platform/* interface headers to xla/tsl/platform/*.#3551
copybara-service[bot] wants to merge 1 commit intomainfrom
test_910851800

Conversation

@copybara-service
Copy link
Copy Markdown

Move tsl/platform/* interface headers to xla/tsl/platform/*.

This is to fix a layering issue without introducing circular dependencies
when using bzlmod. The implementations in xla/tsl/platform/default
need direct access to the interface headers from the same repository
(i.e. not from TSL exports_files) in order to propagate the correct
CcInfo for determining proper include paths. Adding a direct dep
back into tsl/platform would introduce a circular dependency.

This is to fix a layering issue without introducing circular dependencies
when using bzlmod.  The implementations in xla/tsl/platform/default
need direct access to the interface headers from the same repository
(i.e. not from TSL `exports_files`) in order to propagate the correct
`CcInfo` for determining proper include paths.  Adding a direct dep
back into `tsl/platform` would introduce a circular dependency.

PiperOrigin-RevId: 910851800
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.

1 participant