Skip to content

Commit 51b1a69

Browse files
committed
fix annotated_usm
1 parent c2f1690 commit 51b1a69

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

sycl/include/sycl/ext/oneapi/experimental/annotated_usm/alloc_util.hpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@ using HasUsmKind = HasProperty<usm_kind_key, PropertyListT>;
4545
template <typename PropertyListT>
4646
using HasBufferLocation = HasProperty<buffer_location_key, PropertyListT>;
4747

48+
template <typename PropKey, typename ConstType, typename DefaultPropVal,
49+
typename... Props>
50+
struct GetPropertyValueFromPropList<PropKey, ConstType, DefaultPropVal,
51+
detail::properties_t<Props...>>
52+
: GetPropertyValueFromPropList<PropKey, ConstType, DefaultPropVal,
53+
std::tuple<Props...>> {};
54+
4855
// Get the value of alignment from a property list
4956
// If alignment is not present in the property list, set to default value 0
5057
template <typename PropertyListT>

0 commit comments

Comments
 (0)