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

[Issue]: how to close or bypass L1 cache #3506

Open
JNYXR opened this issue Jun 3, 2024 · 2 comments
Open

[Issue]: how to close or bypass L1 cache #3506

JNYXR opened this issue Jun 3, 2024 · 2 comments

Comments

@JNYXR
Copy link

JNYXR commented Jun 3, 2024

Problem Description

MI100 how to close or bypass L1 cache

Operating System

ubuntu 18.04

CPU

AMD EPYC 7452 32-Core Processor

GPU

AMD Instinct MI100

ROCm Version

ROCm 5.5.0

ROCm Component

No response

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

@b-sumner
Copy link
Contributor

b-sumner commented Jun 3, 2024

@JNYXR your situation is not clear to me. But if you are writing HIP source code, then I would recommend using __builtin_nontemporal_{load, store}. This will work on all targets.

@JNYXR
Copy link
Author

JNYXR commented Jun 4, 2024

@b-sumner Thank you for your reply,CUDA can set the -Xptxas-dlcm = cg-Xptxas-dscm =wt compiler option to bypass L1 CACHE. Does HIP have compiler options or environment variables? I want to verify whether L1 CACHE affects my kernel, so I want to try bypass L1 CACHE.

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