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>
|
#include <Windows.h>
|
||||||
#endif
|
#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,
|
DWORD ul_reason_for_call,
|
||||||
LPVOID /*lpReserved*/
|
LPVOID /*lpReserved*/
|
||||||
)
|
)
|
||||||
|
|
|
@ -11,10 +11,6 @@
|
||||||
#include "IComputationNetBuilder.h"
|
#include "IComputationNetBuilder.h"
|
||||||
#include "SGD.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 Microsoft {
|
||||||
namespace MSR {
|
namespace MSR {
|
||||||
namespace CNTK {
|
namespace CNTK {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче