Add cuda api tracer tool to accel-sim framework#162
Add cuda api tracer tool to accel-sim framework#162William-An wants to merge 9 commits intoaccel-sim:devfrom
Conversation
|
One thing I'm going to complain about is identifying data types. Is this the only way? It will instantly fail if an application uses some custom data type. |
|
Yeah that is fair. I guess there are two ways to do this:
But ultimately still have to perform some checks on whether the argument is a pointer or not, which could only be confirmed by checking the function signature? |
|
Can you add an else if block at the end and just |
…mework into cuda_api_tracer
|
For the data type identification, we can use the PTX parser in gpgpu-sim to parse it, though it is somewhat hacky. |
tgrogers
left a comment
There was a problem hiding this comment.
@William-An - this change looks great.
Do we have a test that tests the tracer?
Also a minor comment about some of the commented out code.
| } | ||
|
|
||
|
|
||
| // TODO: Cannot use this until next issue |
|
We don't have any tests for it now. I will add one after I update the NVBit version. Also, I will probably need to run this tracer with not just a toy vector add example. |
Add CUDA runtime API tracer. Able to track:
int,float,double, and their 1D pointers)