https://github.com/Microsoft/CNTK
Revision afc8deb9335bc328cc18aaa2dc540576072c30ee authored by Juncheng Gu on 02 August 2017, 19:47:38 UTC, committed by Junjie Qian on 27 September 2017, 02:46:16 UTC
rename "j" to currentGradientIndex in line321

update description in line309; rename j to currentGradientIndex

fix bug (from Junjie) in new gradient aggregator pipeline (== -> !=)

move first D-to-H copy out of the loop

define "size_t i" in simple gradient aggregator
1 parent 40162ba
Raw File
Tip revision: afc8deb9335bc328cc18aaa2dc540576072c30ee authored by Juncheng Gu on 02 August 2017, 19:47:38 UTC
optimize AggregateGradientsImpl (async pipeline) for non-GDR & GPU scenario
Tip revision: afc8deb
CNTK.Common.props
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <!-- Note: SolutionDir / RepoRootPath are the same in current setup -->
    <RepoRootPath>$(MSBuildThisFileDirectory)</RepoRootPath>
    <RelativeProjectPath>$(MSBuildProjectDirectory.Substring($(MSBuildThisFileDirectory.Length)))</RelativeProjectPath>

    <OutDir>$(RepoRootPath)$(Platform)\$(Configuration)\</OutDir>
    <IntDir>$(RepoRootPath)$(Platform)\.build\$(Configuration)\$(RelativeProjectPath)\</IntDir>

    <DebugBuild>false</DebugBuild>
    <DebugBuild Condition="$(Configuration.StartsWith('Debug'))">true</DebugBuild>

    <ReleaseBuild>false</ReleaseBuild>
    <ReleaseBuild Condition="!$(DebugBuild)">true</ReleaseBuild>

    <GpuBuild>true</GpuBuild>
    <GpuBuild Condition="$(Configuration.EndsWith('_CpuOnly'))">false</GpuBuild>
    <GpuBuild Condition="$(Configuration.EndsWith('_UWP'))">false</GpuBuild>

    <CpuOnlyBuild>true</CpuOnlyBuild>
    <CpuOnlyBuild Condition="$(GpuBuild)">false</CpuOnlyBuild>

    <NoOptBuild>false</NoOptBuild>
    <NoOptBuild Condition="$(Configuration.Contains('NoOpt'))">true</NoOptBuild>

    <HasSwig>false</HasSwig>
    <HasSwig Condition="Exists('$(SWIG_PATH)\swig.exe')">true</HasSwig>

    <HasJava>false</HasJava>
    <HasJava Condition="Exists('$(JAVA_HOME)\bin\javac.exe')">true</HasJava>

    <CntkComponentVersion>2.2</CntkComponentVersion>
    <CntkComponentVersion Condition="$(DebugBuild)">$(CntkComponentVersion)d</CntkComponentVersion>
  </PropertyGroup>
  
</Project>
back to top