aboutsummaryrefslogtreecommitdiff
path: root/src/gpgpusim_entrypoint.cc
AgeCommit message (Collapse)Author
2020-05-27splitting trace-driven from gpgpu-sim - part 2Mahmoud
2020-05-23code refomrattingMahmoud
2020-05-23Merge branch 'dev' of https://github.com/purdue-aalp/gpgpu-sim_distribution ↵Mahmoud
into dev-traces
2019-09-13Big reformat change using clang-format-6.0Nick
2019-09-13Revert "Add src/ director formatting"Nick
This reverts commit 26ca8de4a6ec9bfe422a14cbe325a5f257df453b.
2019-09-13Add src/ director formattingNick
2019-09-12Merge branch 'dev' of https://github.com/purdue-aalp/gpgpu-sim_distribution ↵Mahmoud
into dev-traces
2019-09-12Remove GPGPUsim_ctx_ptr()Mengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-09-11Remove g_stream_manager()Mengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-09-11Remove g_the_gpu()Mengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-09-04adding trace class and parss kernel infoMahmoud
2019-08-31Adding a stat for slowdown versus silicontgrogers
2019-07-10Move g_cuda_launch_blockingMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-07-09Move g_ptx_sim_modeMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-07-08Move cp_countMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-07-08Move opcode_latency_int thus pass gpgpu_context into many classesMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-07-03Add backward pointer to gpgpu_simMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-07-03Connect gpgpu_context and GPGPUsim_ctxMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-07-01Move g_debug_ir_generation and GPGPUSim_InitMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-06-23Fix argv content since it is unchanged for GPGPU-SimMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-05-30adding new values to gpu contextMahmoud
2019-05-30adding new params to gpgpu-sim strutMahmoud
2019-05-30adding the gpu_context strutMahmoud
2019-05-15make gpu_tot_cycle local variable not global variableMahmoud
2019-04-11adding local xbar and fast execution modeMahmoud
2018-11-09resolving merge conflictDeval Shah
2018-05-29fixes seg fault on concurrentKernels, speeds up concurrent_streams_empty, ↵Jonathan
adds check for null stream case on cudaStreamWaitEvent
2018-04-05Nice to know when the simulaton thread actually gets the exit call under ↵tgrogers
normal operation. This helps immensely in a clustered environmrnt where jobs randomly fail
2018-04-05Nice to know when the simulaton thread actually gets the exit call under ↵tgrogers
normal operation. This helps immensely in a clustered environmrnt where jobs randomly fail
2018-04-05GPGPU-Sim should always print when the sim thread exits - if this doesn't ↵tgrogers
happen, something bad has happened
2018-03-30Moving the print to avoid spurrious statisticstgrogers
2018-03-30When CDP was added - we started printing garbage stats after every memcpy. I ↵tgrogers
am stopping this by gaurding against it in the same way we do for updating the stat counts (checking if we have executed any cycles before printing). I am not sure what this does to CDP stat prints - as I am not sure what CDP kernels so to sim_cycles.... However EVERY other app except CDP is spewing junk to the output and it really messes up any per-kernel stat collection scripts.
2018-03-22Fixing the break limit bugMahmoud
2017-11-08Fixing the break limit bugMahmoud
2016-07-06ADD: add kernel launching latency from stream to distributorJin Wang
2016-07-05BUG: PTX section id. ADD: cudaDeviceSetLimit. BUG: parameter addresses for ↵Jin Wang
child kernels in CDP. BUG: .weak .entry and .weak .global directives in ptx file. BUG: empty_protected() for stream manager causes deadlock, change to empty()
2016-07-05MOD: add child kernel stream and scheduling supportJin Wang
2015-06-05Fixing bug with max cycle/instruction/cta + bug with C++ name de-mangling ↵Tayler Hetherington
with spaces (e.g., using templates)
2014-08-14Review: 47001. Fixing bug in CL16463. When streams are actually used, ↵Tayler Hetherington
kernels can complete while other kernels are still running. The fix in CL16463 caused the GPU to re-initialize when a kernel completes, which may occur while another kernel is still running. Added a check to test if the GPU is also inactive when a kernel completes in order to re-initialize. simpleStreams CUDA SDK now passes with CUDA 3.1. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 16469]
2014-08-14Review: 46001. Fixing a source of non-determinism in GPGPU-Sim (Bug 174). ↵Tayler Hetherington
Not sure if this is the only issue, but this was definitely a source of non-determinism (checked with many of the <rodinia>-FT benchmarks). In gpgpu_sim_thread_concurrent() (gpgpusim_entrypoint.cc), the inner do{...}while(active); only breaks when the gpu is not active. As a result, the gpu is only initialized when the gpu becomes momentarily inactive. If one kernel completes while another kernel is currently pending in the stream's queue, the next kernel will start running immediately causing the GPU to not be reinitialized (which includes resetting per-kernel stats). The fix simply recognizes that a kernel has completed and breaks from the loop prior to starting the next operation. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 16463]
2014-08-14Restoring the functional simulation entry function for OpenCL, which was ↵Ayub Gubran
undone in CL 12023 probably by mistake. Reveiw ID: 17001 [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15885]
2014-08-14fixing bug 34 externalAhmed El-Shafiey
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15055]
2014-08-14Merging Power model into FermiTayler Hetherington
//depot/gpgpu_sim_research/fermi_power/distribution/... to //depot/gpgpu_sim_research/fermi/distribution/... [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14723]
2014-08-14-being more conservative in locking the code of the kernel finish detection, ↵Ahmed El-Shafiey
solves the problem of underminitstic kernel finish detection [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14206]
2014-08-14 Integration from TM-311 branch.Wilson Fung
- Updated PTX parser to support CUDA 4.1 and 4.2. - Revised fatbin workaround to a more robust version (with comments explaining it). - Added print_simulation_time() in gpgpu_sim_thread_concurrent(). [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13789]
2014-08-14Fixing opencl statsAndrew M. B. Boktor
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12491]
2014-08-14A much easier way to attempt to fix the problem targeted by CL12362 is to ↵Andrew M. B. Boktor
just print the stats whenever a kernel is done. This requires decoupling updating the stats from printing them and modifying the printing code to accomodate this change. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12366]
2014-08-14When a kernel is done, it doesn't mean it finished executing. Instructions ↵Andrew M. B. Boktor
could have a few cycles left (e.g. memory). To prevent the problem with the race condition, no stream operations are allowed to launch until the kernel that has finished finished executing. The loop will exit, the kernel prints its stats, then in the next iteration the next operation is allowed to launch. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12362]
2014-08-14Removing a wrong commentAndrew M. B. Boktor
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12358]
2014-08-14Fixes a rare race condition that prevents the kernel stats from being printed.Andrew M. B. Boktor
Merging //depot/gpgpu_sim_research/fermi_replay/distribution/src/gpgpusim_entrypoint.cc to //depot/gpgpu_sim_research/fermi/distribution/src/gpgpusim_entrypoint.cc [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12356]