Code Monkey home page Code Monkey logo

Comments (4)

grasshoper97 avatar grasshoper97 commented on July 25, 2024

GPGPUSIM_DEBUG mod is not easy to use, nor stable. so I suggest you use GDB instead.
build the GPUSIM and the application in debug mode, use GDB to run the application, the application will call function of GPUSIM, and you can set breakpoint in the line you interest.

answer to question 4:
Many CTAs run in a SM(.e.g SM0),but only 1 warp of a CTA is scheduled by SM0. command "dp 0" show the status of SM0(maybe it schedule warp 3 now).

from gpgpu-sim_distribution.

smadenur avatar smadenur commented on July 25, 2024

Hi,
I enabled the debugging symbols for both the benchmark and the gpgpu-sim executable. I used the command gdb --args cat README.GPGPU-sim to run gdb. However no debugging symbols are found. Can you let me know the command to debug and the variables to be set to enable debugging symbols?

from gpgpu-sim_distribution.

Sherlock-feng avatar Sherlock-feng commented on July 25, 2024

GPGPUSIM_DEBUG mod is not easy to use, nor stable. so I suggest you use GDB instead. build the GPUSIM and the application in debug mode, use GDB to run the application, the application will call function of GPUSIM, and you can set breakpoint in the line you interest.

answer to question 4: Many CTAs run in a SM(.e.g SM0),but only 1 warp of a CTA is scheduled by SM0. command "dp 0" show the status of SM0(maybe it schedule warp 3 now).

Can you tell me how to run the debug mode in the terminal(what commands should I input), I can't find the information of the command.

from gpgpu-sim_distribution.

Sherlock-feng avatar Sherlock-feng commented on July 25, 2024

GPGPUSIM_DEBUG mod is not easy to use, nor stable. so I suggest you use GDB instead. build the GPUSIM and the application in debug mode, use GDB to run the application, the application will call function of GPUSIM, and you can set breakpoint in the line you interest.

answer to question 4: Many CTAs run in a SM(.e.g SM0),but only 1 warp of a CTA is scheduled by SM0. command "dp 0" show the status of SM0(maybe it schedule warp 3 now).

Can you tell me how to run the debug mode in the terminal(what commands should I input), I can't find the information of the command.

from gpgpu-sim_distribution.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.