Commit ea82489
committed
Disable generation of coherent CDI specs by default
This change disables the functionality for splitting
generated CDI specifications based on device coherence by default.
This was added in NVIDIA#1247, but due to discussions around whether
coherence is an property that should be exposed, we are disabling
this by default.
Note that users can opt in to the feature by running the
`nvidia-ctk cdi generate` with the `--feature-flag=enable-coherent-annotations`
command line flag. Alternatively the `nvidia-ctk cdi generate` command can
be run with the `NVIDIA_CTK_CDI_GENERATE_FEATURE_FLAGS` enviroment set to
include "enable-coherent-annotations" (in a comma-separated list).
Signed-off-by: Evan Lezar <[email protected]>1 parent e131f8e commit ea82489
File tree
4 files changed
+4
-6
lines changed- cmd/nvidia-ctk/cdi/generate
- pkg/nvcdi
4 files changed
+4
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
478 | 477 | | |
479 | 478 | | |
480 | 479 | | |
481 | | - | |
482 | 480 | | |
483 | 481 | | |
484 | 482 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments