Skip to content

cpu gpu transform#7085

Closed
jacquesqiao wants to merge 23 commits intoPaddlePaddle:developfrom
jacquesqiao:cpu-gpu-transform
Closed

cpu gpu transform#7085
jacquesqiao wants to merge 23 commits intoPaddlePaddle:developfrom
jacquesqiao:cpu-gpu-transform

Conversation

@jacquesqiao
Copy link
Member

@jacquesqiao jacquesqiao commented Dec 27, 2017

fix: #7050

@jacquesqiao jacquesqiao changed the title [WIP]Cpu gpu transform Jan 1, 2018
@jacquesqiao jacquesqiao changed the title Cpu gpu transform Jan 1, 2018
/**
* register a unique name for one module of data transform
*/
#define REGISTER_DATA_TRANSFORM_MODEULE(module) \
Copy link
Collaborator

Choose a reason for hiding this comment

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

Here, we should check the namespace of this symbol.

namespace paddle {
namespace framework {

OpKernelType k0(proto::DataType::FP32, platform::CPUPlace(),
Copy link
Collaborator

Choose a reason for hiding this comment

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

This will generate symbol k0, which is meaningless for other .cc files.

@jacquesqiao
Copy link
Member Author

fixed by #7191

@jacquesqiao jacquesqiao closed this Jan 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants