summaryrefslogtreecommitdiffstats
path: root/tools/cuda-ab
diff options
context:
space:
mode:
Diffstat (limited to 'tools/cuda-ab')
-rw-r--r--tools/cuda-ab/victory_mail.cu2
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;