Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sycl/source/accessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ SampledImageAccessorBaseHost::SampledImageAccessorBaseHost(
image_channel_order ChannelOrder, image_sampler Sampler,
const property_list &PropertyList) {
{
auto NoAllowedPropertiesCheck = [](int PropertyKind) { return false; };
auto NoAllowedPropertiesCheck = [](int) { return false; };
detail::PropertyValidator::checkPropsAndThrow(
PropertyList, NoAllowedPropertiesCheck, NoAllowedPropertiesCheck);
}
Expand Down
2 changes: 1 addition & 1 deletion sycl/source/detail/context_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ context_impl::getProgramForHostPipe(const device &Device,
}

void context_impl::verifyProps(const property_list &Props) const {
auto NoAllowedPropertiesCheck = [](int PropertyKind) { return false; };
auto NoAllowedPropertiesCheck = [](int) { return false; };
detail::PropertyValidator::checkPropsAndThrow(Props, NoAllowedPropertiesCheck,
NoAllowedPropertiesCheck);
}
Expand Down
2 changes: 1 addition & 1 deletion sycl/source/detail/sampler_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ sampler_impl::get_coordinate_normalization_mode() const {
}

void sampler_impl::verifyProps(const property_list &Props) const {
auto NoAllowedPropertiesCheck = [](int PropertyKind) { return false; };
auto NoAllowedPropertiesCheck = [](int) { return false; };
detail::PropertyValidator::checkPropsAndThrow(Props, NoAllowedPropertiesCheck,
NoAllowedPropertiesCheck);
}
Expand Down
2 changes: 1 addition & 1 deletion sycl/source/detail/stream_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ void stream_impl::generateFlushCommand(handler &cgh) {
}

void stream_impl::verifyProps(const property_list &Props) const {
auto NoAllowedPropertiesCheck = [](int PropertyKind) { return false; };
auto NoAllowedPropertiesCheck = [](int) { return false; };
detail::PropertyValidator::checkPropsAndThrow(Props, NoAllowedPropertiesCheck,
NoAllowedPropertiesCheck);
}
Expand Down
2 changes: 1 addition & 1 deletion sycl/source/detail/usm/usm_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ void release_from_device_copy(const void *Ptr, const queue &Queue) {
} // namespace ext::oneapi::experimental

__SYCL_EXPORT void verifyUSMAllocatorProperties(const property_list &PropList) {
auto NoAllowedPropertiesCheck = [](int PropertyKind) { return false; };
auto NoAllowedPropertiesCheck = [](int) { return false; };
detail::PropertyValidator::checkPropsAndThrow(
PropList, NoAllowedPropertiesCheck, NoAllowedPropertiesCheck);
}
Expand Down
Loading