Skip to content

Conversation

@jacquesqiao
Copy link
Member

@jacquesqiao jacquesqiao commented Jul 18, 2017

for macro like:

#define REGISTER_OP_CPU_KERNEL(type, KenelType) \
...

if KenelType have more then one template parameter, like

REGISTER_OP_CPU_KERNEL(xx, XxClass<float, float>)

because there is a ,, it will cause error like

error: too many arguments provided to function-like macro invocation

@jacquesqiao jacquesqiao requested review from JiayiFeng and reyoung July 18, 2017 03:58
@jacquesqiao jacquesqiao merged commit 051676a into PaddlePaddle:develop Jul 18, 2017
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