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

Add non-legacy mechanism for defining operators #19

Open
zdevito opened this issue Jun 8, 2017 · 0 comments
Open

Add non-legacy mechanism for defining operators #19

zdevito opened this issue Jun 8, 2017 · 0 comments

Comments

@zdevito
Copy link
Owner

zdevito commented Jun 8, 2017

Currently everything needs to be TH. We should have a way to define a new operator given a cwrap declaration and a templated function that takes the scalar type and processor as template arguments and can do whatever it wants with them.

For methods, this has to be part of the actual library.

For functions, this can be either as part of TensorLib, or as standalone a user can run to produce their own equivalents to Function.h (including optional/output arguments).

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

No branches or pull requests

1 participant