From: Guoliang on
There are two potential solutions.

1. Target Function Library,

TFL now supports a set of BLAS functions. But not complete.

2. create your own block for each cuda function and TLC files and use inlined Sfunctions.

hth

"Corey " <coreyslick.removethis(a)gmail.com> wrote in message <hilf0o$9i4$1(a)fred.mathworks.com>...
> Hello,
>
> Does anyone know if it's possible to compile Simulink models that use CUDA-based S-functions, using Real-Time Workshop Embedded Coder (either ert.tlc or ert_shrlib.tlc targets)?
>
> I've got the example posted here working (running normally in Simulink):
> http://cs.ucf.edu/~janaka/gpu/simulink_cuda.htm
>
> I'm interested in taking this one step further, and building the entire model into code or a DLL that I could call from external code.
>
> Thanks,
> Corey
 | 
Pages: 1
Prev: a simple question
Next: NaN location