Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
GPU computing with the MATLAB Compiler is not supported

Subject: GPU computing with the MATLAB Compiler is not supported

From: omar

Date: 6 Sep, 2010 13:54:05

Message: 1 of 11

What does this mean? i won't be able to produce .exe executables for my final product?

Subject: GPU computing with the MATLAB Compiler is not supported

From: Walter Roberson

Date: 6 Sep, 2010 18:34:17

Message: 2 of 11

On 06/09/10 8:54 AM, omar wrote:
> What does this mean? i won't be able to produce .exe executables for my
> final product?

That is correct. There are a number of Matlab functions that cannot be
compiled.

Subject: GPU computing with the MATLAB Compiler is not supported

From: Fifo

Date: 6 Sep, 2010 19:30:10

Message: 3 of 11

Walter Roberson <roberson@hushmail.com> wrote in message <Juaho.57786$co1.27596@newsfe11.iad>...
> On 06/09/10 8:54 AM, omar wrote:
> > What does this mean? i won't be able to produce .exe executables for my
> > final product?
>
> That is correct. There are a number of Matlab functions that cannot be
> compiled.

No Matlab functions can be compiled because there no such as thing as the "Matlab Compiler" ... since R13

Subject: GPU computing with the MATLAB Compiler is not supported

From: omar

Date: 6 Sep, 2010 20:33:06

Message: 4 of 11

"Fifo" <btw.fyi@hotmail.com> wrote in message <i63fg2$4e0$1@fred.mathworks.com>...
> Walter Roberson <roberson@hushmail.com> wrote in message <Juaho.57786$co1.27596@newsfe11.iad>...
> > On 06/09/10 8:54 AM, omar wrote:
> > > What does this mean? i won't be able to produce .exe executables for my
> > > final product?
> >
> > That is correct. There are a number of Matlab functions that cannot be
> > compiled.
>
> No Matlab functions can be compiled because there no such as thing as the "Matlab Compiler" ... since R13

Could you please elaborate? i mean will i be able to get a release executable or not?

Subject: GPU computing with the MATLAB Compiler is not supported

From: omar

Date: 6 Sep, 2010 20:35:26

Message: 5 of 11

"Fifo" <btw.fyi@hotmail.com> wrote in message <i63fg2$4e0$1@fred.mathworks.com>...
> Walter Roberson <roberson@hushmail.com> wrote in message <Juaho.57786$co1.27596@newsfe11.iad>...
> > On 06/09/10 8:54 AM, omar wrote:
> > > What does this mean? i won't be able to produce .exe executables for my
> > > final product?
> >
> > That is correct. There are a number of Matlab functions that cannot be
> > compiled.
>
> No Matlab functions can be compiled because there no such as thing as the "Matlab Compiler" ... since R13

Could you please elaborate? does this mean i will be able to get a release executable or not?

Subject: GPU computing with the MATLAB Compiler is not supported

From: Walter Roberson

Date: 6 Sep, 2010 20:55:34

Message: 6 of 11

On 06/09/10 3:33 PM, omar wrote:
> "Fifo" <btw.fyi@hotmail.com> wrote in message
> <i63fg2$4e0$1@fred.mathworks.com>...
>> Walter Roberson <roberson@hushmail.com> wrote in message
>> <Juaho.57786$co1.27596@newsfe11.iad>...
>> > On 06/09/10 8:54 AM, omar wrote:
>> > > What does this mean? i won't be able to produce .exe executables
>> for my
>> > > final product?
>> > > That is correct. There are a number of Matlab functions that
>> cannot be > compiled.
>>
>> No Matlab functions can be compiled because there no such as thing as
>> the "Matlab Compiler" ... since R13
>
> Could you please elaborate? i mean will i be able to get a release
> executable or not?

"Fifo" is referring to the fact that before that time, the product
labeled the "Matlab Compiler" generated C code that could be compiled to
an executable by your favourite C compiler. Since that time, though, the
product labeled "Matlab Compiler" now generates a data file of threaded
code that reference functions in the Matlab Component Runtime (MCR)
libraries. Using the current "Matlab Compiler" generates an .exe (if you
target MS Windows as the OS) that basically just fires up the
interpreter that runs the threaded code.

There are, however, a number of Matlab functions that cannot be
converted with the current "Matlab Compiler" tool. For example, the
program development tool "GUIDE" cannot be converted. For more
information see

http://www.mathworks.com/help/toolbox/compiler/br2cqa0-2.html
http://www.mathworks.com/products/compiler/compiler_support.html
http://www.mathworks.com/products/ineligible_programs/

Although the documentation there says that all command-line
functionality for the Parallel Computing Toolkit can be compiled, the
usage documentation about GPU functions specifically contain the exact
line you quoted.

