From 57ebe459f396d927a0c0077f4e4202984c69c607 Mon Sep 17 00:00:00 2001 From: Arthur Hanson Rasmusson Date: Wed, 7 Oct 2026 15:25:31 -0400 Subject: 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. --- tools/cuda-ab/victory_mail.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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; -- cgit v1.2.3