From bb820c116764d7a1b8e071137d32b74e7f34dd2f Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Mon, 30 Aug 2010 11:05:15 -0800 Subject: integrating CL 7421-7434 from fermi-test this integrates the ptxplus functional model changes, but has only been verified with CUDA 3.1 PTX regressions (which pass) still need to verify ptxplus itself is working in this branch [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7435] --- src/debug.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/debug.cc') diff --git a/src/debug.cc b/src/debug.cc index ac0daec..1f5388b 100644 --- a/src/debug.cc +++ b/src/debug.cc @@ -123,7 +123,7 @@ void gpgpu_debug() } else if( !strcmp(tok,"q") || !strcmp(tok,"quit") ) { printf("\nreally quit GPGPU-Sim (y/n)?\n"); fgets(line,1024,stdin); - tok = strtok(NULL," \t\n"); + tok = strtok(line," \t\n"); if( !strcmp(tok,"y") ) { exit(0); } else { -- cgit v1.3