aboutsummaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-sim.h
AgeCommit message (Collapse)Author
2024-08-21Stream stats (#71)JRPan
* Temp commit for Justin and Cassie to sync on code changes for adding per-stream status. * Resolved compile errors. * Removed redundant parameter * Passed cuda_stream_id from accelsim to gpgpusim * Cleaned up unused changes * Changed vector to map, having operator problems. * StreamID defaults to zero * Implemented streams to inc_stats and so on * Fixed TOTAL_ACCESS counts * Implemented GLOBAL_TIMER. * Fixed m_shader->get_kernel SEGFAULT issue in shader.cc. * Use warp_init to track streamID instead of issue_warp * Removed temp debug print * Modified cache_stats to only print data from latest finished stream Added optional arg to cache_stats::print_stats, cache_stats::print_fail_stats and their upstream functions. When streamID is specified, print stats from that stream. When not specified, print all stats. NOTE: current implementation depending on streamid never equals -1 * Removed default arg values of streamID * modified constructor of mem_fetch to pass in streamID * changed get_streamid to get_streamID * Added TODO to gpgpusim_entrypoint.cc and power_stat.cc * Only collect power stats when enabled * print last finished stream in PTX mode using last_streamID * take out additional printf * Add a field to baseline cache to indicate cache level * save gpu object in cache * Print stream ID only once per kernel * rm test print * use -1 for default stream id * cleanup debug prints * remove GLOABL_TIMER * Automated clang-format * Should be correct to print everything in power model * addressing concerns & errors * Automated clang-format * add m_stats_pw in operator+ * Automated Format --------- Co-authored-by: Justin Qiao <[email protected]> Co-authored-by: Justin Qiao <[email protected]> Co-authored-by: Tim Rogers <[email protected]> Co-authored-by: JRPan <[email protected]> Co-authored-by: purdue-jenkins <[email protected]>
2024-08-16remove unused & unintilized variables & format automation (#69)JRPan
* run formatter only on PR * remove unused & unintilized variables * fix signed & unsigned comparison warning * enable merge queue * resolve conflict * in formatter, checkout the forked repo, not the base repo in PR * Try to use jenkins for formatter * Automated Format --------- Co-authored-by: purdue-jenkins <[email protected]>
2024-07-16Auto clang format (#74)Aaron Barnes
* add automated clang formatter * Automated clang-format * use /bin/bash and add print * use default checkout ref * Format only after tests are success * Run CI on merge group --------- Co-authored-by: barnes88 <[email protected]> Co-authored-by: JRPAN <[email protected]>
2022-02-01Update CopyrightsJRPAN
2021-10-17AccelWattch dev IntegrationVijayKandiah
2020-05-31adding the virtual method back to gpgpu-sim classMahmoud
2020-05-31fixing TEX error maapping by removing virtual member form gpgpu-sim classMahmoud
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
2020-02-09adding kepler sass, skip-first-kernel and update config fileMahmoud Khairy A. Abdallah
2019-11-15invalidate l1 cache at membar - fixingMahmoud
2019-10-25Add a new config option to cap the max number of completed CTAsNick
2019-10-16adding kernel latencyMahmoud
2019-09-13Seems like multiple passes for reformatting commentsNick
2019-09-13Big reformat change using clang-format-6.0Nick
2019-09-13Revert "Add src/gpgpu-sim formatting"Nick
This reverts commit 9c9b1341613e767f306b2b73b5b8a5317b6ee563.
2019-09-13Revert "Add additional formatting pass on directories"Nick
This reverts commit ca563ea85ead434e0d579026b5e66e829af5efe5.
2019-09-13Add additional formatting pass on directoriesNick
2019-09-13Add src/gpgpu-sim formattingNick
2019-09-12Merge branch 'dev' of https://github.com/purdue-aalp/gpgpu-sim_distribution ↵Mahmoud
into dev-traces
2019-09-04adding trace class and parss kernel infoMahmoud
2019-08-30Making the max cycles/inst counters 64 bitstgrogers
2019-08-23fixing CUDA 10 failMahmoud
2019-08-22Merge branch 'dev' of https://github.com/purdue-aalp/gpgpu-sim_distribution ↵Mahmoud
into dev-private
2019-07-29adding simple dram modelMahmoud
2019-07-15adding the new elapsed_cycles_sm_tot statsMahmoud
2019-07-14Move sm_next_access_uidMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-07-11Move g_watchpoint_hitsMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-07-08Move g_ptx_sim_num_insnMengchi 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-03Remove g_filenameMengchi 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-06-05adding new cuda 9 APIs to run the deepbench workloadsMahmoud
2019-05-16fixing the link symbol errorMahmoud
2019-05-15make gpu_tot_cycle local variable not global variableMahmoud
2019-05-02Merge branch 'dev' of https://github.com/gpgpu-sim/gpgpu-sim_distribution ↵Mahmoud
into dev
2019-04-18changes for compute capabiltyPreyesh Dalmia
2019-04-17Adding configs for device limits and fixed other misc bugsSuchita Pati
2019-04-11adding some stats and random hashingMahmoud
2018-11-09changes for checkpoint supportDeval Shah
2018-11-09resolving merge conflictDeval Shah
2018-10-09Adding in an occupancy metric to match the nvprof metrictgrogers
2018-10-07Unrolling Aksahy's stats - as they seem to be really screwing things up.tgrogers
2018-05-01Added support for -gpgpu_registers_per_block configSuchita Pati
2018-04-10added config -gpgpu_shmem_per_block and fixed cudaGetDeviceAttributes functionSuchita Pati
2018-03-22Change 252 by jain156@akshayj-lt1 on 2017/05/29 10:51:32Akshay Jain
Checking in the data footprint stats as reported in the micro paper. The implementation uses gpgpu pointer, due to which I don't feel fine pushing to mainline. May be I can do the stats check and increment in l2cache.cc through a public function to avoid exposing gpgpu pointer to public
2017-11-18fixing a stupid inheritance bugtgrogers
2017-11-18Making the perf sim copy optional, getting rid of an assert that will happen ↵tgrogers
with the new hack and incrementing the cycle so that cudamemcopies take some time (if we don't do this the LRU in the cache does not work)