Comments (3)
In the mem_printf tool, the opcode_id is just a unique identifier for any instruction that has memory operands.
If you need to find a precise correspondence you could assign a unique id to global (i.e. LDG,STG,...), local (i.e. LDL, STL, ....) and shared memory (STS, LDS, ...) instructions when instrumenting.
However, for the generic memory instructions (i.e. LD, ST, ... ) this would be hard, since they can be global, local, shared depending on a particular value of the address (there are some address ranges that make a generic memory operation falling in one of the 3 categories of global, local, shared).
At this point I don't think is possible to know those address regions using standard CUDA driver APIs, and we don't have implemented this feature in NVBit 1.3.
We will think if it is possible to include support for this in future releases of NVBit.
from nvbit.
Thanks.
May I know your opinion about the memory address? Is that the physical memory address of the on chip DRAM?
from nvbit.
No, I was referring to the virtual address range.
from nvbit.
Related Issues (20)
- TensorFlow stuck in infinite loop when executed with NVBit.
- How to close the WARNING in NVBit
- control flow graph can not be extended
- F2FP or Uf2FP?
- RNNT error, operation not permitted when stream is capturing HOT 2
- Texture Memory Reference HOT 1
- How to flush instruction cache? HOT 1
- What is the maximum number of bits/bytes allowed after nvbit_insert_call?
- Loading NVBit tool with dlopen() explicitly HOT 2
- Finding source line number (in the host code) for cudaMalloc and similar API calls
- Getting PC from NVBit HOT 2
- NVBit hangs when creating Cuda Contexts in parallel (multi-gpu)
- Nvbit misses kernels compared to Nsight products
- Using Nvbit for a specific region of code
- How to use APIs in our own application code
- CUDA 12.0 / Driver > 510 - Unsupported? HOT 1
- NVbit can not work with Lammps? HOT 1
- mem_trace address type
- Is it possible to use device memory (global memory) instead of unified memory (__managed__) to store the statistical data HOT 7
- What is the `offset` in void `nvbit_add_call_arg_launch_val64(const Instr* instr, int offset, bool is_variadic_arg = false)`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvbit.