Skip to content

Commit 8934f59

Browse files
author
Caspar van Leeuwen
committed
Add special behavior for accelerators
1 parent 76a0504 commit 8934f59

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/bot.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,11 @@ The bot applies the filters with partial matching, but _not_ for the `for:` argu
144144
The reason is that for the `on:` argument, the bot can compare against the configured node types to find a match
145145
(while for the `for:` argument, there is no such reference to match against).
146146

147+
#### Accelerator filter matching
148+
If the bot config declares that a node type has a certain accelerator, that node type will _only_ be allocated
149+
if a corresponding `accel=<on_accel>` argument is passed. This is to avoid that `on:arch=x86_64/amd/zen4` would
150+
cause builds to be triggered on a `zen4`+GPU node, while the same system also has a CPU-only `zen4` node type.
151+
147152
### Behind-the-scenes
148153

149154
#### Processing build instructions

0 commit comments

Comments
 (0)