Skip to content

Conversation

aelovikov-intel
Copy link
Contributor

No description provided.

template <typename Container>
std::enable_if_t<
check_type_in_v<Container, std::vector<sycl_type>,
std::queue<value_type *>, std::vector<value_type *>>,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

std::vector<value_type *> isn't used in this PR, but I have uses locally for my WIP patches related to device_impl raw ptrs/refs.

@aelovikov-intel aelovikov-intel marked this pull request as draft July 14, 2025 21:10
node_type node::get_type() const { return impl->MNodeType; }

std::vector<node> node::get_predecessors() const {
return detail::createNodesFromImpls(impl->MPredecessors);
return impl->predecessors().to<std::vector<node>>();
Copy link
Contributor

@reble reble Jul 15, 2025

Choose a reason for hiding this comment

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

nit: Looks like this code path hits a gap in our tests, that we should close.
We only check for the size of the returned container, but never for its content ...
can do as a follow up. Unrelated to this PR.

Copy link
Contributor

@reble reble left a comment

Choose a reason for hiding this comment

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

LGTM

@aelovikov-intel aelovikov-intel merged commit f81caa3 into intel:sycl Jul 15, 2025
39 of 40 checks passed
@aelovikov-intel aelovikov-intel deleted the nodes_range_to branch July 15, 2025 20:00
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.

3 participants