@@ -96,21 +96,34 @@ How to use with cargo
9696::
9797
9898 [dependencies]
99- ndarray = "0.14 .0"
99+ ndarray = "0.15 .0"
100100
101- How to enable blas integration. Depend on ``blas-src `` directly to pick a blas
102- provider. Depend on the same ``blas-src `` version as ``ndarray `` does, for the
103- selection to work. An example configuration using system openblas is shown
104- below. Note that only end-user projects (not libraries) should select
105- provider::
101+ How to enable blas integration
102+ -----------------------------
106103
104+ Blas integration is an optional add-on.
105+
106+ Depend and link to ``blas-src `` directly to pick a blas provider. Ndarray
107+ presently requires a blas provider that provides the ``cblas-sys `` interface. If
108+ further feature selection is needed then you might need to depend directly on
109+ the backend crate's source too (for example ``openblas-src ``, to select
110+ ``cblas ``). The backend version **must ** be the one that ``blas-src `` also
111+ depends on.
112+
113+ An example configuration using system openblas is shown below. Note that only
114+ end-user projects (not libraries) should select provider::
107115
108116 [dependencies]
109- ndarray = { version = "0.14 .0", features = ["blas"] }
117+ ndarray = { version = "0.15 .0", features = ["blas"] }
110118 blas-src = { version = "0.7.0", default-features = false, features = ["openblas"] }
111119 openblas-src = { version = "0.9", default-features = false, features = ["cblas", "system"] }
112120
113- For official releases of ``ndarray ``, the versions are:
121+ When this is done, your program must also link to ``blas_src `` by using it or
122+ explicitly including it in your code::
123+
124+ extern crate blas_src;
125+
126+ For official releases of ``ndarray ``, versions that have been verified to work are:
114127
115128=========== ============ ================
116129``ndarray `` ``blas-src `` ``openblas-src ``
0 commit comments