@@ -1058,12 +1058,9 @@ build_from_source(kernel_bundle<bundle_state::ext_oneapi_source> &SourceKB,
1058
1058
// ///////////////////////
1059
1059
// syclex::create_kernel_bundle_from_source
1060
1060
// ///////////////////////
1061
- template <
1062
- typename PropertyListT = empty_properties_t ,
1063
- typename = std::enable_if_t <
1064
- is_property_list_v<PropertyListT> &&
1065
- detail::all_props_are_keys_of<detail::create_bundle_from_source_props,
1066
- PropertyListT>::value>>
1061
+ template <typename PropertyListT = empty_properties_t ,
1062
+ typename = std::enable_if_t <detail::all_are_properties_of_v<
1063
+ detail::create_bundle_from_source_props, PropertyListT>>>
1067
1064
kernel_bundle<bundle_state::ext_oneapi_source> create_kernel_bundle_from_source (
1068
1065
const context &SyclContext, source_language Language,
1069
1066
const std::string &Source, PropertyListT props = {}) {
@@ -1077,12 +1074,9 @@ kernel_bundle<bundle_state::ext_oneapi_source> create_kernel_bundle_from_source(
1077
1074
}
1078
1075
1079
1076
#if (!defined(_HAS_STD_BYTE) || _HAS_STD_BYTE != 0)
1080
- template <
1081
- typename PropertyListT = empty_properties_t ,
1082
- typename = std::enable_if_t <
1083
- is_property_list_v<PropertyListT> &&
1084
- detail::all_props_are_keys_of<detail::create_bundle_from_source_props,
1085
- PropertyListT>::value>>
1077
+ template <typename PropertyListT = empty_properties_t ,
1078
+ typename = std::enable_if_t <detail::all_are_properties_of_v<
1079
+ detail::create_bundle_from_source_props, PropertyListT>>>
1086
1080
kernel_bundle<bundle_state::ext_oneapi_source> create_kernel_bundle_from_source (
1087
1081
const context &SyclContext, source_language Language,
1088
1082
const std::vector<std::byte> &Bytes, PropertyListT props = {}) {
@@ -1101,10 +1095,8 @@ kernel_bundle<bundle_state::ext_oneapi_source> create_kernel_bundle_from_source(
1101
1095
// ///////////////////////
1102
1096
1103
1097
template <typename PropertyListT = empty_properties_t ,
1104
- typename = std::enable_if_t <
1105
- is_property_list_v<PropertyListT> &&
1106
- detail::all_props_are_keys_of<detail::build_source_bundle_props,
1107
- PropertyListT>::value>>
1098
+ typename = std::enable_if_t <detail::all_are_properties_of_v<
1099
+ detail::build_source_bundle_props, PropertyListT>>>
1108
1100
1109
1101
kernel_bundle<bundle_state::executable>
1110
1102
build (kernel_bundle<bundle_state::ext_oneapi_source> &SourceKB,
@@ -1127,10 +1119,8 @@ build(kernel_bundle<bundle_state::ext_oneapi_source> &SourceKB,
1127
1119
}
1128
1120
1129
1121
template <typename PropertyListT = empty_properties_t ,
1130
- typename = std::enable_if_t <
1131
- is_property_list_v<PropertyListT> &&
1132
- detail::all_props_are_keys_of<detail::build_source_bundle_props,
1133
- PropertyListT>::value>>
1122
+ typename = std::enable_if_t <detail::all_are_properties_of_v<
1123
+ detail::build_source_bundle_props, PropertyListT>>>
1134
1124
kernel_bundle<bundle_state::executable>
1135
1125
build (kernel_bundle<bundle_state::ext_oneapi_source> &SourceKB,
1136
1126
PropertyListT props = {}) {
0 commit comments