The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: MATLAB functions in CUDA Kernel
Replies: 1   Last Post: Nov 19, 2012 3:52 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Edric Ellis

Posts: 721
Registered: 12/7/04
Re: MATLAB functions in CUDA Kernel
Posted: Nov 19, 2012 3:52 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Jerome " <> writes:

> I am interested in calling certain MATLAB functions, such as fft and
> repmat in my cuda kernel but I haven't seen any third party libraries
> to support this. Does anyone know how I can accomplished this without
> rewriting a lot of the functions by hand.

Things like FFT are kernel launches in their own right - and as such
might possibly be supported by the dynamic parallelism available in
CUDA-5 on Kepler class cards. However, MATLAB/PCT (as of R2012b) does
not yet support CUDA-5 (since it was released after the release of
R2012b), so you could not use it with MATLAB/PCT.

I'm not sure how well this would work out though even it were supported
(and CUFFT does not support on-device calls in CUDA-5; only the CUBLAS
library has that support) - you may well be better off performing your
REPMAT/FFT type stuff outside the CUDAKernel piece.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.