gem5/src/gpu-compute
Alexandru Dutu c8cf71f1a0 gpu-compute: Added method to compute the actual workgroup size
This patch adds a method to the Wavefront class to compute the actual workgroup
size. This can be different from the maximum workgroup size specified when
launching the kernel through the NDRange object. Current solution is still not
optimal, as we are computing these for each wavefront and the dispatcher also
needs to have this information and can't actually call
Wavefront::computeActuallWgSz before the wavefronts are being created. A long
term solution would be to have a Workgroup class that deals with all these
details.
2016-10-04 13:03:52 -04:00
..
brig_object.cc gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
brig_object.hh gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
cl_driver.cc gpu-compute: Adding ioctl for HW context size 2016-09-16 12:27:56 -04:00
cl_driver.hh gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
cl_event.hh gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
code_enums.hh gpu: fix bugs with MemFence, Flat Instrs and Resource utilization 2016-02-18 10:42:03 -05:00
compute_unit.cc gpu-compute: Added method to compute the actual workgroup size 2016-10-04 13:03:52 -04:00
compute_unit.hh gpu-compute: Added method to compute the actual workgroup size 2016-10-04 13:03:52 -04:00
condition_register_state.cc gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
condition_register_state.hh gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
dispatcher.cc gpu-compute: fix typo in GPUDispatcher 2016-09-16 14:47:19 -04:00
dispatcher.hh gpu-compute: Adding ioctl for HW context size 2016-09-16 12:27:56 -04:00
exec_stage.cc gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
exec_stage.hh gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
fetch_stage.cc gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
fetch_stage.hh gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
fetch_unit.cc gpu-compute: Wavefront refactoring 2016-09-16 12:26:52 -04:00
fetch_unit.hh gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
global_memory_pipeline.cc gpu-compute: Wavefront refactoring 2016-09-16 12:26:52 -04:00
global_memory_pipeline.hh gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
GPU.py gpu-compute: parametrize Wavefront size 2016-06-09 11:24:55 -04:00
gpu_dyn_inst.cc gpu-compute: parametrize Wavefront size 2016-06-09 11:24:55 -04:00
gpu_dyn_inst.hh gpu-compute: parametrize Wavefront size 2016-06-09 11:24:55 -04:00
gpu_exec_context.cc gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
gpu_exec_context.hh gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
gpu_static_inst.cc gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
gpu_static_inst.hh gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
gpu_tlb.cc stats: Fixing regStats function for some SimObjects 2016-06-06 17:16:43 +01:00
gpu_tlb.hh gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
hsa_code.hh gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
hsa_kernel_info.hh gpu-compute: Adding ioctl for HW context size 2016-09-16 12:27:56 -04:00
hsa_object.cc gpu-compute: remove brig_object.hh from hsa_object.cc 2016-02-17 11:46:02 -05:00
hsa_object.hh gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
hsail_code.cc gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
hsail_code.hh gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
kernel_cfg.cc gpu-compute: Fix bug with return in cfg 2016-09-13 23:11:20 -04:00
kernel_cfg.hh gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
lds_state.cc stats: Fixing regStats function for some SimObjects 2016-06-06 17:16:43 +01:00
lds_state.hh stats: Fixing regStats function for some SimObjects 2016-06-06 17:16:43 +01:00
LdsState.py gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
local_memory_pipeline.cc gpu-compute: Wavefront refactoring 2016-09-16 12:26:52 -04:00
local_memory_pipeline.hh gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
misc.hh gpu-compute: parametrize Wavefront size 2016-06-09 11:24:55 -04:00
ndrange.hh mem: Remove threadId from memory request class 2016-04-07 09:30:20 -05:00
of_scheduling_policy.cc gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
of_scheduling_policy.hh gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
pool_manager.cc gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
pool_manager.hh gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
qstruct.hh gpu-compute: Remove WFContext 2016-09-16 12:26:03 -04:00
rr_scheduling_policy.cc gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
rr_scheduling_policy.hh gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
schedule_stage.cc gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
schedule_stage.hh gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
scheduler.cc gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
scheduler.hh gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
scheduling_policy.hh gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
SConscript gpu-compute: Adding vector register file debug messages 2016-09-16 12:30:05 -04:00
scoreboard_check_stage.cc gpu-compute: remove unused variable from scoreboard check stage 2016-03-21 11:26:23 -04:00
scoreboard_check_stage.hh gpu-compute: remove unused variable from scoreboard check stage 2016-03-21 11:26:23 -04:00
shader.cc mem: Remove threadId from memory request class 2016-04-07 09:30:20 -05:00
shader.hh mem: Remove threadId from memory request class 2016-04-07 09:30:20 -05:00
simple_pool_manager.cc gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
simple_pool_manager.hh gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
tlb_coalescer.cc stats: Fixing regStats function for some SimObjects 2016-06-06 17:16:43 +01:00
tlb_coalescer.hh gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00
vector_register_file.cc gpu-compute: parametrize Wavefront size 2016-06-09 11:24:55 -04:00
vector_register_file.hh gpu-compute: Adding vector register file debug messages 2016-09-16 12:30:05 -04:00
vector_register_state.cc gpu-compute: parametrize Wavefront size 2016-06-09 11:24:55 -04:00
vector_register_state.hh gpu-compute: parametrize Wavefront size 2016-06-09 11:24:55 -04:00
wavefront.cc gpu-compute: Added method to compute the actual workgroup size 2016-10-04 13:03:52 -04:00
wavefront.hh gpu-compute: Added method to compute the actual workgroup size 2016-10-04 13:03:52 -04:00
X86GPUTLB.py gpu-compute: AMD's baseline GPU model 2016-01-19 14:28:22 -05:00