Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt Upstream Object's Costomizable Fields #10

Merged
merged 2 commits into from
Feb 19, 2022
Merged

Conversation

xrq-phys
Copy link
Collaborator

@xrq-phys xrq-phys commented Feb 19, 2022

flame/blis#583 introdues 4 additional user customizable function fields.
As BLIS.jl was using an outdated duplication of blis.h:obj_t, upgrading blis_jll v0.8.1 would cause the whole BLAS interface to break down.
Resolves #9
Resolves #8

flame/blis#583 introdues 4 additional user customizable function fields.
As BLIS.jl was using an outdated duplication of blis.h:obj_t, upgrading
blis_jll v0.8.1 would cause the whole BLAS interface to break down.
This commit should resolve #9
@codecov
Copy link

codecov bot commented Feb 19, 2022

Codecov Report

Merging #10 (d59a05e) into master (1103316) will increase coverage by 0.34%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #10      +/-   ##
==========================================
+ Coverage   57.43%   57.78%   +0.34%     
==========================================
  Files          25       25              
  Lines         484      488       +4     
==========================================
+ Hits          278      282       +4     
  Misses        206      206              
Impacted Files Coverage Δ
src/backend_object/object.jl 64.10% <ø> (+1.94%) ⬆️
src/interface_linalg/level3.jl 84.11% <0.00%> (+0.30%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1103316...d59a05e. Read the comment docs.

Prompted by #9, I should limit upgradability of this wrapper.
Any upstream change should get checked for its influence on obj_t
before getting imported.

@e35cf91's additional fields should still be compatible with <=0.8.0
binaries since the leading entries of obj_t hasn't changed and here
obj_t is allocated on Julia side
@xrq-phys xrq-phys merged commit 0ab12d2 into master Feb 19, 2022
@xrq-phys xrq-phys deleted the adapt-blis2022jan branch February 19, 2022 13:14
@@ -14,4 +14,4 @@ blis_jll = "6136c539-28a5-5bf0-87cc-b183200dce32"

[compat]
julia = "1.4"
blis_jll = "0.8.0"
blis_jll = "< 0.8.2"

Choose a reason for hiding this comment

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

Thanks for the fix! Note that the registry won't like this, you should use instead something like

 blis_jll = "0.8.0-0.8.1"

(I hope I got the syntax right).

Out of curiosity, why excluding 0.8.2?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks.

There's no 0.8.2 yet. I'm somehow trying to exclude future releases being automatically installed, as it might change the contents of obj_t.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash when benchmarking BLIS.BLASInterface.axpy! Update to Version 0.8.1
2 participants