From f415aeeb3417566b891e9f6efc6701f9c285cc2b Mon Sep 17 00:00:00 2001 From: cng123 Date: Fri, 7 Aug 2020 18:47:41 -0700 Subject: [PATCH 1/2] updated readme with pointer to pytorch repo --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b56d5eb60..96c1d157d 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 +`ldd ` -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, `` should be `$PYTORCH_BIN`, which should be set during the Pytorch installation. If running applications which use cuDNN or cuBLAS: From 7ed34489953fb75f1cd1131f951c1b201d770f41 Mon Sep 17 00:00:00 2001 From: Lucy Liu Date: Thu, 1 Oct 2020 22:20:09 -0700 Subject: [PATCH 2/2] fixed exception for parallel intensity plots in aerialvision --- aerialvision/guiclasses.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aerialvision/guiclasses.py b/aerialvision/guiclasses.py index 45fed2674..04036a8a3 100644 --- a/aerialvision/guiclasses.py +++ b/aerialvision/guiclasses.py @@ -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])