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

compile #96

Merged
merged 1 commit into from
Sep 18, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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