From 780e9f31feef940503b60f055ca9b25c8d1c0e22 Mon Sep 17 00:00:00 2001 From: Evghenii Date: Wed, 13 Nov 2013 16:23:05 +0100 Subject: [PATCH] some tuning --- examples_cuda/rt/Makefile | 2 +- examples_cuda/rt/rt_cu.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples_cuda/rt/Makefile b/examples_cuda/rt/Makefile index b36fa0f2..4521f68c 100644 --- a/examples_cuda/rt/Makefile +++ b/examples_cuda/rt/Makefile @@ -1,7 +1,7 @@ EXAMPLE=rt CPP_SRC=rt.cpp rt_serial.cpp -ISPC_SRC=rt.ispc +ISPC_SRC=rt1.ispc ISPC_IA_TARGETS=avx include ../common.mk diff --git a/examples_cuda/rt/rt_cu.cpp b/examples_cuda/rt/rt_cu.cpp index 09db9d62..42b52fc0 100644 --- a/examples_cuda/rt/rt_cu.cpp +++ b/examples_cuda/rt/rt_cu.cpp @@ -153,7 +153,7 @@ CUmodule loadModule(const char * module) optionVals[5] = (void*) 1; // Max # of registers/pthread options[6] = CU_JIT_MAX_REGISTERS; - int jitRegCount = 48; + int jitRegCount = 32; optionVals[6] = (void *)(size_t)jitRegCount; // Create a pending linker invocation