Skip to content

PR 322 should have updated the assign_tasks_per_compute_unit docstring #330

Closed

Description

@casparvl

This PR changed how the assign_tasks_per_compute_unit hook is now called.

  • It assumes that rfm.RegressionTest.compute_unit and rfm.RegressionTest.used_cpus_per_task are set, rather than passing compute_unit and num_per as arguments. However, it does not check for that, nor mention this requirement in the docstring.
  • The docstring for that hook is now wrong in general, as it still mentions the presense of the argumetns
  • The function signature was changed, but not all instances where this function is called where adapted: it's called in the MetalWalls test, which has been broken since this PR.

Activity

  1. casparvl commented on May 5, 2026

    @casparvl
    CollaboratorAuthor

    Wait, I think I was working on an outdated main. The MetalWalls test seems to have been adapted in #328

  2. changed the title [-]PR 322 broke MetalWalls and should have updated the `assign_tasks_per_compute_unit` docstring[/-] [+]PR 322 should have updated the `assign_tasks_per_compute_unit` docstring[/+] on May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions