Skip to content

Commit

Permalink
Clarify ProcessAccelerator documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
makortel committed Feb 9, 2023
1 parent 320cc94 commit 19c2eaa
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 19c2eaa

Please sign in to comment.