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

Provide Simple Matrix Multiplication kernel? #34

Closed
faruknane opened this issue Oct 7, 2019 · 4 comments
Closed

Provide Simple Matrix Multiplication kernel? #34

faruknane opened this issue Oct 7, 2019 · 4 comments

Comments

@faruknane
Copy link

Hi, first of all I want to thank you for all you've done!

I've decided to use ILGPU in my deep learning library project. I hope it is as fast as c++ cuda. Except compiling time, I believe that it doesn't have any latency while accessing gpu, which was the issue I am so afraid of. I made a couple tests for this.

I am still confused if I should use ILGPU, because @m4rs-mt didn't provide some basic kernels I don't know how to improve my code. I want to know how to improve the performance of SGEMM. Can you provide at least simple Matrix Multiplication kernel? I need to benchmark against CUBLAS and try to improve the performance.

@m4rs-mt
Copy link
Owner

m4rs-mt commented Oct 12, 2019

@faruknane Thank you very much for your feedback. Your project looks quite interesting.

I am still confused if I should use ILGPU, because @m4rs-mt didn't provide some basic kernels I don't know how to improve my code

I'm afraid I don't fully understand your point here. Did you take a look at the sample repository or the documentation? There are several basic kernels and use cases that show how to use the library in an appropriate way to get started. If you want to write a matrix multiplication kernel, you can refer to a sample implementation and convert the kernel to the ILGPU world based on the kernels in the sample repository. However, I totally agree that in the near future we should add such a simple kernel to the sample repository to simplify the process of "getting used to the library".

@MoFtZ
Copy link
Collaborator

MoFtZ commented Oct 23, 2019

Added sample project in m4rs-mt/ILGPU.Samples#5

@faruknane
Copy link
Author

faruknane commented Oct 24, 2019

Thank you so much. Appreciate it!

@m4rs-mt
Copy link
Owner

m4rs-mt commented Oct 26, 2019

Thanks to @MoFtZ we can now close this ticket 🥇

@m4rs-mt m4rs-mt closed this as completed Oct 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants