GPU
expected an identifier Caffe2_GPU C:\caffe2-master\caffe2\operators\pool_op_cudnn.cu 405
Could you elaborate?
Win10 64 CUDA8.0 Cudnn5.1 VS2015
Error: expected an identifier Progaram:Caffe2_GPU path:C:\caffe2-master\caffe2\operators\pool_op_cudnn.cu Error in the words: INPUT_TAGS(IN, OUT, OUT_GRAD);
Today,I've compiled many times , But the problem still occurred. Can you help me?
It appears that someone changed the structure of the Header files so now the "INPUT_TAGS" is not defined in the pool_op_cudnn.cu file, which is basically (e.g.) defined in: "caffe2/core/operator.h"
You have two options to fix this issue:
- add to the cuh file a definition of INPUT_TAGS (as defined in operators.h file).
- or simply comment out this line of code (i.e., the : INPUT_TAGS(IN, OUT, OUT_GRAD)).
Both options fixed the issue.
@Yangqing @ugionet This issue still occurred,I can't solve it. Thank you~
I am a chinese student,I am learning about the caffe2. Could you help me ?Thank you~ @Yangqing @ugionet E-mail:[email protected]
What sort of help do you require ? If you have more issues with the repository, you can open new issues. If the solution that was offered to you solved this issue, please close it.
Would it also be possible to simply include operators.h in the cuh file?
operators.h defines INPUT_TAGS. Thus it should work.
@Vedaevolution , I try it,but still failed. the same issue in #1073 , https://github.com/caffe2/caffe2/issues/1073 @Yangqing
I meet the same error. In windows, the definition of "IN", "OUT" are different from Linux. In windows, it is NULL. But I am not sure how to fix it.