From 927da8e8616cc7c7eaf48631de7f72d769588dd1 Mon Sep 17 00:00:00 2001 From: Evghenii Date: Mon, 18 Nov 2013 09:46:51 +0100 Subject: [PATCH] change register allocation, makes code much faster --- examples_cuda/options/options_cu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples_cuda/options/options_cu.cpp b/examples_cuda/options/options_cu.cpp index 7fd8a6ce..c9914ed0 100644 --- a/examples_cuda/options/options_cu.cpp +++ b/examples_cuda/options/options_cu.cpp @@ -104,7 +104,7 @@ int main(int argc, char *argv[]) { // Binomial options pricing model, ispc implementation // const bool print_log = false; - const int nreg = 64; + const int nreg = 128; double binomial_ispc = 1e30; #if 0 for (int i = 0; i < 3; ++i) {