Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a generic mechanism to specify compute accelerators to use in the configuration #36699

Merged
merged 9 commits into from Feb 23, 2022

Commits on Feb 16, 2022

  1. Add process.options.accelerators option, and ProcessAccelerator confi…

    …guration customization concept
    
    ProcessAccelerator objects
    - specify the valid values of process.options.accelerators parameter
    - tell if the accelerator is available in the system (or which accelerators are)
    - allow customizing the process based on the availability of the accelerators
    makortel committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    7a1bbcf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d800249 View commit details
    Browse the repository at this point in the history
  3. Throw a specific, UnavailableAccelerator, exception if requested acce…

    …lerator is not available
    makortel committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    010f6a3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    417bdca View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6ccf361 View commit details
    Browse the repository at this point in the history
  6. Change semantics to set of allowed accelerators, add implicit 'cpu' a…

    …ccelerator, and support for wildcards
    makortel committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    023bf0e View commit details
    Browse the repository at this point in the history
  7. Add a new Accelerators_cff to collect all 'standard' ProcessAccelerators

    Thanks to Andrea Bocci for the suggestion.
    makortel committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    fc821ee View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2022

  1. Use specific vstring to pass selected accelerators instead of overwri…

    …ting options.accelerators
    
    Also add unit tests for two ProcessAccelerator objects in the Process
    makortel committed Feb 21, 2022
    Configuration menu
    Copy the full SHA
    5caf7b8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e0d39f3 View commit details
    Browse the repository at this point in the history