summaryrefslogtreecommitdiff
path: root/configs/example
diff options
context:
space:
mode:
Diffstat (limited to 'configs/example')
-rw-r--r--configs/example/apu_se.py6
-rw-r--r--configs/example/se.py4
2 files changed, 5 insertions, 5 deletions
diff --git a/configs/example/apu_se.py b/configs/example/apu_se.py
index 5ec3289d2..28ba92ba1 100644
--- a/configs/example/apu_se.py
+++ b/configs/example/apu_se.py
@@ -392,9 +392,9 @@ else:
# OpenCL driver
driver = ClDriver(filename="hsa", codefile=kernel_files)
for cpu in cpu_list:
- cpu.workload = LiveProcess(executable = executable,
- cmd = [options.cmd] + options.options.split(),
- drivers = [driver])
+ cpu.workload = Process(executable = executable,
+ cmd = [options.cmd] + options.options.split(),
+ drivers = [driver])
for cp in cp_list:
cp.workload = host_cpu.workload
diff --git a/configs/example/se.py b/configs/example/se.py
index 4adfe7bb8..5eacf19fe 100644
--- a/configs/example/se.py
+++ b/configs/example/se.py
@@ -91,7 +91,7 @@ def get_processes(options):
idx = 0
for wrkld in workloads:
- process = LiveProcess()
+ process = Process()
process.executable = wrkld
process.cwd = os.getcwd()
@@ -154,7 +154,7 @@ if options.bench:
else:
exec("workload = %s(buildEnv['TARGET_ISA', 'linux', '%s')" % (
app, options.spec_input))
- multiprocesses.append(workload.makeLiveProcess())
+ multiprocesses.append(workload.makeProcess())
except:
print >>sys.stderr, "Unable to find workload for %s: %s" % (
buildEnv['TARGET_ISA'], app)