Skip to content
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

cpu gpu transform #7085

Closed
wants to merge 23 commits into from

Conversation

jacquesqiao
Copy link
Member

@jacquesqiao jacquesqiao commented Dec 27, 2017

fix: #7050

@jacquesqiao jacquesqiao changed the title [WIP]Cpu gpu transform Cpu gpu transform Jan 1, 2018
@jacquesqiao jacquesqiao changed the title Cpu gpu transform 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

implement CPU <---> CUDA DataTransformFn
2 participants