Skip to content

Commit

Permalink
Fix CPU only
Browse files Browse the repository at this point in the history
  • Loading branch information
ctensmeyer committed Jun 23, 2017
1 parent 61fdd11 commit 4166903
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 20 deletions.
4 changes: 0 additions & 4 deletions src/caffe/layers/graph4c_construction_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,6 @@ void Graph4CConstructorLayer<Dtype>::Forward_cpu(
}


#ifdef CPU_ONLY
STUB_GPU_FORWARD(Graph4CConstructorLayer);
#endif

INSTANTIATE_CLASS(Graph4CConstructorLayer);
REGISTER_LAYER_CLASS(Graph4CConstructor);

Expand Down
4 changes: 0 additions & 4 deletions src/caffe/layers/graph4c_energy_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,6 @@ void Graph4CEnergyLayer<Dtype>::Backward_cpu(const vector<Blob<Dtype>*>& top,
}


#ifdef CPU_ONLY
STUB_GPU(Graph4CEnergyLayer);
#endif

INSTANTIATE_CLASS(Graph4CEnergyLayer);
REGISTER_LAYER_CLASS(Graph4CEnergy);

Expand Down
4 changes: 0 additions & 4 deletions src/caffe/layers/graph4c_make_modular_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,6 @@ void Graph4CMakeModularLayer<Dtype>::Backward_cpu(const vector<Blob<Dtype>*>& to
}


#ifdef CPU_ONLY
STUB_GPU(Graph4CMakeModularLayer);
#endif

INSTANTIATE_CLASS(Graph4CMakeModularLayer);
REGISTER_LAYER_CLASS(Graph4CMakeModular);

Expand Down
4 changes: 0 additions & 4 deletions src/caffe/layers/graph4c_pair_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ void Graph4CPairLayer<Dtype>::Forward_cpu(
}


#ifdef CPU_ONLY
STUB_GPU_FORWARD(Graph4CPairLayer);
#endif

INSTANTIATE_CLASS(Graph4CPairLayer);
REGISTER_LAYER_CLASS(Graph4CPair);

Expand Down
4 changes: 0 additions & 4 deletions src/caffe/layers/relative_darkness.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,6 @@ void RelativeDarknessLayer<Dtype>::Backward_cpu(const vector<Blob<Dtype>*>& top,
}


#ifdef CPU_ONLY
STUB_GPU(RelativeDarknessLayer);
#endif

INSTANTIATE_CLASS(RelativeDarknessLayer);
REGISTER_LAYER_CLASS(RelativeDarkness);

Expand Down

0 comments on commit 4166903

Please sign in to comment.