blob: 471f03daf60d2dcf17c4000f613b138761307ad1 [file] [log] [blame]
#include "caffe2/core/context_gpu.h"
#include "caffe2/operators/scale_op.h"
namespace caffe2 {
template <>
bool ScaleOp<CUDAContext>::RunOnDevice() {
return DispatchHelper<TensorTypes<float16, float>>::call(this, Input(0));
}
REGISTER_CUDA_OPERATOR(Scale, ScaleOp<CUDAContext>);
} // namespace caffe2