Hi Rob!

Thanks for contacting me about the CUDA module. Although I know the
most about CUDA::Minimal, I expect that that PDL folks might also have
something to say, so I've CC'd them on my response. The PDL community
is a great resource for all questions related to numerical computing,
except possibly for the BioPerl modules. Also, PDL might provide a
good place to prototype your idea before moving to CUDA. Depending on
the way in which you perform your cross product, PDL may be able to
parallelize your calculation across multiple CPUs, if your machine has
them.

A cross-product seems like it would parallelize nicely, and nVidia
even has a cross product available which you can find here:
http://http.developer.nvidia.com/Cg/cross.html. However, the module
that I wrote does not contain any Perl-callable CUDA kernels. The
module was really aimed at my own CUDA work in which I wrote all my
own kernels. If the supplied cross product does not work for you,
you'll have to write your own kernel. How much do you know about CUDA?

David

On Mon, Sep 26, 2011 at 12:17 AM, Rob Freeman <[email protected]> wrote:
> Hi David,
>
> I found your blog post doing a Google search on Perl and CUDA, and got
> your email address from the Perldl mailing list page. Hope you don't
> mind me mailing directly.
>
> I have a Perl script which tries to estimate probabilities for speech
> recognition using a kind of cross-product of large vectors of word
> associations. Run serially this is way too slow. I was casting about
> for parallel solutions. Your module looks like it might be just the
> thing.
>
> Personally I'm more of a linguist than a Perl hacker. Can you suggest
> where I might start? Would a post on the Perldl mailing list be
> appropriate? I don't have any funding for it, but there might be some
> pay-off down the track. Speech recognition is a big problem, and I'm
> exploring a novel solution.
>
> Any ideas?
>
> Cheers,
>
> Rob Freeman
>



-- 
Sent via my carrier pigeon.

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to