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

Texture cache performance investigation #37

Closed
tomatih opened this issue Jun 23, 2023 · 3 comments
Closed

Texture cache performance investigation #37

tomatih opened this issue Jun 23, 2023 · 3 comments

Comments

@tomatih
Copy link
Contributor

tomatih commented Jun 23, 2023

Hello @zjin-lcf
I am investigating the performance impact of using the texture cache on Nvidia GPU's in SYCL and CUDA. I have noticed that some benchmarks (clink, convolution1D, convolutionsSeparable, page-rank, swish, all-pairs-distance) have had the explicit ldg instructions already added to them. To that I have a question of how was this selection of benchmarks chosen? Have you tested any other benchmarks and just not noticed any performance benefits of using it there? If so which other benchmarks did you test, and which GPU architectures have you tested them with?

@zjin-lcf
Copy link
Owner

Yes, I tried to add "ldg" for a few SYCL programs that show performance drop on a V100 GPU. I didn't notice performance benefits using "ldg" for other SYCL programs. However, I have not evaluated the benefits of "ldg" for all benchmarks. I will add "ldg" for other SYCL programs when they benefit from it. If compiler analysis can determine that a program can benefit from "ldg", please let me know. Thanks.

@tomatih
Copy link
Contributor Author

tomatih commented May 16, 2024

Hello, sorry for leaving the issue open for so long. I got busy at the end of my internship, and I simply forgot.
If you are still interested in results of my investigation, they got released as a blog post: https://codeplay.com/portal/blogs/2023/09/11/nvidia-texture-cache-in-sycl

@zjin-lcf
Copy link
Owner

No problem. That is a great blog!

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