From 69f2911e04ffb1b19eef1fafb8c040af271f656e Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Thu, 15 Jul 2010 18:09:46 -0800 Subject: creating branch for adding support for CUDA 3.x and Fermi [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 6829] --- benchmarks/CUDA/CP/driver/__init__.py | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 benchmarks/CUDA/CP/driver/__init__.py (limited to 'benchmarks/CUDA/CP/driver/__init__.py') diff --git a/benchmarks/CUDA/CP/driver/__init__.py b/benchmarks/CUDA/CP/driver/__init__.py new file mode 100644 index 0000000..3b6c38a --- /dev/null +++ b/benchmarks/CUDA/CP/driver/__init__.py @@ -0,0 +1,33 @@ +# (c) 2007 The Board of Trustees of the University of Illinois. + +import sys +import os +from itertools import imap + +import globals +import actions +import options + +def run(): + # Print a banner message + print "Parboil parallel benchmark suite, version 0.1" + print + + # Global variable setup + root_path = os.getcwd() + python_path = (os.path.join(root_path,'common','python') + + ":" + + os.environ.get('PYTHONPATH',"")) + + globals.root = root_path + globals.benchmarks = benchmark.find_benchmarks() + globals.program_env = {'PARBOIL_ROOT':root_path, + 'PYTHONPATH':python_path, + } + + # Parse options + act = options.parse_options(sys.argv) + + # Perform the specified action + if act: act() + -- cgit v1.3