-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
POC for Buffer Descriptor Analysis #569
Conversation
// See https://llvm.org/LICENSE.txt for license information. | ||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
// | ||
// (c) Copyright 2023 Xilinx Inc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Advanced Micro Devices, Inc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will update the name here. Also, git checks show errors regarding clang formatting, and compilation warning. Will fix them as well.
// (c) Copyright 2023 Xilinx Inc. | ||
// | ||
//===----------------------------------------------------------------------===// | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this do? Is it really specific to your target, or is it more general?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's more to the target. Any suggestion on where this header file should live?
@jamestclin What's the status with this? |
Close this PR for now, as the POC isn't in the current pursuit. |
This draft shows an implementation of an analysis for generating Buffer Descriptors.
--triton-to-linalg
conversion passmemref.copy/memref.tensor_store
in the function and recursively call visitor functions for operands until reachingmemref.reinterpretcast
.memref.reinterpretcast
tomemref.copy/memref.tensor_store
by recursion of visitor functions.