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

Implement extra resources for test actions #13996

Closed
wants to merge 1 commit into from

Commits on Sep 22, 2021

  1. Implement extra resources for test actions

    Add support for user-specified resource types in the resource manager.
    This generalizes the CPU, RAM and "test count" resource support for
    other resource types such as the number of GPUs, available GPU memory,
    the number of embedded devices connected to the host, etc.
    
    The available amount of extra resources can be specified using the new
    --local_extra_resources=<resourcename>=<amount> command line flag, which
    is analoguous to the existing --local_cpu_resources and
    --local_memory_resources flags.
    
    Tests can then declare the amount of extra resources they need by using
    a "resources:<resourcename>:<amount>" tag.
    scele committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    195fcd2 View commit details
    Browse the repository at this point in the history