[GitHub] [incubator-mxnet] wuxun-zhang commented on issue #15862: CPU GEMM in float 16 fails silently with NaiveEngine (CPP api)

2019-08-13 Thread GitBox
wuxun-zhang commented on issue #15862: CPU GEMM in float 16 fails silently with 
NaiveEngine (CPP api)
URL: 
https://github.com/apache/incubator-mxnet/issues/15862#issuecomment-521106678
 
 
   FYI, when commenting out [this line in 
dmlc/logging.h](https://github.com/dmlc/dmlc-core/blob/f1ff6cc117f4e95169a9f62be549c8fe3e15c20f/include/dmlc/logging.h#L423),
 the error stack trace will be printed normally for `NaiveEngine`.  I don't 
know where to re-define this macro `DMLC_LOG_BEFORE_THROW` in MXNet, which is 
firstly defined in 
[dmlc/base.h](https://github.com/dmlc/dmlc-core/blob/f1ff6cc117f4e95169a9f62be549c8fe3e15c20f/include/dmlc/base.h).
 


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] wuxun-zhang commented on issue #15862: CPU GEMM in float 16 fails silently with NaiveEngine (CPP api)

2019-08-13 Thread GitBox
wuxun-zhang commented on issue #15862: CPU GEMM in float 16 fails silently with 
NaiveEngine (CPP api)
URL: 
https://github.com/apache/incubator-mxnet/issues/15862#issuecomment-520728388
 
 
   @marekjg I can reproduce this issue from my side when 
`MXNET_ENGINE_TYPE=NaiveEngine`. But I try to use `std::cout` instead of 
`LOG(FATAL)`, it will output error messages normally. So maybe there have 
inconsistent logging behavior between `NaiveEngine` and default engine for C++ 
API. 


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services