Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
compile
Browse files Browse the repository at this point in the history
  • Loading branch information
antinucleon committed Sep 18, 2015
1 parent 990823f commit 504c777
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/io/iter_prefetcher.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* Copyright (c) 2015 by Contributors
* \file iter_prefetcher.h
* \brief define a prefetcher using threaditer to keep k batch fetched
* \brief define a prefetcher using threaditer to keep k batch fetched
*/
#ifndef MXNET_IO_ITER_PREFETCHER_H_
#define MXNET_IO_ITER_PREFETCHER_H_
Expand Down Expand Up @@ -101,7 +101,8 @@ class PrefetcherIter : public IIterator<DataBatch> {
mshadow::Copy((*dptr)->data[0].get<mshadow::cpu, 2, float>(),
batch.data[0].get<mshadow::cpu, 2, float>());
} else {
assert(false);
// TODO(tianjun): ?
LOG(FATAL) << "fail";
}
mshadow::Copy((*dptr)->data[1].get<mshadow::cpu, 2, float>(),
batch.data[1].get<mshadow::cpu, 2, float>());
Expand Down

0 comments on commit 504c777

Please sign in to comment.