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

Support functions which call other user-defined functions #61

Open
kylelutz opened this issue Mar 10, 2014 · 1 comment
Open

Support functions which call other user-defined functions #61

kylelutz opened this issue Mar 10, 2014 · 1 comment

Comments

@kylelutz
Copy link
Collaborator

kylelutz commented Mar 10, 2014

It should be possible for custom functions (e.g. those created with BOOST_COMPUTE_FUNCTION()) to call other user-defined functions.

@rosenrodt
Copy link
Contributor

I am also interested in having this feature too. Also it would be very helpful if one could create a host- & device-callable function via something like BOOST_COMPUTE_HOST_DEVICE_FUNCTION() that expands to regular C host function as well as compute::function.

Then the meta_kernel class could somehow prepend the stringized device function based on information given by the user (via an extra parameter to BOOST_COMPUTE_FUNCTION()) or done automatically just by searching for matching function name

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

2 participants