summaryrefslogtreecommitdiff
path: root/tests/SConscript
diff options
context:
space:
mode:
authorTony Gutierrez <anthony.gutierrez@amd.com>2016-01-19 14:28:22 -0500
committerTony Gutierrez <anthony.gutierrez@amd.com>2016-01-19 14:28:22 -0500
commit1a7d3f9fcb76a68540dd948f91413533a383bfde (patch)
tree867510a147cd095f19499d26b7c02d27de4cae9d /tests/SConscript
parent28e353e0403ea379d244a418e8dc8ee0b48187cf (diff)
downloadgem5-1a7d3f9fcb76a68540dd948f91413533a383bfde.tar.xz
gpu-compute: AMD's baseline GPU model
Diffstat (limited to 'tests/SConscript')
-rw-r--r--tests/SConscript24
1 files changed, 15 insertions, 9 deletions
diff --git a/tests/SConscript b/tests/SConscript
index e9c9a6432..886b7fe59 100644
--- a/tests/SConscript
+++ b/tests/SConscript
@@ -348,20 +348,26 @@ if env['TARGET_ISA'] == 'arm':
'realview64-switcheroo-timing',
'realview64-switcheroo-o3',
'realview64-switcheroo-full']
-if env['TARGET_ISA'] == 'x86':
+if env['TARGET_ISA'] == 'x86' and not env['BUILD_GPU']:
configs += ['pc-simple-atomic',
'pc-simple-timing',
'pc-o3-timing',
'pc-switcheroo-full']
-configs += ['simple-atomic', 'simple-atomic-mp',
- 'simple-timing', 'simple-timing-mp',
- 'minor-timing', 'minor-timing-mp',
- 'o3-timing', 'o3-timing-mt', 'o3-timing-mp',
- 'rubytest', 'memtest', 'memtest-filter',
- 'tgen-simple-mem', 'tgen-dram-ctrl']
-
-configs += ['learning-gem5-p1-simple', 'learning-gem5-p1-two-level']
+if env['TARGET_ISA'] == 'x86' and env['BUILD_GPU'] and \
+ env['TARGET_GPU_ISA'] == 'hsail':
+ configs += ['gpu']
+ if env['PROTOCOL'] == 'GPU_RfO':
+ configs += ['gpu-randomtest']
+else:
+ configs += ['simple-atomic', 'simple-atomic-mp',
+ 'simple-timing', 'simple-timing-mp',
+ 'minor-timing', 'minor-timing-mp',
+ 'o3-timing', 'o3-timing-mt', 'o3-timing-mp',
+ 'rubytest', 'memtest', 'memtest-filter',
+ 'tgen-simple-mem', 'tgen-dram-ctrl']
+
+ configs += ['learning-gem5-p1-simple', 'learning-gem5-p1-two-level']
if env['PROTOCOL'] != 'None':
if env['PROTOCOL'] == 'MI_example':