diff options
| author | Davit Grigoryan <[email protected]> | 2026-04-12 01:05:57 +0000 |
|---|---|---|
| committer | Davit Grigoryan <[email protected]> | 2026-04-12 01:05:57 +0000 |
| commit | c3c124bfdf4384db3b6e852b517dc8828577a3a5 (patch) | |
| tree | 4dca37ffc13bf3939d9b051898fb131a22c44729 /src/gpgpu-sim/gpu-sim.cc | |
| parent | 29d90a95ffa4287f58dc30a2e3488edf13d6c143 (diff) | |
impl thread compaction
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.cc')
| -rw-r--r-- | src/gpgpu-sim/gpu-sim.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpgpu-sim/gpu-sim.cc b/src/gpgpu-sim/gpu-sim.cc index 17c7247..7b186aa 100644 --- a/src/gpgpu-sim/gpu-sim.cc +++ b/src/gpgpu-sim/gpu-sim.cc @@ -681,6 +681,10 @@ void shader_core_config::reg_options(class OptionParser *opp) { 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"); + option_parser_register( + opp, "-gpgpu_enable_compaction", OPT_BOOL, &gpgpu_enable_compaction, + "Enable thread compaction into fewer SIMD sets (default = disabled)", + "0"); for (unsigned j = 0; j < SPECIALIZED_UNIT_NUM; ++j) { std::stringstream ss; |
