ruby_gpu_random_test.py (11670:6ce719503eae) | ruby_gpu_random_test.py (11682:612f75cf36a0) |
---|---|
1# 2# Copyright (c) 2010-2015 Advanced Micro Devices, Inc. 3# All rights reserved. 4# 5# For use for simulation and test purposes only 6# 7# Redistribution and use in source and binary forms, with or without 8# modification, are permitted provided that the following conditions are met: --- 24 unchanged lines hidden (view full) --- 33# Author: Brad Beckmann 34# 35 36import m5 37from m5.objects import * 38from m5.defines import buildEnv 39from m5.util import addToPath 40import os, optparse, sys | 1# 2# Copyright (c) 2010-2015 Advanced Micro Devices, Inc. 3# All rights reserved. 4# 5# For use for simulation and test purposes only 6# 7# Redistribution and use in source and binary forms, with or without 8# modification, are permitted provided that the following conditions are met: --- 24 unchanged lines hidden (view full) --- 33# Author: Brad Beckmann 34# 35 36import m5 37from m5.objects import * 38from m5.defines import buildEnv 39from m5.util import addToPath 40import os, optparse, sys |
41addToPath('../common') | 41 |
42addToPath('../') 43 | 42addToPath('../') 43 |
44import Options | 44from common import Options |
45from ruby import Ruby 46 47# Get paths we might need. 48config_path = os.path.dirname(os.path.abspath(__file__)) 49config_root = os.path.dirname(config_path) 50m5_root = os.path.dirname(config_root) 51 52parser = optparse.OptionParser() --- 134 unchanged lines hidden --- | 45from ruby import Ruby 46 47# Get paths we might need. 48config_path = os.path.dirname(os.path.abspath(__file__)) 49config_root = os.path.dirname(config_path) 50m5_root = os.path.dirname(config_root) 51 52parser = optparse.OptionParser() --- 134 unchanged lines hidden --- |