GPU_VIPER.py (13885:d10ea5e56cb0) GPU_VIPER.py (13980:62a28c423e91)
1# Copyright (c) 2011-2015 Advanced Micro Devices, Inc.
2# All rights reserved.
3#
4# For use for simulation and test purposes only
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are met:
8#

--- 487 unchanged lines hidden (view full) ---

496
497 cp_cntrl.mandatoryQueue = MessageBuffer()
498 cp_cntrl.triggerQueue = MessageBuffer(ordered = True)
499
500 cpuCluster.add(cp_cntrl)
501
502 # Register CPUs and caches for each CorePair and directory (SE mode only)
503 if not full_system:
1# Copyright (c) 2011-2015 Advanced Micro Devices, Inc.
2# All rights reserved.
3#
4# For use for simulation and test purposes only
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are met:
8#

--- 487 unchanged lines hidden (view full) ---

496
497 cp_cntrl.mandatoryQueue = MessageBuffer()
498 cp_cntrl.triggerQueue = MessageBuffer(ordered = True)
499
500 cpuCluster.add(cp_cntrl)
501
502 # Register CPUs and caches for each CorePair and directory (SE mode only)
503 if not full_system:
504 FileSystemConfig.config_filesystem(options)
505 for i in xrange((options.num_cpus + 1) // 2):
506 FileSystemConfig.register_cpu(physical_package_id = 0,
507 core_siblings = \
508 xrange(options.num_cpus),
509 core_id = i*2,
510 thread_siblings = [])
511
512 FileSystemConfig.register_cpu(physical_package_id = 0,

--- 217 unchanged lines hidden ---
504 for i in xrange((options.num_cpus + 1) // 2):
505 FileSystemConfig.register_cpu(physical_package_id = 0,
506 core_siblings = \
507 xrange(options.num_cpus),
508 core_id = i*2,
509 thread_siblings = [])
510
511 FileSystemConfig.register_cpu(physical_package_id = 0,

--- 217 unchanged lines hidden ---