This repository was archived by the owner on Apr 28, 2023. It is now read-only.
Commit 2a1caa1
committed
do not promote to registers before promoting to shared in tests
MapperMemoryPromotionRAW and Sum4D tests call the mapping strategy with
promotion to private enabled, which may insert copies to private, and
promotion to shared disabled. They then call promotion to shared
separately through a dedicated call to avoid using the main heuristic
dependent on the shared memory size available on the current device.
Therefore, promotion to shared happens after promotion to private, and
neither expects that. In particular, mapCopiesToThreads is a part of
the promotion to shared and expects to be called before the promotion to
private happens. Do not request promotion to private in the tests that
do not check for it.1 parent dfed608 commit 2a1caa1
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
0 commit comments