diff options
| author | Joshua Bakita <jbakita@cs.unc.edu> | 2024-02-14 15:36:25 -0500 |
|---|---|---|
| committer | Joshua Bakita <jbakita@cs.unc.edu> | 2024-02-14 15:36:25 -0500 |
| commit | b5281f5fc01fc925898c9323edab41b817df8661 (patch) | |
| tree | 6a14c270c7a3bb061bd167d87430d3dd9f3696ec /libsmctrl_test_mask_shared.h | |
| parent | 973b919cfe6d05fdb3b82f538b1afbc3233a7008 (diff) | |
Add test that higher-granularity masks override lower-granularity ones
Stream-level masks should always override globally-set masks.
Next-kernel masks should always override both stream-level masks
and globally-set masks.
Tests reveal an issue with the next-kernel mask not overriding the
stream mask on CUDA 11.0+. CUDA appears to apply the per-stream
mask to the QMD/TMD after `launchCallback()` is triggered, making
it impossible to override as currently implemented.
Diffstat (limited to 'libsmctrl_test_mask_shared.h')
| -rw-r--r-- | libsmctrl_test_mask_shared.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libsmctrl_test_mask_shared.h b/libsmctrl_test_mask_shared.h index f95757d..5a115b7 100644 --- a/libsmctrl_test_mask_shared.h +++ b/libsmctrl_test_mask_shared.h | |||
| @@ -6,7 +6,9 @@ extern "C" { | |||
| 6 | enum partitioning_type { | 6 | enum partitioning_type { |
| 7 | PARTITION_GLOBAL, | 7 | PARTITION_GLOBAL, |
| 8 | PARTITION_STREAM, | 8 | PARTITION_STREAM, |
| 9 | PARTITION_STREAM_OVERRIDE, | ||
| 9 | PARTITION_NEXT, | 10 | PARTITION_NEXT, |
| 11 | PARTITION_NEXT_OVERRIDE, | ||
| 10 | }; | 12 | }; |
| 11 | 13 | ||
| 12 | extern int test_constrained_size_and_location(enum partitioning_type part_type); | 14 | extern int test_constrained_size_and_location(enum partitioning_type part_type); |
