#include "caffe2/core/context_gpu.h" #include "caffe2/operators/counter_ops.h" namespace caffe2 { REGISTER_CUDA_OPERATOR(CreateCounter, CreateCounterOp); REGISTER_CUDA_OPERATOR(ResetCounter, ResetCounterOp); REGISTER_CUDA_OPERATOR(CountDown, CountDownOp); REGISTER_CUDA_OPERATOR( CheckCounterDone, CheckCounterDoneOp); REGISTER_CUDA_OPERATOR(CountUp, CountUpOp); REGISTER_CUDA_OPERATOR(RetrieveCount, RetrieveCountOp); } // namespace caffe2