-
Notifications
You must be signed in to change notification settings - Fork 825
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
Use onednn to optimize permute #7872
Conversation
@@ -64,6 +66,74 @@ class PermuteImpl : public Permute { | |||
} | |||
}; | |||
|
|||
#ifdef WITH_ONEDNN | |||
// Onednn only supports up to 32bit type of data | |||
constexpr size_t kMaxOneDNNMovementSize = 4; |
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.
Onednn/OneDnn/OneDNN 这三种写法都出现了
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.
已修改
View latest API docs preview at: https://staging.oneflow.info/docs/Oneflow-Inc/oneflow/pr/7872/ |
Speed stats:
|
CI failed when running job: cuda-benchmark. PR label automerge has been removed |
CI failed when running job: cuda-module. PR label automerge has been removed |
Static analysis with clang failed. PR label automerge has been removed |
Speed stats:
|
View latest API docs preview at: https://staging.oneflow.info/docs/Oneflow-Inc/oneflow/pr/7872/ |
Speed stats:
|
View latest API docs preview at: https://staging.oneflow.info/docs/Oneflow-Inc/oneflow/pr/7872/ |
CI failed when running job: cuda-benchmark. PR label automerge has been removed |
View latest API docs preview at: https://staging.oneflow.info/docs/Oneflow-Inc/oneflow/pr/7872/ |
Speed stats:
|
详细记录在此链接中 https://github.com/Oneflow-Inc/OneTeam/issues/1170#issuecomment-1075888383
测试结果