Skip to content

Conversation

@borg323
Copy link
Member

@borg323 borg323 commented Oct 12, 2025

This is a subset of #2168. Also renames some OptionsDict methods.

This is a subset of PR2168. Also renames some OptionsDict methods.
@borg323 borg323 requested a review from Copilot October 12, 2025 18:07
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces InlineConfig as a type alias for OptionsDict and renames several methods in the OptionsDict class to improve naming consistency and clarity. The changes also update various backend components to use the new InlineConfig type and parse configuration strings using the new ParseInlineConfig function.

  • Renames OptionsDict methods for better clarity (e.g., ExistsHasKey, GetOrDefaultGetOrValue)
  • Introduces InlineConfig as a type alias for OptionsDict with a dedicated parsing function
  • Updates all backend implementations to use the new naming conventions and types

Reviewed Changes

Copilot reviewed 42 out of 42 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/utils/optionsdict.h Renames method declarations in OptionsDict class
src/utils/optionsdict.cc Updates to use ParseInlineConfig function
src/utils/inline_config.h Introduces InlineConfig type alias and parsing function
src/tools/*.cc Updates tool files to use renamed OptionsDict methods
src/search/classic/stoppers/*.h/.cc Updates time management components to use InlineConfig
src/neural/factory.* Updates network factory to use InlineConfig
src/neural/wrapper.* Updates wrapper to use InlineConfig
src/neural/backends/*.cc Updates all backend implementations to use InlineConfig and renamed methods
Comments suppressed due to low confidence (1)

src/neural/backends/sycl/network_sycl.cc.dp.cpp:1

  • [nitpick] The include order appears inconsistent. sycl_common.h is included after other headers but it's a local header that should typically be included with other local headers near the top.
/*

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

#include <list>
#include <memory>
#include <mutex>
#include <sycl/sycl.hpp>
Copy link

Copilot AI Oct 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate include of <sycl/sycl.hpp> on lines 23 and 31. The second include should be removed.

Suggested change
#include <sycl/sycl.hpp>

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants