Commit bf6d3c0
authored
Make page size portable by querying it at runtime (#677)
So far the parameter page size in KvikIO has been a compile-time constant (4K). On GH200, however, the page size is 64K. This PR makes it portable by querying its value at runtime.
Authors:
- Tianyu Liu (https://github.com/kingcrimsontianyu)
Approvers:
- https://github.com/jakirkham
- Lawrence Mitchell (https://github.com/wence-)
- Mads R. B. Kristensen (https://github.com/madsbk)
URL: #6771 parent 6f14844 commit bf6d3c0
File tree
3 files changed
+9
-3
lines changed- cpp
- include/kvikio
- src
3 files changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
31 | 38 | | |
32 | 39 | | |
33 | 40 | | |
| |||
0 commit comments