I do not know if you will be able to generate an executable that
contains a gpu call or not -- but if you are able to generate such an
executable, it will either fail at start-up time or fail when a gpu
function is invoked.

Subject: GPU computing with the MATLAB Compiler is not supported

From: omar

Date: 6 Sep, 2010 21:09:05

Message: 7 of 11

Walter Roberson <roberson@hushmail.com> wrote in message <bzcho.172499$1F6.137984@newsfe01.iad>...
> On 06/09/10 3:33 PM, omar wrote:
> > "Fifo" <btw.fyi@hotmail.com> wrote in message
> > <i63fg2$4e0$1@fred.mathworks.com>...
> >> Walter Roberson <roberson@hushmail.com> wrote in message
> >> <Juaho.57786$co1.27596@newsfe11.iad>...
> >> > On 06/09/10 8:54 AM, omar wrote:
> >> > > What does this mean? i won't be able to produce .exe executables
> >> for my
> >> > > final product?
> >> > > That is correct. There are a number of Matlab functions that
> >> cannot be > compiled.
> >>
> >> No Matlab functions can be compiled because there no such as thing as
> >> the "Matlab Compiler" ... since R13
> >
> > Could you please elaborate? i mean will i be able to get a release
> > executable or not?
>
> "Fifo" is referring to the fact that before that time, the product
> labeled the "Matlab Compiler" generated C code that could be compiled to
> an executable by your favourite C compiler. Since that time, though, the
> product labeled "Matlab Compiler" now generates a data file of threaded
> code that reference functions in the Matlab Component Runtime (MCR)
> libraries. Using the current "Matlab Compiler" generates an .exe (if you
> target MS Windows as the OS) that basically just fires up the
> interpreter that runs the threaded code.
>
> There are, however, a number of Matlab functions that cannot be
> converted with the current "Matlab Compiler" tool. For example, the
> program development tool "GUIDE" cannot be converted. For more
> information see
>
> http://www.mathworks.com/help/toolbox/compiler/br2cqa0-2.html
> http://www.mathworks.com/products/compiler/compiler_support.html
> http://www.mathworks.com/products/ineligible_programs/
>
> Although the documentation there says that all command-line
> functionality for the Parallel Computing Toolkit can be compiled, the
> usage documentation about GPU functions specifically contain the exact
> line you quoted.
>
> I do not know if you will be able to generate an executable that
> contains a gpu call or not -- but if you are able to generate such an
> executable, it will either fail at start-up time or fail when a gpu
> function is invoked.

Ok thanks alot.

Subject: GPU computing with the MATLAB Compiler is not supported

From: omar

Date: 6 Sep, 2010 22:47:05

Message: 8 of 11

Walter Roberson <roberson@hushmail.com> wrote in message <bzcho.172499$1F6.137984@newsfe01.iad>...
> On 06/09/10 3:33 PM, omar wrote:
> > "Fifo" <btw.fyi@hotmail.com> wrote in message
> > <i63fg2$4e0$1@fred.mathworks.com>...
> >> Walter Roberson <roberson@hushmail.com> wrote in message
> >> <Juaho.57786$co1.27596@newsfe11.iad>...
> >> > On 06/09/10 8:54 AM, omar wrote:
> >> > > What does this mean? i won't be able to produce .exe executables
> >> for my
> >> > > final product?
> >> > > That is correct. There are a number of Matlab functions that
> >> cannot be > compiled.
> >>
> >> No Matlab functions can be compiled because there no such as thing as
> >> the "Matlab Compiler" ... since R13
> >
> > Could you please elaborate? i mean will i be able to get a release
> > executable or not?
>
> "Fifo" is referring to the fact that before that time, the product
> labeled the "Matlab Compiler" generated C code that could be compiled to
> an executable by your favourite C compiler. Since that time, though, the
> product labeled "Matlab Compiler" now generates a data file of threaded
> code that reference functions in the Matlab Component Runtime (MCR)
> libraries. Using the current "Matlab Compiler" generates an .exe (if you
> target MS Windows as the OS) that basically just fires up the
> interpreter that runs the threaded code.
>
> There are, however, a number of Matlab functions that cannot be
> converted with the current "Matlab Compiler" tool. For example, the
> program development tool "GUIDE" cannot be converted. For more
> information see
>
> http://www.mathworks.com/help/toolbox/compiler/br2cqa0-2.html
> http://www.mathworks.com/products/compiler/compiler_support.html
> http://www.mathworks.com/products/ineligible_programs/
>
> Although the documentation there says that all command-line
> functionality for the Parallel Computing Toolkit can be compiled, the
> usage documentation about GPU functions specifically contain the exact
> line you quoted.
>
> I do not know if you will be able to generate an executable that
> contains a gpu call or not -- but if you are able to generate such an
> executable, it will either fail at start-up time or fail when a gpu
> function is invoked.

