summaryrefslogtreecommitdiff
path: root/src/cuda-sim
diff options
context:
space:
mode:
authorTim Rogers <[email protected]>2011-10-27 16:43:45 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:18:24 -0700
commite11f8a1d3deb7dcb1b5dbef06dcc994436ff98c1 (patch)
treeb76908e05c82339ad74a5971b1f60f5462a69ada /src/cuda-sim
parentb4dcac15e64b9007930824409ca3ed901da37ef3 (diff)
Warning refix
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 10755]
Diffstat (limited to 'src/cuda-sim')
-rw-r--r--src/cuda-sim/ptx_loader.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cuda-sim/ptx_loader.cc b/src/cuda-sim/ptx_loader.cc
index b78a170..61a357e 100644
--- a/src/cuda-sim/ptx_loader.cc
+++ b/src/cuda-sim/ptx_loader.cc
@@ -45,7 +45,7 @@ bool g_override_embedded_ptx = false;
extern "C" int ptx_parse();
extern "C" int ptx__scan_string(const char*);
-extern "C" const char *g_ptxinfo_filename;
+const char *g_ptxinfo_filename = NULL;
extern "C" int ptxinfo_parse();
extern "C" int ptxinfo_debug;
extern "C" FILE *ptxinfo_in;