You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/02/12 23:37:07 UTC

[GitHub] larroy commented on a change in pull request #14130: Refine runtime feature discovery python API and add documentation to …

larroy 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_r256193219
 
 

 ##########
 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:
   I copied from you :-)

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services