File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff 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
2219julia> BLAS. get_config ()
2320LinearAlgebra. BLAS. LBTConfig
2421Libraries:
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-
3224julia> using BLISBLAS
3325
3426julia> BLAS. get_config ()
3527LinearAlgebra. BLAS. LBTConfig
3628Libraries:
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
4045julia> @btime $ A * $ B;
4146 2.729 ms (2 allocations: 7.63 MiB)
You can’t perform that action at this time.
0 commit comments