File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -239,10 +239,12 @@ AllowListParsedT parseAllowList(const std::string &AllowListRaw) {
239
239
// Checking if we can allow device with device description DeviceDesc
240
240
bool deviceIsAllowed (const DeviceDescT &DeviceDesc,
241
241
const AllowListParsedT &AllowListParsed) {
242
- for (const auto &SupportedKeyName : SupportedAllowListKeyNames)
242
+ for (const auto &SupportedKeyName : SupportedAllowListKeyNames) {
243
+ (void )SupportedKeyName;
243
244
assert ((DeviceDesc.find (SupportedKeyName) != DeviceDesc.end ()) &&
244
245
" DeviceDesc map should have all supported keys for "
245
246
" SYCL_DEVICE_ALLOWLIST." );
247
+ }
246
248
auto EqualityComp = [&](const std::string &KeyName,
247
249
const DeviceDescT &AllowListDeviceDesc) {
248
250
// change to map::contains after switching DPC++ RT to C++20
You can’t perform that action at this time.
0 commit comments