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

Fix for 0.6 #23

Merged
merged 1 commit into from
Jan 5, 2017
Merged

Fix for 0.6 #23

merged 1 commit into from
Jan 5, 2017

Conversation

yuyichao
Copy link
Contributor

@yuyichao yuyichao commented Dec 31, 2016

  • Fix vectorized function depwarn
  • Remove cfunction cache
  • Avoid dynamic dispatch in callback

DO NOT MERGE NOW!

~~The broadcast fix is independent and is missing @compat. The cfunction fix requires JuliaLang/julia#19801 and can also be further improved to eliminate dynamic dispatch in the callback. This is used mainly as a use/test case for JuliaLang/julia#19801. ~~

* Fix vectorized function depwarn
* Remove `cfunction` cache
* Avoid dynamic dispatch in callback
@yuyichao yuyichao changed the title [WIP] Fix for 0.6 Fix for 0.6 Jan 1, 2017
@yuyichao
Copy link
Contributor Author

yuyichao commented Jan 1, 2017

This version passes tests on 0.4, 0.5 and 0.6 with JuliaLang/julia#19801. It should not have any dynamic dispatch in the callback on 0.5 and 0.6.

@yuyichao
Copy link
Contributor Author

yuyichao commented Jan 5, 2017

I should mention that the fix does not rely on JuliaLang/julia#19801 anymore and should be ready to go.

@stevengj stevengj merged commit 73c92cd into JuliaMath:master Jan 5, 2017
@stevengj
Copy link
Member

stevengj commented Jan 5, 2017

Thanks! Can you put together a PR to update the C-callback blog post at some point?

@yuyichao yuyichao deleted the 0.6 branch January 5, 2017 13:20
@yuyichao
Copy link
Contributor Author

yuyichao commented Jan 5, 2017

Well, I guess it's still unclear what JuliaLang/julia#19801 will become. Currently there isn't a semantic for cfunction so it's hard to describe...

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.

2 participants