summaryrefslogtreecommitdiff
path: root/src/cuda-sim
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2012-05-31 23:23:58 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:47:32 -0700
commit7edfd64a2b39222d7424d2b6c0f14a68fe1903ed (patch)
tree7c28fc5c7b87ce46cf38acf14e0a220845eb68f0 /src/cuda-sim
parentf10b93eae05cafe2d6ea18e146d517d96d94c133 (diff)
- Update README file to be slightly more user friendly (i.e., try not to imply user should bugger off and stop asking developer for help)
- Remove ridiculously long and cryptic comment from setup_environment. Most people will use CUDA_INSTALL_PATH. - Remove decuda targets from Makefile - Add check to Makefile to insist that setup_environment was run first - Add version file (eliminate redundancy) and remove version strings from src/cuda-sim/cuda-sim.cc [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12874]
Diffstat (limited to 'src/cuda-sim')
-rw-r--r--src/cuda-sim/cuda-sim.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cuda-sim/cuda-sim.cc b/src/cuda-sim/cuda-sim.cc
index 81f255e..7fa13b2 100644
--- a/src/cuda-sim/cuda-sim.cc
+++ b/src/cuda-sim/cuda-sim.cc
@@ -1371,8 +1371,7 @@ kernel_info_t *gpgpu_opencl_ptx_sim_init_grid(class function_info *entry,
return result;
}
-const char *g_gpgpusim_build_string = "$Change$";
-const char *g_gpgpusim_version_string = "3.1.0+edits (development branch)";
+#include "../../version"
void print_splash()
{
@@ -1380,7 +1379,7 @@ void print_splash()
if ( !splash_printed ) {
unsigned build=0;
sscanf(g_gpgpusim_build_string, "$Change"": %u $", &build);
- fprintf(stdout, "\n\n *** GPGPU-Sim Simulator Version %s (build %u) ***\n\n\n", g_gpgpusim_version_string, build );
+ fprintf(stdout, "\n\n *** %s [build %u] ***\n\n\n", g_gpgpusim_version_string, build );
splash_printed=1;
}
}