Skip to content

2 issues here #277

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 257 commits into
base: master
Choose a base branch
from
Open

2 issues here #277

wants to merge 257 commits into from

Conversation

eric1hello
Copy link

I found 2 issues here:
---- shader.cc
I think the pI1 shall be pI2.
if ((pI1->oprnd_type == INT_OP) || (pI1->oprnd_type == UN_OP)) { //these counters get added up in mcPat to compute scheduler power
m_stats->m_num_INTdecoded_insn[m_sid]++;
---- I tried to enable cooperative_groups in bellow cuda, but seem it doesn't work , something issue with PTX, do you know the reasons?

device int atomicAggInc(int *ptr) {
auto g = cg::coalesced_threads();
int prev;

if (g.thread_rank() == 0)
prev = atomicAdd(ptr,g.size());

prev = g.thread_rank() + g.shfl(prev,0);

return prev;

}

global void vectorAdd(float *A, const float *B, float *C , int numElements) {

int i = blockDim.x * blockIdx.x + threadIdx.x;

//if (i < numElements) {
// C[i] = A[i] + B[i];
//}
if ( i%10 == 0){
int rankIdx = atomicAggInc(&count);
printf ("blockIdx = %d, threadIdx = %d, rank = %d \n",blockIdx.x ,threadIdx.x,rankIdx);
}
}

tgrogers and others added 30 commits January 27, 2021 11:19
do not truncate 32 MSB bits of the memory address
Fix cache hash function and renaming
aamodt and others added 6 commits February 10, 2025 17:35
Sims should work with latest CUDA
Throwing an error on updating CUDA is a bit much.
Let's warn them
Turning off the format code for now. Currently, set up to run on an internal cluster. Needs testing on docker.
LAhmos and others added 23 commits February 14, 2025 23:47
* added support to cuda 12, by predicating texuture cache

* format code
Support for CUDA 12.x and Ubuntu 24
Deleting old files used by Jenkins
* fix_cache_string: update cache config help text

* Automated Format

---------

Co-authored-by: purdue-jenkins <purdue-jenkins@users.noreply.github.com>
Co-authored-by: Tim Rogers <timrogers@gmail.com>
… 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.
* fix_cache_string: update cache desc in config files and remove typos

* fix_cache_string: update gitignore
* Gcc13 support (#87)

* Update setup_environment

Sims should work with latest CUDA

* Update setup_environment

Throwing an error on updating CUDA is a bit much.
Let's warn them

* Update main.yml

Turning off the format code for now. Currently, set up to run on an internal cluster. Needs testing on docker.

* fix gcc13 unit64 missing header

---------

Co-authored-by: Tor Aamodt <aamodt@ece.ubc.ca>
Co-authored-by: Tim Rogers <timrogers@gmail.com>

* Cuda12 support (#86)

* Update setup_environment

Sims should work with latest CUDA

* Update setup_environment

Throwing an error on updating CUDA is a bit much.
Let's warn them

* Update main.yml

Turning off the format code for now. Currently, set up to run on an internal cluster. Needs testing on docker.

* added support to cuda 12, by predicating texuture cache

* format code

---------

Co-authored-by: Tor Aamodt <aamodt@ece.ubc.ca>
Co-authored-by: Tim Rogers <timrogers@gmail.com>

* Changed to use the new image

* merge upstream (#88)

* Update setup_environment

Sims should work with latest CUDA

* Update setup_environment

Throwing an error on updating CUDA is a bit much.
Let's warn them

* Update main.yml

Turning off the format code for now. Currently, set up to run on an internal cluster. Needs testing on docker.

---------

Co-authored-by: Tor Aamodt <aamodt@ece.ubc.ca>

* Updated docker image

* Update CMakeLists.txt

Support CUDA 12

---------

Co-authored-by: Ahmad Alawneh <Lahmos4@gmail.com>
Co-authored-by: Tor Aamodt <aamodt@ece.ubc.ca>
Co-authored-by: Tim Rogers <timrogers@gmail.com>
Co-authored-by: Ni Kang <kang222@tgrogers-gpu01.ecn.purdue.edu>
* sst-integration-stream: add apis to make SST integration works with stream

* Add dev container specs
Signed-off-by: Athishpranav2003 <athishanna@gmail.com>
Co-authored-by: Anu <anallat@purdue.edu>
Co-authored-by: WilliamMTK <China_Aisa@live.com>
* update_readme: add CMake, devcontainer, and SST

* update_readme: fix branch for sst-elements

* update_readme: fix typos
GPGPU-Sim needs libGL.so or the link fails.
* Update the AccelSim test script to target the repo specified by the user.

* Change the warning for a missing ACCELSIM_REPO environment variable to an error and update workflow file to point to a temperory fix for circular dependency issue

* fix the repo name

* Change back to use dev branch
* performance inprovements

* use node_id before incremented

* Cleanup iSLIP

* run set_dram_power_stats only when power model enabled

---------

Co-authored-by: WilliamMTK <China_Aisa@live.com>
* add a100 conf

* change l1 write ratio
* i_love_zsh: make setup script universal for other shells

* Update setup_environment

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update setup_environment

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* update_ci: use test matrix

* update_ci: add updated test script and better name

* update_ci: use minimal image for accelsim test as well

* update_ci: use github image for sst run

* update_ci: revert main yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.