From 5e8eced64a8262b0190c4014e59b93c37ba3af9c Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Mon, 23 Aug 2010 09:39:43 -0800 Subject: - add '-keep' option to keep intermediate files (used for OpenCL only right now) - remove redundant initialization code of options (which confuses new users) - make bool option variables bool type - remove some more extern decls [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7247] --- libopencl/nvopencl_wrapper.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libopencl/nvopencl_wrapper.cc') diff --git a/libopencl/nvopencl_wrapper.cc b/libopencl/nvopencl_wrapper.cc index 6d446a4..73e60bb 100644 --- a/libopencl/nvopencl_wrapper.cc +++ b/libopencl/nvopencl_wrapper.cc @@ -92,6 +92,13 @@ int main(int argc, const char **argv) bool debug=false; + printf("%s: command line = \'",PREAMBLE); + for( int i=0; i < argc; i++ ) { + printf("%s", argv[i]); + if( (i+1) < argc ) printf(" "); + } + printf("'\n"); + if( !strncmp(argv[1],"-d",2) ) { printf("nvopencl_wrapper started\n"); fflush(stdout); -- cgit v1.3