Moving location of variables to avoid conflicts between cn.exe and dll building
This commit is contained in:
Родитель
3369f5eaec
Коммит
e68c22490b
|
@ -10,7 +10,11 @@
|
|||
#include <Windows.h>
|
||||
#endif
|
||||
|
||||
BOOL APIENTRY DllMain( HMODULE /*hModule*/,
|
||||
// The SGD CLass is MPI-aware and expects these globals to exist.
|
||||
int myRank = 0;
|
||||
int numProcs = 1;
|
||||
|
||||
BOOL APIENTRY DllMain(HMODULE /*hModule*/,
|
||||
DWORD ul_reason_for_call,
|
||||
LPVOID /*lpReserved*/
|
||||
)
|
||||
|
|
|
@ -11,10 +11,6 @@
|
|||
#include "IComputationNetBuilder.h"
|
||||
#include "SGD.h"
|
||||
|
||||
// The SGD CLass is MPI-aware and expects these globals to exist.
|
||||
int myRank = 0;
|
||||
int numProcs = 1;
|
||||
|
||||
namespace Microsoft {
|
||||
namespace MSR {
|
||||
namespace CNTK {
|
||||
|
|
Загрузка…
Ссылка в новой задаче