diff options
| author | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-10-07 15:25:31 -0400 |
|---|---|---|
| committer | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-10-07 15:25:31 -0400 |
| commit | 406c9ff19d7b3470e938e0ddfee565a709453053 (patch) | |
| tree | 62fdc98396374df302022f137c7fd491e4f4dd60 /tools/cuda-ab | |
| parent | 64020f17858deabfed229249378ba5104eaf0e7a (diff) | |
| download | open-iov-406c9ff19d7b3470e938e0ddfee565a709453053.tar.gz open-iov-406c9ff19d7b3470e938e0ddfee565a709453053.zip | |
vgsp: m110 - relocate data into the engine-walkable main-PT window; shrink the demo
All UPDATE_PDE_2 installs (post- or pre-commit) are invisible to the SM
walker; the only window it honours is the commit-time main small-PT page
(VA 0x100000+, the proven win0/const window). Relocate each candidate data
pointer's first 64 pages into slots 0x110..0x1f0 of that window (fresh PTE
lines, direct leaf writes), rewrite bank pointers per page record, and put
the mail page at the reserved slot 0x1f0 (c[0x4][0x0]=0x1f0000). Shrink
victory_mail's buffers (n=1<<15, 128 KB each) to fit the 2 MB window.
Diffstat (limited to 'tools/cuda-ab')
| -rw-r--r-- | tools/cuda-ab/victory_mail.cu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cuda-ab/victory_mail.cu b/tools/cuda-ab/victory_mail.cu index 296f7e6..e8136c3 100644 --- a/tools/cuda-ab/victory_mail.cu +++ b/tools/cuda-ab/victory_mail.cu @@ -115,7 +115,7 @@ int main(void) { cudaDeviceProp prop; const int len = (int)strlen(MAIL); - const int n = 1 << 20; + const int n = 1 << 15; /* sized for the native GR path: the engine-visible data window is 2 MB */ size_t bytes = (size_t)n * sizeof(float); char *d_mail, h_mail[128]; float *h_a, *h_b, *h_c; |
