Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Owl now compatible with latest version of Ctypes#508

Merged
mseri merged 9 commits intoowlbarn:masterfrom
tachukao:ctypes
Feb 28, 2020
Merged

Owl now compatible with latest version of Ctypes#508
mseri merged 9 commits intoowlbarn:masterfrom
tachukao:ctypes

Conversation

@tachukao
Copy link
Member

This PR makes Owl compatible with the latest version of Ctypes see #489

Changes are made to the lapacke and cblas parser and generated files as well as owl_maths_special.ml.

@mseri
Copy link
Member

mseri commented Feb 28, 2020

Do youneed to run ocamlformat on the generated files? I am surprised that the diff is so large

@tachukao
Copy link
Member Author

Do youneed to run ocamlformat on the generated files? I am surprised that the diff is so large

hmmm I didn't actually apply ocamlformat, but maybe that's the problem...

@mseri
Copy link
Member

mseri commented Feb 28, 2020

Do youneed to run ocamlformat on the generated files? I am surprised that the diff is so large

hmmm I didn't actually apply ocamlformat, but maybe that's the problem...

Sorry, that’s exactly what I meant, if you needed to ocamlformat them to reduce the diff

@tachukao
Copy link
Member Author

Indeed, after applying ocamlformat the diffs are smaller

Copy link
Member

@mseri mseri left a comment

Choose a reason for hiding this comment

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

Once a lower bound on ctypes is added, this is good to merge for me. I may also backport the changes and draft a 0.8.1 release without 4.10.0 as well. Then I suggest we release 0.9.0 moving to ocaml 4.10

@yallop
Copy link
Contributor

yallop commented Feb 28, 2020

If you haven't already, it'd be worth testing this against ctypes 0.17.1 (which makes some small changes related to the internal-interface changes in 0.17.0).

@mseri
Copy link
Member

mseri commented Feb 28, 2020

Indeed, thanks! @tachukao can you pin the latest ctypes and check?

@tachukao
Copy link
Member Author

I can't find ctypes 0.17.1 on opam yet, but I tried pinning to the dev version on github, and it seems to work.

@mseri
Copy link
Member

mseri commented Feb 28, 2020

Great! Thanks @tachukao and @yallop

@mseri mseri merged commit f7046fe into owlbarn:master Feb 28, 2020
mseri added a commit to mseri/opam-repository that referenced this pull request Mar 3, 2020
CHANGES:

* owl: sync opam files versioning
* added stack function (owlbarn/owl#506)
* Owl now compatible with latest version of Ctypes (owlbarn/owl#508)
* Fix bug in _squeeze_broadcast (owlbarn/owl#503)
* using extended indexing operator since ocaml 4.10.0
* [breaking] Drop support for ocaml < 4.10.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants