-
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
[OPENCL] fuse fc prelu #5468
[OPENCL] fuse fc prelu #5468
Conversation
__global const CL_DTYPE* bias, | ||
__global CL_DTYPE* c, | ||
const int M, const int N, const int K) { | ||
void fc_gemv_1x4(__global const float* a, |
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.
建议使用CL_DTYPE
类型
@@ -167,13 +190,14 @@ class FcCompute | |||
int m_, n_, k_; | |||
param_t* fc_param_{nullptr}; | |||
std::string kernel_func_name_{}; | |||
std::string build_options_{"-DCL_DTYPE_float "}; | |||
std::string build_options_{"-DCL_DTYPE_half "}; |
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.
此处使用 float 吧
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
针对依赖#5461的修改已完成