Skip to content

Commit

Permalink
DatasetInputLayer: Called MoveToGPU() too early, fixed
Browse files Browse the repository at this point in the history
cabrust committed Oct 6, 2015
1 parent 170d778 commit 6f62d81
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/net/DatasetInputLayer.cpp
Original file line number Diff line number Diff line change
@@ -186,9 +186,6 @@ void DatasetInputLayer::FeedForward() {

if (!testing_ && !force_no_weight && dataset_.GetMethod() == FCN) {
// Perform loss sampling
#ifdef BUILD_OPENCL
localized_error_output_->data.MoveToGPU();
#endif
const unsigned int block_size = 12;

for (unsigned int y = 0; y < localized_error_output_->data.height(); y += block_size) {

0 comments on commit 6f62d81

Please sign in to comment.