-
Notifications
You must be signed in to change notification settings - Fork 0
WIP: Implement Parallel Kernel Fusion #3
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
base: siemens-dev
Are you sure you want to change the base?
Conversation
qiao-bo
left a comment
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.
@dezajno, please do not make the two level directory under 6_Test. Can you move all Kernel_Fusion_xPxP one level up, remove the folder Parallel_fusion_point and the cmakelist
include/hipacc/AST/ASTFuse.h
Outdated
| void markKernelPositionSublist(std::list<HipaccKernel *> *l); | ||
| void recomputeMemorySizeLocalFusion(std::list<HipaccKernel *> *l); | ||
|
|
||
| FusionType getFusionTypeFor(std::list<HipaccKernel *> *l) { |
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.
how about move the definition to cpp file?
include/hipacc/AST/ASTFuse.h
Outdated
| return *fusionType; | ||
| } | ||
|
|
||
| void initFusibleKernelBlockLocation(FusionType fusionType) { |
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.
same here
include/hipacc/AST/ASTFuse.h
Outdated
| PBlockID++; | ||
| } | ||
| initFusibleKernelBlockLocation(FusionType::Linear); | ||
| initFusibleKernelBlockLocation(FusionType::Parallel); |
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.
so if there is no valid parallel fusion kernels? do we still init?
ff19a40 to
9dee815
Compare
This PR implements Parallel Kernel Fusion as described in the Master Thesis "DSL-based Parallel Kernel Fusion for Locality Improvement on GPUs".
TODO: