Don't use _builtin_FUNCTION. (#107)
This commit is contained in:
parent
9a7ac85d7e
commit
d4ce6807c7
@ -433,11 +433,7 @@ class AllreduceRobust : public AllreduceBase {
|
|||||||
bool RecoverExec(void *buf, size_t size, int flag,
|
bool RecoverExec(void *buf, size_t size, int flag,
|
||||||
int seqno = ActionSummary::kSpecialOp,
|
int seqno = ActionSummary::kSpecialOp,
|
||||||
int cacheseqno = ActionSummary::kSpecialOp,
|
int cacheseqno = ActionSummary::kSpecialOp,
|
||||||
#ifdef __linux__
|
const char* caller = _CALLER);
|
||||||
const char* caller = __builtin_FUNCTION());
|
|
||||||
#else
|
|
||||||
const char* caller = "N/A");
|
|
||||||
#endif
|
|
||||||
/*!
|
/*!
|
||||||
* \brief try to load check point
|
* \brief try to load check point
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user