From 7edfd64a2b39222d7424d2b6c0f14a68fe1903ed Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Thu, 31 May 2012 23:23:58 -0800 Subject: - 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] --- src/cuda-sim/cuda-sim.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/cuda-sim') 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; } } -- cgit v1.3