Skip to content
Merged
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/detail/device_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ class device_impl : public std::enable_shared_from_this<device_impl> {
// descriptor first when defining the cache data member). For "CallOnce"
// cache we want to be querying cached value so "false" is the right
// template parameter for such delegation.
constexpr bool DependentFalse = InitializingCache && false;
[[maybe_unused]] constexpr bool DependentFalse = InitializingCache && false;

if constexpr (decltype(MCache)::has<Param>() && !InitializingCache) {
return MCache.get<Param>();
Expand Down
Loading