So this means i will NOT be able to deploy my program on the client's machine? Then whats the point in using it? do experiments in the lab and NOT produce a distributable application?!

Subject: GPU computing with the MATLAB Compiler is not supported

From: Walter Roberson

Date: 7 Sep, 2010 03:35:12

Message: 9 of 11

On 06/09/10 5:47 PM, omar wrote:
> Walter Roberson <roberson@hushmail.com> wrote in message

>> I do not know if you will be able to generate an executable that
>> contains a gpu call or not -- but if you are able to generate such an
>> executable, it will either fail at start-up time or fail when a gpu
>> function is invoked.

> So this means i will NOT be able to deploy my program on the client's
> machine? Then whats the point in using it? do experiments in the lab and
> NOT produce a distributable application?!

GPUs are not intended to provide _new_ computing services, they are
intended to speed up computations. In theory you should be able to take
your existing program and convert it to non-GPU use, except perhaps slower.

Beyond that: I don't know. I am a research user doing biomedical
programming, not a Mathworks employee, and Mathworks has never told me
anything confidential or trade secret, nor have they ever filled me in
on their marketing strategy or development plans. I do not know why they
do things the way they do. You should discuss this matter with your
account representative.

Subject: GPU computing with the MATLAB Compiler is not supported

From: omar

Date: 8 Sep, 2010 00:09:07

Message: 10 of 11

Walter Roberson <roberson@hushmail.com> wrote in message <Qpiho.122832$xZ2.101581@newsfe07.iad>...
> On 06/09/10 5:47 PM, omar wrote:
> > Walter Roberson <roberson@hushmail.com> wrote in message
>
> >> I do not know if you will be able to generate an executable that
> >> contains a gpu call or not -- but if you are able to generate such an
> >> executable, it will either fail at start-up time or fail when a gpu
> >> function is invoked.
>
> > So this means i will NOT be able to deploy my program on the client's
> > machine? Then whats the point in using it? do experiments in the lab and
> > NOT produce a distributable application?!
>
> GPUs are not intended to provide _new_ computing services, they are
> intended to speed up computations. In theory you should be able to take
> your existing program and convert it to non-GPU use, except perhaps slower.
>
> Beyond that: I don't know. I am a research user doing biomedical
> programming, not a Mathworks employee, and Mathworks has never told me
> anything confidential or trade secret, nor have they ever filled me in
> on their marketing strategy or development plans. I do not know why they
> do things the way they do. You should discuss this matter with your
> account representative.

Thanks for your help, i really appreciate it and i'm sorry if my language was aggressive its just that i'm really upset since i don't see any reason why this shouldn't be included, given that CUDA is in fact a C framework.

Again, Sorry and thanks a lot for your kind responses.

Subject: GPU computing with the MATLAB Compiler is not supported

From: Torben Larsen

Date: 9 Sep, 2010 16:33:23

Message: 11 of 11

"omar " <elcid247@hotmail.com> wrote in message <i66k73$931$1@fred.mathworks.com>...
> Walter Roberson <roberson@hushmail.com> wrote in message <Qpiho.122832$xZ2.101581@newsfe07.iad>...
> > On 06/09/10 5:47 PM, omar wrote:
> > > Walter Roberson <roberson@hushmail.com> wrote in message
> >
> > >> I do not know if you will be able to generate an executable that
> > >> contains a gpu call or not -- but if you are able to generate such an
> > >> executable, it will either fail at start-up time or fail when a gpu
> > >> function is invoked.
> >
> > > So this means i will NOT be able to deploy my program on the client's
> > > machine? Then whats the point in using it? do experiments in the lab and
> > > NOT produce a distributable application?!
> >
> > GPUs are not intended to provide _new_ computing services, they are
> > intended to speed up computations. In theory you should be able to take
> > your existing program and convert it to non-GPU use, except perhaps slower.
> >
> > Beyond that: I don't know. I am a research user doing biomedical
> > programming, not a Mathworks employee, and Mathworks has never told me
> > anything confidential or trade secret, nor have they ever filled me in
> > on their marketing strategy or development plans. I do not know why they
> > do things the way they do. You should discuss this matter with your
> > account representative.
>
> Thanks for your help, i really appreciate it and i'm sorry if my language was aggressive its just that i'm really upset since i don't see any reason why this shouldn't be included, given that CUDA is in fact a C framework.
>
> Again, Sorry and thanks a lot for your kind responses.

Hi.

Seems to me that JMC from http://www.accelereyes.com/products/jacketjmc precisely allows you to have a compiled version of your code while taking advantage of GPU/GPUs.

Torben

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us