summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortgrogers <[email protected]>2020-10-18 09:48:00 -0400
committertgrogers <[email protected]>2020-10-18 09:48:00 -0400
commitb1606d7830bbc27240929f357cd9879256969156 (patch)
tree7c62fc939dfda103b423ec1260b72a5d1dee8a73
parent94ff25343d1047407f0ece81edd2e44e10d6cb60 (diff)
parent6e43eb6f8934b78cfa062b993e6c32b728aca5f2 (diff)
Merge remote-tracking branch 'gpgpu-sim/dev' into dev
-rw-r--r--README.md5
-rw-r--r--aerialvision/guiclasses.py3
2 files changed, 5 insertions, 3 deletions
diff --git a/README.md b/README.md
index b56d5eb..96c1d15 100644
--- a/README.md
+++ b/README.md
@@ -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:
diff --git a/aerialvision/guiclasses.py b/aerialvision/guiclasses.py
index 45fed26..04036a8 100644
--- a/aerialvision/guiclasses.py
+++ b/aerialvision/guiclasses.py
@@ -1365,7 +1365,8 @@ class graphManager:
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])