From 6f62d81b3f8bee3cf65bc28e99c67ade837590a6 Mon Sep 17 00:00:00 2001 From: Clemens-Alexander Brust Date: Mon, 5 Oct 2015 19:04:56 +0200 Subject: [PATCH] DatasetInputLayer: Called MoveToGPU() too early, fixed --- src/net/DatasetInputLayer.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/net/DatasetInputLayer.cpp b/src/net/DatasetInputLayer.cpp index 815a644..5d837ce 100644 --- a/src/net/DatasetInputLayer.cpp +++ b/src/net/DatasetInputLayer.cpp @@ -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) {