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

[AMD] AsyncCopyGlobalToLocal lowering to global.load.lds #5729

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

AlexAUT
Copy link
Contributor

@AlexAUT AlexAUT commented Jan 28, 2025

Support lowering of AsyncCopyGlobalToLocal for gfx9 GPUs. The lowering does check if the resulting writes are coalesced which is a requirement by the hardware.

Note that we are currently not emitting AsyncCopyGlobalToLocal for amd targets, this will come with a follow up PR.

This PR is blocked by #5684

@AlexAUT AlexAUT force-pushed the global_to_lds_lowering branch from 9d346d0 to 893a254 Compare January 29, 2025 09:51
supportedWidths.insert(16);
supportedWidths.insert(32);
if (targetInfo.getGPUKind() == llvm::AMDGPU::GPUKind::GK_GFX950) {
supportedWidths.insert(98);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

96 ?

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

Successfully merging this pull request may close these issues.

2 participants