-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
add 0d autoscan for X86, Metal, OpenCL #10275
add 0d autoscan for X86, Metal, OpenCL #10275
Conversation
Thanks for your contribution! |
8c29d07
to
4005198
Compare
59127c8
to
75f38e4
Compare
@@ -256,22 +256,6 @@ class ActivationComputeImageDefault | |||
CL_CHECK_FATAL(status); | |||
} | |||
|
|||
#ifdef LITE_WITH_LOG |
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.
这个Log信息为啥要删除呀,是因为 x_dims[1] << " " << x_dims[2] << " " << x_dims[3] 这种会访存越界吗
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.
是的,x_dims的size可能为0, 引发错误。这个pr还没有完全ok,metal elementwise op暂时屏蔽掉了,我还在看。
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.
LGTM
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.
LGTM
add 0d autoscan for X86, Metal, OpenCL