Skip to content

Commit 2928843

Browse files
committed
readme
1 parent 6aec94d commit 2928843

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

README.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,35 @@ This package is based on [libblastrampoline](https://github.com/JuliaLinearAlgeb
1212

1313
## Usage
1414

15-
Simply `using BLISBLAS` is enough.
16-
17-
The following example is run with `OPENBLAS_NUM_THREADS=64` and `BLIS_NUM_THREADS=64` on a 64-core AMD EPYC 7763 (Milan) CPU.
18-
15+
Simply `using BLISBLAS` is enough:
1916
```julia
20-
julia> using LinearAlgebra, BenchmarkTools
17+
julia> using LinearAlgebra
2118

2219
julia> BLAS.get_config()
2320
LinearAlgebra.BLAS.LBTConfig
2421
Libraries:
2522
└ [ILP64] libopenblas64_.so
2623

27-
julia> A = rand(1000,1000); B = rand(1000,1000);
28-
29-
julia> @btime $A * $B;
30-
3.927 ms (2 allocations: 7.63 MiB)
31-
3224
julia> using BLISBLAS
3325

3426
julia> BLAS.get_config()
3527
LinearAlgebra.BLAS.LBTConfig
3628
Libraries:
3729
├ [ILP64] libopenblas64_.so
3830
└ [ILP64] libblis.so
31+
```
32+
33+
The following simple example is run with `OPENBLAS_NUM_THREADS=64` and `BLIS_NUM_THREADS=64` on a 64-core AMD EPYC 7763 (Milan) CPU.
34+
35+
```julia
36+
julia> using BenchmarkTools
37+
38+
julia> A = rand(1000,1000); B = rand(1000,1000);
39+
40+
julia> @btime $A * $B;
41+
3.927 ms (2 allocations: 7.63 MiB)
42+
43+
julia> using BLISBLAS
3944

4045
julia> @btime $A * $B;
4146
2.729 ms (2 allocations: 7.63 MiB)

0 commit comments

Comments
 (0)