Repository navigation
[STF] Locality-domain tests: single-domain devices have nothing to split #11994
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
cb2898c
3d72e6d
8dd4346
9905a71
0cb1ede
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -195,11 +195,12 @@ offset the locality benefit the partitioning was meant to capture. Prefer | |
| whole-device coverage. | ||
|
|
||
| The split method only affects the execution side: data places take no | ||
| method, and places built with different methods for the same | ||
| ``(device, domain)`` are distinct places sharing the same (equal) affine | ||
| data place. Backends without native locality-domain support (pre-13.4 | ||
| toolkits, the whole-device degrade, the fake-topology override) accept and | ||
| ignore the method. | ||
| method, and on a device with several domains, places built with different | ||
| methods for the same ``(device, domain)`` are distinct places sharing the | ||
| same (equal) affine data place. Single-domain devices and backends without | ||
| native locality-domain support (pre-13.4 toolkits, the whole-device degrade, | ||
| the fake-topology override) accept and ignore the method: the domain is the | ||
| device. | ||
|
Comment on lines
+202
to
+203
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win suggestion: Limit “the domain is the device” to whole-device cases. With Source: Path instructions |
||
|
|
||
| All three methods rest on the CUDA 13.4 driver surface that locality-domain | ||
| places already require (splitting by locality domain with | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
suggestion: Test the parsed fake-topology state in both files.
locality_domain_fake_count()disables the override for0and non-numeric values. Environment-variable presence therefore does not establish that fake topology is active.cudax/test/stf/places/locality_domain_alloc.cu#L80-L80: use the parsed count so a native multi-domain allocation is not incorrectly expected to report-1.cudax/test/stf/places/locality_domain_split_method.cu#L94-L94: use the parsed count so native partition checks are not incorrectly waived.📍 Affects 2 files
cudax/test/stf/places/locality_domain_alloc.cu#L80-L80(this comment)cudax/test/stf/places/locality_domain_split_method.cu#L94-L94