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

Possible tweak of direction - make Alien::CUDA like Alien::OpenMP? #1

Open
mohawk2 opened this issue Nov 19, 2021 · 0 comments
Open

Comments

@mohawk2
Copy link

mohawk2 commented Nov 19, 2021

I think what you're aiming to do is superb! Have you considered tweaking how it works so Inline::C (etc) can do all the compiling bits, and this thing just provides C compiler flags and so on, like https://metacpan.org/pod/Alien::OpenMP#Inline:

use Alien::CUDA; use Inline C => 'DATA', with => q/Alien::CUDA/;

If you'd like to discuss on IRC, then #native (or #pdl) on irc.perl.org would be great places to try. Or, the code in Alien::OpenMP itself is in a pretty good state to start from.

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