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
.clang-format
---
# Requires clang-format version 3.7.1 or later
Language: Cpp
AlignConsecutiveAssignments: false
AlignEscapedNewlinesLeft: true
AlignTrailingComments: true 
AllowShortBlocksOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakTemplateDeclarations: true
AccessModifierOffset: -4
BreakBeforeBraces: Allman
BreakConstructorInitializersBeforeComma: false
ColumnLimit: 0
ConstructorInitializerAllOnOneLineOrOnePerLine: true
DerivePointerAlignment: true
ForEachMacros: [ BOOST_FOREACH, foreach_column, foreach_coord, foreach_index, foreach_row, foreach_row_in_submat ]
IndentWidth: 4
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
PointerAlignment: Left
SpaceAfterCStyleCast: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
Standard: Cpp11
TabWidth: 4
UseTab: Never
...

back to top