gem5-dev@gem5.org

The gem5 Developer List

View all threads

[XS] Change in gem5/gem5[develop]: configs,gpu-compute: Added FS check for kernel completion exits

DK
Daniel Kouchekinia (Gerrit)
Fri, Jun 30, 2023 10:11 PM

Daniel Kouchekinia has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/71978?usp=email )

Change subject: configs,gpu-compute: Added FS check for kernel completion
exits
......................................................................

configs,gpu-compute: Added FS check for kernel completion exits

Added check for "GPU Kernel Completed" to prevent SE simulations from
exiting after any kernel completes.

Change-Id: I8a3642621f60703a036e32f9ba159d9bbdf5fde4

M src/gpu-compute/dispatcher.cc
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/gpu-compute/dispatcher.cc b/src/gpu-compute/dispatcher.cc
index b19bccc..29ea909 100644
--- a/src/gpu-compute/dispatcher.cc
+++ b/src/gpu-compute/dispatcher.cc
@@ -332,7 +332,9 @@
curTick(), kern_id);
DPRINTF(GPUKernelInfo, "Completed kernel %d\n", kern_id);

  •    exitSimLoop("GPU Kernel Completed");
    
  •    if(FullSystem) {
    
  •        exitSimLoop("GPU Kernel Completed");
    
  •    }
    }
    
    if (!tickEvent.scheduled()) {
    

--
To view, visit
https://gem5-review.googlesource.com/c/public/gem5/+/71978?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I8a3642621f60703a036e32f9ba159d9bbdf5fde4
Gerrit-Change-Number: 71978
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Kouchekinia kouchekinia@wisc.edu

Daniel Kouchekinia has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/71978?usp=email ) Change subject: configs,gpu-compute: Added FS check for kernel completion exits ...................................................................... configs,gpu-compute: Added FS check for kernel completion exits Added check for "GPU Kernel Completed" to prevent SE simulations from exiting after any kernel completes. Change-Id: I8a3642621f60703a036e32f9ba159d9bbdf5fde4 --- M src/gpu-compute/dispatcher.cc 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gpu-compute/dispatcher.cc b/src/gpu-compute/dispatcher.cc index b19bccc..29ea909 100644 --- a/src/gpu-compute/dispatcher.cc +++ b/src/gpu-compute/dispatcher.cc @@ -332,7 +332,9 @@ curTick(), kern_id); DPRINTF(GPUKernelInfo, "Completed kernel %d\n", kern_id); - exitSimLoop("GPU Kernel Completed"); + if(FullSystem) { + exitSimLoop("GPU Kernel Completed"); + } } if (!tickEvent.scheduled()) { -- To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/71978?usp=email To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: public/gem5 Gerrit-Branch: develop Gerrit-Change-Id: I8a3642621f60703a036e32f9ba159d9bbdf5fde4 Gerrit-Change-Number: 71978 Gerrit-PatchSet: 1 Gerrit-Owner: Daniel Kouchekinia <kouchekinia@wisc.edu>