Commit 0fff2951 authored by Benjamin Thomas Graham's avatar Benjamin Thomas Graham
Browse files

fix cpu-only compilation

parent cd155261
......@@ -581,13 +581,11 @@ FOO;
FOO;
#undef DIMENSION
at::Tensor CopyFeaturesHelper_updateOutput(at::Tensor rules, at::Tensor context,
at::Tensor Context) {
return cpu_CopyFeaturesHelper_updateOutput<float>(rules, context, Context);
}
at::Tensor CopyFeaturesHelper_updateGradInput(at::Tensor rules,
at::Tensor dcontext,
at::Tensor dContext) {
return cpu_CopyFeaturesHelper_updateGradInput<float>(rules, dcontext,
dContext);
void CopyFeaturesHelper_updateOutput(at::Tensor rules, at::Tensor context,
at::Tensor Context) {
cpu_CopyFeaturesHelper_updateOutput<float>(rules, context, Context);
}
void CopyFeaturesHelper_updateGradInput(at::Tensor rules, at::Tensor dcontext,
at::Tensor dContext) {
cpu_CopyFeaturesHelper_updateGradInput<float>(rules, dcontext, dContext);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment