-
Notifications
You must be signed in to change notification settings - Fork 516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPGPU-sim with cuDNN #112
Comments
Hi, Did you set |
Thank you. I have fixed the ptxas problem. (Although I do not know how did it get fixed by only switching a computer. ) Have you tried the MNIST example in https://github.com/gpgpu-sim/gpgpu-sim_simulations? Seems the developers use this app for testing... But finally, I got a PTX not implementation error. |
As you commented, I tried
|
Which configuration files are you using? When I used TITANX (Maxwell), I also got a deadlock. Could you try TITANV config instead? Seems in your log file, you also got "Warning: cannot find deviceFun" --- I guess the problem is gpgpusim failed to find some device functions. (may be they do not belong to cuDNN? will check later. ) Thank you. |
Hello, I've found that After I modified GPGPU-Sim so that it supports extracting PTX files from multiple libraries. I uploaded my pull request(PR #116). Although mnistCUDNN calls several kernels for fermi or maxwell architecture(ex. cudnn7maxwell4gemm) with volta architecture config file, anyway it works well. |
Was mnistCUDNN linked statically with libcudnn and libcublas? I believe that was a requirement in order to account for gpgpu-sim only being able to extract PTX files from 1 file. The Makefile in deval281shah's mnistCUDNN example should be passing flags to statically link those libraries. |
@RedCarrottt @bigwater when I test Thanks. |
您好,请问这个问题解决了吗?我遇到了跟你一样的问题,一直在输出libcaffe2_gpu.xx.sm_61.ptx,根本停不下来 |
Hi, Have you deal it yet? |
ptx文件生成等待一点时间(我是10分钟-20分钟之间)他会完成的,虽然我之后的运行中遇到一些问题,但是正确的代码段ptx文件这个时间内可以完成生成。btw你成功运行了吗? |
你好
我后面没跑这个了,这个问题我也不知道该怎么处理,但我初步猜测是在安装基于gpgpusim的pytorch拓展时,pytorch将库不仅仅替换了最开始的库,还应该自动改了最开始的指向库的链接。我这么说的原因是,如果你尝试回去重跑vecadd.cu,发现会报一样的错,目前应该处于一个进退两难的地方。
我尝试向论文作者发邮件,但论文作者并没有给任何有用反馈。
…---- 回复的原邮件 ----
| 发件人 | ***@***.***> |
| 日期 | 2024年10月30日 10:18 |
| 收件人 | ***@***.***> |
| 抄送至 | ***@***.***>***@***.***> |
| 主题 | Re: [gpgpu-sim/gpgpu-sim_distribution] GPGPU-sim with cuDNN (#112) |
你好
当我测试时,输出持续了很长时间并且还没有停止。您在运行此软件时是否遇到过此问题?这是一个错误还是处理 PTX 本身需要很长时间。 minist/main.pyGPGPU-Sim PTX: Parsing libcaffe2_ gpu.1.sm_ 61.ptx ``
谢谢。
您好,请问这个问题解决了吗?我遇到了跟你一样的问题,一直在输出libcaffe2_gpu.xx.sm_61.ptx,根本停不下来
ptx文件生成等待一点时间(我是10分钟-20分钟之间)他会完成的,虽然我之后的运行中遇到一些问题,但是正确的代码段ptx文件这个时间内可以完成生成。btw你成功运行了吗?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Environment
Ubuntu 16.04.4 LTS
gcc/g++ 5.4.0 20160609
Python 2.7
CUDA 8.0
cuDNN 7.1.4
gpgpu-sim_distribution dev branch
pytorch-gpgpu-sim (removed the git dependencies of nervanagpu @ d4eefd5, since the repo is no longer there)
PYTORCH_BIN /usr/lib/x86_64-linux-gnu/libcudnn.so
The configurations used are from the configs folder of gpgpu-sim dev branch
MNIST
I use the MNIST sample from here. (Following deval281shah 's suggestions in another discussion. )
https://github.com/gpgpu-sim/gpgpu-sim_simulations
Config
I use TITANV config.
I also tried TITANX config, but a deadlock happened with that configuration.
The simulation runs for 39 minutes, and I checked it has stimulated a number of kernels, and it reported some related information such as IPC.
In the beginning, it generated a large amount of .. it cannot find all device function required.
Therefore, cudaLaunchKernel fails to find the device function.
However, it ends up with
...
Does anyone encounter this problem before? Any suggestions?
Thank you so much for your help.
The text was updated successfully, but these errors were encountered: