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

A macro to support builtin functions, like log, exp #1

Open
byzhang opened this issue Oct 15, 2015 · 0 comments
Open

A macro to support builtin functions, like log, exp #1

byzhang opened this issue Oct 15, 2015 · 0 comments

Comments

@byzhang
Copy link
Owner

byzhang commented Oct 15, 2015

Propose: BLAZE_BUILTIN_FUNCTION(nargs, function)

The generated code is like

normalize( const DenseVector<VT,TF>& vec )

But need to handle different nargs, for reference: https://github.com/ddemidov/vexcl/blob/0411cbdc86b1efa8d33b645a82990ac09a8e60b1/vexcl/function.hpp#L338

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

No branches or pull requests

1 participant