Skip to content
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

Also questions about the kernel size #33

Open
ydhongHIT opened this issue Mar 19, 2022 · 1 comment
Open

Also questions about the kernel size #33

ydhongHIT opened this issue Mar 19, 2022 · 1 comment

Comments

@ydhongHIT
Copy link

The kernel size can not be larger than 13x13? I set the kernel size to 15x15 and encounter the error "CUDA error: an illegal memory access was encountered". But everything is ok when the kernel size is smaller than 13x13 or equals to it. Besides, I note that the speed is obviously lower as the kernel size goes up, more obvious than common depthwise convolutions. Is that because the implementation is not enough efficient?

@theFoxofSky
Copy link
Owner

Yes, the Cuda code only speeds up small kernels due to the limited shared memory. You can modify the Cuda code to support large kernels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants