Skip to content

Commit

Permalink
Merge remote-tracking branch 'gpgpu-sim/dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
tgrogers committed Oct 18, 2020
2 parents 94ff253 + 6e43eb6 commit b1606d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,15 +257,16 @@ To clean the docs run

The documentation resides at doc/doxygen/html.

To run Pytorch applications with the simulator, install the modified Pytorch library as well by following instructions [here](https://github.com/gpgpu-sim/pytorch-gpgpu-sim).
## Step 3: Run

Before we run, we need to make sure the application's executable file is dynamically linked to CUDA runtime library. This can be done during compilation of your program by introducing the nvcc flag "--cudart shared" in makefile (quotes should be excluded).

To confirm the same, type the follwoing command:

ldd <your_application_name>
`ldd <your_application_name>`

You should see that your application is using libcudart.so file in GPGPUSim directory.
You should see that your application is using libcudart.so file in GPGPUSim directory. If the application is a Pytorch application, `<your_application_name>` should be `$PYTORCH_BIN`, which should be set during the Pytorch installation.

If running applications which use cuDNN or cuBLAS:

Expand Down
3 changes: 2 additions & 1 deletion aerialvision/guiclasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -1365,7 +1365,8 @@ def plotParallelIntensity(self, x, xAxis, y, yAxis, colorAxis, yTicks, plotID):
interpolation = 'nearest'
norm = plotFormat.norm
im = self.plot.imshow(y, cmap = cmap, interpolation = interpolation, aspect = 'auto', norm = norm )
tmp = im.get_axes().get_position().get_points()
# tmp = im.get_axes().get_position().get_points()
tmp = im.get_window_extent().get_points()

if (plotID in self.cbarAxes):
self.figure.delaxes(self.cbarAxes[plotID])
Expand Down

0 comments on commit b1606d7

Please sign in to comment.