Skip to content

Conversation

@aelovikov-intel
Copy link
Contributor

@aelovikov-intel aelovikov-intel commented Nov 19, 2024

  • Modify detail::ConflictingProperties to accept properties list instead of std::tuple with individual property values
  • Remove some "useless" helpers
  • Change detail::ValueOrDefault type-trait to detail::get_property_or as it seems a better interface (and can, in theory, work with runtime properties too)

return std::array<size_t, sizeof...(Dims) + 1>{Dim0, Dims...}[Dim];
}

constexpr size_t size() const { return sizeof...(Dims) + 1; }
Copy link
Contributor

Choose a reason for hiding this comment

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

This is public, but is not part of the extension. If we want to expose it, we need to add it to the extension too.

return std::array<size_t, sizeof...(Dims) + 1>{Dim0, Dims...}[Dim];
}

constexpr size_t size() const { return sizeof...(Dims) + 1; }
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as the previous comment.

@aelovikov-intel aelovikov-intel merged commit 42e63c1 into intel:sycl Nov 20, 2024
12 checks passed
@aelovikov-intel aelovikov-intel deleted the properties-more-refactoring branch November 20, 2024 18:41
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.

2 participants