Skip to content

Commit

Permalink
fixed NoGPU build re do_sync;
Browse files Browse the repository at this point in the history
updated ExperimentalHTKMLFReader w.r.t. file naming
  • Loading branch information
frankseide committed Mar 1, 2016
1 parent 2b48da7 commit 5304784
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 14 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -327,10 +327,10 @@ $(LIBDIR)/HTKMLFReader.so: $(HTKMLFREADER_OBJ) | $(CNTKMATH_LIB)
########################################
EXPERIMENTALHTKMLFREADER_SRC =\
$(SOURCEDIR)/Readers/HTKMLFReader/DataWriter.cpp \
$(SOURCEDIR)/Readers/HTKMLFReader/DataWriterLocal.cpp \
$(SOURCEDIR)/Readers/HTKMLFReader/HTKMLFWriter.cpp \
$(SOURCEDIR)/Readers/ExperimentalHTKMLFReader/ConfigHelper.cpp \
$(SOURCEDIR)/Readers/ExperimentalHTKMLFReader/DataReader.cpp \
$(SOURCEDIR)/Readers/ExperimentalHTKMLFReader/Exports.cpp \
$(SOURCEDIR)/Readers/ExperimentalHTKMLFReader/HTKDataDeserializer.cpp \
$(SOURCEDIR)/Readers/ExperimentalHTKMLFReader/HTKMLFReader.cpp \
$(SOURCEDIR)/Readers/ExperimentalHTKMLFReader/MLFDataDeserializer.cpp \
Expand Down
8 changes: 0 additions & 8 deletions Source/Math/NoGPU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,14 +214,6 @@ ElemType GPUSparseMatrix<ElemType>::Adagrad(GPUMatrix<ElemType>& c, const bool n
//template<class ElemType>
//void GPUSparseMatrix<ElemType>::FSAdagrad(CPUMatrix<ElemType>& gradients, CPUMatrix<ElemType>&, ElemType, ElemType, ElemType, ElemType) { }

#ifdef NO_SYNC
template <class ElemType>
bool GPUSparseMatrix<ElemType>::do_sync = false;
#else
template <class ElemType>
bool GPUSparseMatrix<ElemType>::do_sync = true;
#endif

template <class ElemType>
void GPUSparseMatrix<ElemType>::MultiplyAndWeightedAdd(ElemType alpha, const GPUSparseMatrix<ElemType>& a, const bool transposeA,
const GPUMatrix<ElemType>& b, const bool transposeD, ElemType beta, GPUMatrix<ElemType>& c)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
<PrecompiledHeader>NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="ConfigHelper.cpp" />
<ClCompile Include="DataReader.cpp" />
<ClCompile Include="Exports.cpp" />
<ClCompile Include="dllmain.cpp">
<CompileAsManaged>false</CompileAsManaged>
<PrecompiledHeader />
Expand All @@ -130,4 +130,4 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<ItemGroup>
<ClCompile Include="dllmain.cpp" />
<ClCompile Include="stdafx.cpp" />
<ClCompile Include="DataReader.cpp" />
<ClCompile Include="..\..\Common\TimerUtility.cpp">
<Filter>Common</Filter>
</ClCompile>
Expand All @@ -23,6 +22,7 @@
<ClCompile Include="..\..\Common\ExceptionWithCallStack.cpp">
<Filter>Common</Filter>
</ClCompile>
<ClCompile Include="Exports.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="stdafx.h" />
Expand Down Expand Up @@ -61,4 +61,4 @@
<UniqueIdentifier>{812d1247-04eb-4693-a0d2-5399a94e6235}</UniqueIdentifier>
</Filter>
</ItemGroup>
</Project>
</Project>

0 comments on commit 5304784

Please sign in to comment.