iblis17 commented on a change in pull request #14130: Refine runtime feature 
discovery python API and add documentation to …
URL: https://github.com/apache/incubator-mxnet/pull/14130#discussion_r255985766
 
 

 ##########
 File path: docs/api/python/libinfo/libinfo.md
 ##########
 @@ -0,0 +1,70 @@
+# Run-Time Feature detection / Library info
+
+```eval_rst
+.. currentmodule:: mxnet.runtime
+```
+
+## Overview
+
+The libinfo functionality allows to check for compile-time features supported 
by the library.
+
+### Example usage
+
+```python
+In [1]: import mxnet as mx
+
+In [2]: import mxnet.runtime
+
+In [3]: mx.runtime.libinfo_features()
+Out[3]:
+[✔ CUDA,
+ ✔ CUDNN,
+ ✔ NCCL,
+ ✔ CUDA_RTC,
+ ✔ TENSORRT,
+ ✖ CPU_SSE,
+ ✖ CPU_SSE2,
+ ✖ CPU_SSE3,
+ ✖ CPU_SSE4_1,
+ ✖ CPU_SSE4_2,
+ ✔ CPU_SSE4A,
+ ✖ CPU_AVX,
+ ✔ CPU_AVX2,
+ ✔ OPENMP,
+ ✔ SSE,
+ ✖ F16C,
+ ✔ JEMALLOC,
+ ✖ BLAS_OPEN,
+ ✔ BLAS_ATLAS,
+ ✔ BLAS_MKL,
+ ✔ BLAS_APPLE,
+ ✔ LAPACK,
+ ✔ MKLDNN,
+ ✖ OPENCV,
+ ✔ CAFFE,
+ ✔ PROFILER,
+ ✔ DIST_KVSTORE,
+ ✔ CXX14,
+ ✔ SIGNAL_HANDLER,
+ ✖ DEBUG]
 
 Review comment:
   :heart: this

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to