Skip to content

Commit 7c19bb9

Browse files
authored
Merge pull request gpgpu-sim#198 from cng123/dev
updated readme with pointer to pytorch repo
2 parents 9c51f93 + f415aee commit 7c19bb9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,15 +257,16 @@ To clean the docs run
257257

258258
The documentation resides at doc/doxygen/html.
259259

260+
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).
260261
## Step 3: Run
261262

262263
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).
263264

264265
To confirm the same, type the follwoing command:
265266

266-
ldd <your_application_name>
267+
`ldd <your_application_name>`
267268

268-
You should see that your application is using libcudart.so file in GPGPUSim directory.
269+
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.
269270

270271
If running applications which use cuDNN or cuBLAS:
271272

0 commit comments

Comments
 (0)