-
Notifications
You must be signed in to change notification settings - Fork 210
【CUDA Kernel No.90】算子Kernel修复 #2239
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: develop
Are you sure you want to change the base?
Conversation
|
Thanks for your contribution! |
| #include "paddle/phi/backends/gpu/gpu_context.h" | ||
| #include "paddle/phi/core/kernel_registry.h" | ||
| #include "paddle/phi/kernels/gpu/partial_concat_kernel.cu" //NOLINT | ||
| #include "paddle/phi/kernels/partial_concat_kernel.h" |
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.
此头文件中函数声明有误,需要的是PartialConcatOpCUDAKernel
| iluvatar_gpu, | ||
| ALL_LAYOUT, | ||
| phi::PartialConcatOpCUDAKernel, | ||
| phi::PartialConcatKernel, |
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.
这个注册的kernel不要改
| #include "paddle/phi/backends/gpu/gpu_context.h" | ||
| #include "paddle/phi/core/kernel_registry.h" | ||
| #include "paddle/phi/kernels/gpu/partial_concat_kernel.cu" //NOLINT | ||
| #include "paddle/phi/kernels/partial_concat_kernel.h" |
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.
此头文件中函数声明有误,需要的是PartialConcatOpCUDAKernel
| metax_gpu, | ||
| ALL_LAYOUT, | ||
| phi::PartialConcatOpCUDAKernel, | ||
| phi::PartialConcatKernel, |
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.
这个注册的kernel不要改
PR Category
Performance Optimization
PR Types
Bug fixes
Description
修改引用