diff options
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.cc')
| -rw-r--r-- | src/gpgpu-sim/gpu-sim.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gpgpu-sim/gpu-sim.cc b/src/gpgpu-sim/gpu-sim.cc index 1f7de38..17c7247 100644 --- a/src/gpgpu-sim/gpu-sim.cc +++ b/src/gpgpu-sim/gpu-sim.cc @@ -674,6 +674,14 @@ void shader_core_config::reg_options(class OptionParser *opp) { ®_file_port_throughput, "the number ports of the register file", "1"); + // SIMD lane partitioning options + option_parser_register( + opp, "-gpgpu_simd_partitioning", OPT_BOOL, &gpgpu_simd_partitioning, + "Enable SIMD lane partitioning into sets (default = disabled)", "0"); + option_parser_register( + opp, "-gpgpu_num_simd_sets", OPT_UINT32, &gpgpu_num_simd_sets, + "Number of SIMD sets to partition lanes into (default = 1)", "1"); + for (unsigned j = 0; j < SPECIALIZED_UNIT_NUM; ++j) { std::stringstream ss; ss << "-specialized_unit_" << j + 1; |
