summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/shader.h
AgeCommit message (Collapse)Author
2026-04-28critical fix - add option to have masks for SB entriesDavit Grigoryan
2026-04-28fix atomic counters; add more dbg printsDavit Grigoryan
2026-04-27fix co-issue scheduling pc assertionsDavit Grigoryan
2026-04-27add debug scoreboard stats countingDavit Grigoryan
2026-04-24fix global mem reqs coalescingDavit Grigoryan
2026-04-23co-issue global mem requestsDavit Grigoryan
2026-04-22more stats for co-issuingDavit Grigoryan
2026-04-19add option for dbg printsDavit Grigoryan
2026-04-18add more scheduling policies; update stats countersDavit Grigoryan
2026-04-18impl xor lane shuffling; add delay option for operand readsDavit Grigoryan
2026-04-13impl intra-warp co-issuingDavit Grigoryan
2026-04-12impl thread compactionDavit Grigoryan
2026-04-11make operand collector mimd-awareDavit Grigoryan
2026-04-11initial impl of mimd timing modelDavit Grigoryan
2026-04-08add simple simd lane set partitioningDavit Grigoryan
2026-03-30initial its implDavit Grigoryan
2026-01-22Partial Revert "Fix correlation on A100 CUTLASS GEMM Kernels (#127)" (#133)JRPan
* Partial Revert "Fix correlation on A100 CUTLASS GEMM Kernels (#127)" This reverts commit 987a23f84f8705c0566a47aeda2132fa33a82618. Only reverting the kernel issue part - issue_block2core. Co-Authored-By: Claude Opus 4.5 <[email protected]> * Modernize latency array declarations with C++17 style - Replace C-style arrays with std::array for type safety - Add zero-initialization using {} for arrays - Add explicit zero-initialization for scalar latency variables - Add #include <array> header Co-Authored-By: Claude Opus 4.5 <[email protected]> * format code --------- Co-authored-by: Claude Opus 4.5 <[email protected]>
2025-09-03Fix correlation on A100 CUTLASS GEMM Kernels (#127)JRPan
* 1. Add a queue to promote fairness CTA scheduling 2. Add a Perfect xbar interconnect option * remove merge queue * Should not change this * rename pending cta to allocated_ctas * run formatter
2025-08-19running formatter (#126)JRPan
* running formatter * consolidate CI runs * use cluster to run formatter * use cluster to run formatter * Add a CI-Success step
2025-04-17change function name (#113)Ahmad Alawneh
2025-04-17adding a function to check active status of a thread (#112)Ahmad Alawneh
2025-02-18A bunch of maintenance fixes, the largest of which is getting the PTX ↵Tim Rogers
simulation to work with CUDA 12. (#95) * Fixing the formatter to always use a consistent format and running it on the codebase * Update linux-so-version.txt * Update Makefile * A couple of unnecessary files that are lingering around * Support CUDA 12 * Getting the PTX simulations to work with CUDA 12. The issue is that ptxas added more information (number of barriers and compile time). We have to parse these or lexx/yacc fail. * Update ptxinfo.l debug MACRO was ineffective * Update gpgpusim_check.cmake Update to make the CUDA version print a warning, not an error and updating the print to be more reflective of what the actual problem is.
2024-12-11Add SST integration into gpgpusim (#44)WilliamMTK
* Add accommodations to run gpgpusim with SST simulation framework through balar * Output setup_environment options when sourcing * Add SST directive check when creating sim thread * Add sst side test for jenkins * sst-integration: update Jenkinsfile with offical sst-elements repo and fix bugs in pipeline script * sst-integration: direct jenkins to rebuild gpgpusim before testing for sst * sst-integration: fix bugs in sst repos config * sst-integration: let Jenkins rebuilds simulator Since the simulator needs to be configured with both normal mode and sst mode, need to rebuild make target to clean prior runs. * sst-integration: Update Jenkinsfile to source env vars when running balar test * sst-integration: refactor code to remove __SST__ flag * sst-integration: fix a bug that init cluster twice for sst * sst-integration: fix a bug of not sending mem packets to SST * sst-integration: remove sst flags from makefiles and setup_env * sst-integration: add comments to SST changes * sst-integration: remove rebuilding simulator in jenkins when testing for SST * sst-integration: revert simulator build script * Add a function to support querying function argument info for SST * sst-integration: add version detection for vanadis binary * Automated Format * add version detection support for gcc 10+ * sst-integration: add cudaMallocHost for SST * sst-integration: fix a compilation bug * sst-integration: add sst balar unittest CI * sst-integration: specify GPU_ARCH for CI test * sst-integration: use bash for github actions * sst-integration: use https links for sst repos * sst-integration: add SST dependencies to CI config * sst-integration: remove sudo * sst-integration: default to yes for apt install * sst-integration: add manual trigger for github action * sst-integration: remove wrong on event * sst-integration: limit CPU usage for compilation * sst-integration: fix wrong path * sst-integration: use personal repo for testing * sst-integration: remove sst-core source in CI to free space * sst-integration: SST_Cycle use print stats with stream id * Automated Format * sst-integration: check for diskspace and try to clean it * sst-integration: move out of docker image * sst-integration: testing for ci path * sst-integration: fix syntax * sst-integration: pass env vars * sst-integration: set env properly * sst-integration: merge LLVM build and test into same job * sst-integration: fix step order * sst-integration: checkout correct branch for env-setup * sst-integration: remove resourcing gpu apps * sst-integration: revert back to docker github action * sst-integration: enable debug trace for sst testing * sst-integration: resourcing gpu app for env vars * sst-integration: use GPUAPPS_ROOT for path for gpu app * sst-integration: use GPUAPPS_ROOT for path for gpu app * sst-integration: enable parallel ci tests and fix not returning with cudaMallocHostSST * sst-integration: using debug flag for CI run * sst-integration: revert debug ci run * sst-integration: CI skips cuda sdk download and launch multiple jobs * sst-integration: reenable parallel tests * sst-integration: reduce concurrent test thread count * sst-integration: skip long test for github runner * sst-integration: try running CI with single core * sst-integrtion: add callback to SST to check thread sync is done in SST_Cycle() * sst-integration: ignore lookup if already found and add callbacks to SST * Automated Format * sst-integration: add support for indirect texture access * Automated Format * sste-integration: fix up for PR * Automated Format --------- Co-authored-by: purdue-jenkins <[email protected]>
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]>
2024-07-12Reg bank patch (#41)Aaron Barnes
* remove implicit casting, cleanup unused bank_warp_shift parameter * update cu init function prototype * remove m_bank_warp_shift from function call
2023-09-20LDGSTS, LDGDEPBAR and DEPBAR Implementations (#62)Connie120
2023-08-07Merge branch 'dev' into fix-statsAaron Barnes
2023-07-05Merge branch 'dev' into fix-statsAaron Barnes
2023-06-13rename cache bankconflict stat to be more descriptiveAaron M Barnes
2023-06-12order warnings fixAhmad Alawneh
2023-06-12fix more Wsign warningsAhmad Alawneh
2023-06-12fix types, change int to unsigned intAhmad Alawneh
2022-03-23fix sub-core operand collector dispatch rrAaron M Barnes
2022-02-18fix trace-driven concurrency segfaultAaron M Barnes
2022-02-01Update CopyrightsJRPAN
2021-10-17AccelWattch dev IntegrationVijayKandiah
2021-08-16better oc selecting when sub core enabledJRPAN
2021-08-16Adding restricted round robin schedulerJRPAN
2021-05-31rewrite shmem_option parsingJRPAN
2021-05-23format codeMahmoud Khairy A. Abdallah
2021-05-20L2 breakdown - reuse mf allocatorJRPAN
2021-05-19moving shmem option to the base class and change the code to accept turing ↵Mahmoud Khairy A. Abdallah
config
2021-05-18sending cache block byte maskJRPAN
2021-05-13run changes through clang-formatAaron Barnes
2021-05-13specialized unit should be partitioned tooAaron Barnes
2021-05-11fix print, move simd::issue() impl to .cc fileAaron M Barnes
2021-05-11issue function needed to be constrainedAaron Barnes
2021-05-11minor fixes, pure virtual callsAaron M Barnes