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

Cuda: Remove unused attach_texture_object #6129

Merged

Conversation

masterleinad
Copy link
Contributor

@masterleinad masterleinad commented May 11, 2023

attach_texture_object isn't used anymore since #5623. Also, see https://github.com/kokkos/kokkos/pull/5989/files#r1191202517.
Technically, some of the functions are public but I don't think it's necessary to deprecate them first.

@masterleinad masterleinad marked this pull request as ready for review May 12, 2023 03:11
Copy link
Member

@Rombur Rombur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I can tell no external code is using these functions.

Copy link
Member

@dalg24 dalg24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Impl::SharedAllocationRecord<CudaSpace, void>::attach_texture_object[_offset] are public member functions but SharedAllocationRecord belongs to implementation details.
So these functions are not part of Kokkos API and we can change them at will. That said, thanks Bruno for double checking for usage.

Copy link
Contributor

@tcclevenger tcclevenger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @masterleinad

@dalg24
Copy link
Member

dalg24 commented May 12, 2023

Ignoring HIP builds that timed out

@dalg24 dalg24 merged commit 3f602b6 into kokkos:develop May 12, 2023
27 of 28 checks passed
@masterleinad masterleinad mentioned this pull request May 25, 2023
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

4 participants