Skip to content

Commit

Permalink
Add clarifying comment to hopefully prevent accidental revert of the …
Browse files Browse the repository at this point in the history
…patch
  • Loading branch information
AlexeySachkov committed Sep 24, 2024
1 parent 9ad21e1 commit 2cf3a3b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sycl/include/sycl/handler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1046,6 +1046,11 @@ class __SYCL_EXPORT handler {
/// Process kernel properties.
///
/// Stores information about kernel properties into the handler.
///
/// Note: it is important that this function *does not* depend on kernel
/// name or kernel type, because then it will be instantiated for every
/// kernel, even though body of those instantiated functions could be almost
/// the same, thus unnecessary increasing compilation time.
template <
bool IsESIMDKernel,
typename PropertiesT = ext::oneapi::experimental::empty_properties_t>
Expand Down

0 comments on commit 2cf3a3b

Please sign in to comment.