Skip to content

Commit

Permalink
Merge pull request #40738 from makortel/processAcceleratorDoc
Browse files Browse the repository at this point in the history
Clarify ProcessAccelerator documentation
  • Loading branch information
cmsbuild authored Feb 11, 2023
2 parents 69a0aee + 19c2eaa commit fc1d901
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions FWCore/ParameterSet/python/Config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1983,6 +1983,11 @@ class ProcessAccelerator(_ConfigureComponent,_Unlabelable):
it would be good to have specific unit test for each deriving
class to ensure that all combinations of the enabled accelerators
give the same configuration hash.
The deriving class must do its checks for hardware availability
only in enabledLabels(), and possibly in apply() if any further
fine-tuning is needed, because those two are the only functions
that are guaranteed to be called at the worker node.
"""
def __init__(self):
pass
Expand Down

0 comments on commit fc1d901

Please sign in to comment.