Skip to content

Commit

Permalink
Mention predecessors in README
Browse files Browse the repository at this point in the history
  • Loading branch information
lkdvos committed Jul 21, 2023
1 parent 993ffd0 commit 96c4261
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tblis_jll = "9c7f617c-f299-5d18-afb6-044c7798b3d0"
[compat]
TensorOperations = "4"
TupleTools = "1"
julia = "1.6 - 1"
julia = "1.6"
tblis_jll = "1.2"

[extras]
Expand Down
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
[codecov-img]: https://codecov.io/gh/lkdvos/TensorOperationsTBLIS.jl/branch/master/graph/badge.svg
[codecov-url]: https://codecov.io/gh/lkdvos/TensorOperationsTBLIS.jl

Currently provides implementations of `tensorcontract!` and `tensoradd!` for `StridedArray{<:BlasFloat}`. These can be accessed through the backend system of TensorOperations, i.e.
Currently provides implementations of `tensorcontract!` and `tensoradd!` for
`StridedArray{<:BlasFloat}`. These can be accessed through the backend system of
TensorOperations, i.e.

```julia
using TensorOperations
using TensorOperationsTBLIS
Expand All @@ -31,8 +34,16 @@ end
```

Additionally, the number of threads used by tblis can be set by:

```julia
using TensorOperationsTBLIS
tblis_set_num_threads(4)
@show tblis_get_num_threads()
```

## Notes

- This implementation of tblis for TensorOperations.jl is only supported from v4.0.0 of
TensorOperations.jl onwards. For older versions, you could look for
[BliContractor.jl](https://github.com/xrq-phys/BliContractor.jl) or
[TBLIS.jl](https://github.com/FermiQC/TBLIS.jl).

2 comments on commit 96c4261

@lkdvos
Copy link
Owner Author

@lkdvos lkdvos commented on 96c4261 Jul 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/87960

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.0 -m "<description of version>" 96c4261c8a035f92ae6a903a32b0f89d51917928
git push origin v0.1.0

Please sign in to comment.