Skip to content

Conversation

DannyIsFunny
Copy link
Collaborator

@DannyIsFunny DannyIsFunny commented Mar 4, 2020

(1)解决opencl中的编译问题
问题描述:在代码中无法识别 VLOG(4)<< const cl::Image2D *

auto* input_image = param.x->data<half_t, cl::Image2D>();
VLOG(4) << "input_image: " << input_image;

解决方法:
VLOG(4)<<input_image; 部分的代码注释。
(2)提高ci_build.sh中的opencl的编译速度

Copy link
Contributor

@ysh329 ysh329 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ysh329 ysh329 merged commit 606d6b5 into PaddlePaddle:develop Mar 4, 2020
@DannyIsFunny DannyIsFunny deleted the OPENCL_LIB_FIX branch March 4, 2020 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants