Re: [fpc-pascal] OpenCL

2009-12-29 Thread Lourival Mendes
try boyarintsev : > On Tue, Dec 29, 2009 at 3:36 PM, Lourival Mendes > wrote: >>   Sorry for my dummy questions, but if I got the idea, the OpenCL >> implementation, from NVidia for Windows, is available as .dll. and the >> Pascal binding should be adapted to work with

Re: [fpc-pascal] OpenCL

2009-12-29 Thread Lourival Mendes
correctly, for while, OpenCL is not available in a spread way to work in Windows, Mac and so on, but probably CUDA is, but we don't have bindings for Pascal code yet. Hugs Lourival 2009/12/28 dmitry boyarintsev : > On Tue, Dec 22, 2009 at 2:26 PM, Lourival Mendes > wrote: >> please

Re: [fpc-pascal] OpenCL

2009-12-22 Thread Lourival Mendes
t and try it on Windows? Lourival 2009/12/22 Michalis Kamburelis : > Lourival Mendes wrote: >> FPC/Lazarus. Is there a project on it? Is there some thing working on >> Parallel programming on FPC? > > There are OpenCL bindings submitted to mantis, > http://mantis.free

[fpc-pascal] OpenCL

2009-12-21 Thread Lourival Mendes
Dear All, Speaking with a friend about parallel programming he told me something about OpenCL as been the "future" of massively parallel computing, mainly because of the standards and the access to GPU cores. I read something about on the web and If I understood right, there is a way to compile

[fpc-pascal] Doubts

2009-05-06 Thread Lourival Mendes
Dear all, I would like to write a program that must work in MS DOS with an input from file and output to another file, also I would like to compile the same program in linux with the same premises (input and output to files). Another doubt, is it possible to use GSL or Newmat as a library in

Re: [fpc-pascal] Translate C to Pascal

2008-07-30 Thread Lourival Mendes
; This is the reason that I do believe that is missing something on the code: struct a; Best Regards Lourival Mendes 2008/7/30 Jilani Khaldi <[EMAIL PROTECTED]>: > Gene Buckle wrote: >>> >>> How to translate this: >>> >>&

Re: [fpc-pascal] assigning a local function to a var

2008-07-10 Thread Lourival Mendes
Dear David, Sorry for my question, probably I didn't get the real idea of what you need, but I didn't see why the revised version didn't work. Actually, I would write it like: procedure test; var what_to_say : ansistring; procedure proc_a; begin writeln ('A says, "',

Re: [fpc-pascal] assigning a local function to a var

2008-07-09 Thread Lourival Mendes
y_func('hello, '); end else begin . end; end; Try it and let me know... Lourival Mendes 2008/7/9 David Emerson <[EMAIL PROTECTED]>: > I'd like to store an address of a local function in a variable, and call > that local function, but I don't know how to

Re: [fpc-pascal] code speed and size on various platforms

2008-06-18 Thread Lourival Mendes
Unfortunately I don't have the license for C version or anyone. Is there any other source?? I would like to create or have a Math.pas unity complete for scientific reasons... 2008/6/18, Michael Van Canneyt <[EMAIL PROTECTED]>: > > > On Wed, 18 Jun 2008, Lourival Mendes wr

Re: [fpc-pascal] code speed and size on various platforms

2008-06-18 Thread Lourival Mendes
But is it free avaiable? Or only in the book?? 2008/6/18, Michael Van Canneyt <[EMAIL PROTECTED]>: > > > On Tue, 17 Jun 2008, Lourival Mendes wrote: > > > Dear all users, > > > >I'm looking for an unity for calculus of some more complex > >

Re: [fpc-pascal] code speed and size on various platforms

2008-06-17 Thread Lourival Mendes
Thanks Paul 2008/6/17 Paul Nicholls <[EMAIL PROTECTED]>: > "Lourival Mendes" <[EMAIL PROTECTED]> > wrote in message > news:[EMAIL PROTECTED] >> >> Dear all users, >> >> I'm looking for an unity for calculus of some more complex >&

Re: [fpc-pascal] code speed and size on various platforms

2008-06-17 Thread Lourival Mendes
Dear all users, I'm looking for an unity for calculus of some more complex functions in Pascal than those avaiable in the Delphi math.pas unity. For a more specific case I would like to calculate FFT and IFFT of some signal data. Does the FPC has some? Is it possible to use it in Delphi ? Does

Re: [fpc-pascal] MPICH on Pascal

2008-01-09 Thread Lourival Mendes
Dear Mattias, Sorry for my dunce mistake I made it wrong on the: const External_library='mpich2'; {Setup as you need} Now the helloworld worked in a one dual core computer, next I will try others. Thanks again for your attention and patience Lourival 2008/1/7, Louri

Re: [fpc-pascal] MPICH on Pascal

2007-12-21 Thread Lourival Mendes
2007/12/19, Mattias Gaertner <[EMAIL PROTECTED]>: > On Wed, 19 Dec 2007 13:17:50 -0300 > "Lourival Mendes" <[EMAIL PROTECTED]> wrote: > > >Dear Mattias... sorry to bother again, but as I'm new to Lazarus I > > can't see somethings. > >

Re: [fpc-pascal] MPICH on Pascal

2007-12-19 Thread Lourival Mendes
{$linklib c} Under Windows and this library is for linux... am I right?? So doyou know what would be the lib for windows?? Thanks again Lourival 2007/12/19, Lourival Mendes <[EMAIL PROTECTED]>: > No problem... I will do it... > > > Lourival Mendes > > 2007/12/19, Matti

Re: [fpc-pascal] MPICH on Pascal

2007-12-19 Thread Lourival Mendes
No problem... I will do it... Lourival Mendes 2007/12/19, Mattias Gaertner <[EMAIL PROTECTED]>: > On Wed, 19 Dec 2007 09:54:16 -0300 > "Lourival Mendes" <[EMAIL PROTECTED]> wrote: > > > Ok Mattias, > > > >Now I see all the files... I had to

Re: [fpc-pascal] MPICH on Pascal

2007-12-19 Thread Lourival Mendes
Ok Mattias, Now I see all the files... I had to change my extractor to the TUGZip instead of WinRAR Now I'm going to try all the examples and those stuff Thanks a lot for your help Lourival 2007/12/19, Lourival Mendes <[EMAIL PROTECTED]>: > Dear Mattias, > > Wh

Re: [fpc-pascal] MPICH on Pascal

2007-12-19 Thread Lourival Mendes
2007 09:11:05 -0300 > "Lourival Mendes" <[EMAIL PROTECTED]> wrote: > > >Hy everybody, > > > >I posted here some time ago some concerns about the MPICH on > > Pascal. I do remember that we had some discussion about this topic and > > now I'm

[fpc-pascal] MPICH on Pascal

2007-12-19 Thread Lourival Mendes
Hy everybody, I posted here some time ago some concerns about the MPICH on Pascal. I do remember that we had some discussion about this topic and now I'm getting back again. On the http://wiki.freepascal.org/MPICH there is an note on the MPI binding for fpc/lazarus "Get/Compile the MPI b

Re: [fpc-pascal] Arrays of objects

2007-10-31 Thread Lourival Mendes
Dear Joao, I do beleive that the SetLength only resize the array, ie: The Vetor has 3 elements like: Vetor[0]:= 1 Vetor[1]:= 2 Vetor[2]:= 3 And then eu want the same variable but with only 2 element, then SetLength(Vetor, 2) Vetor[0]:= 1 Vetor[1]:= 2 As you can see you

[fpc-pascal] MPICH2 on FPC

2007-10-22 Thread Lourival Mendes
Hy everybody, I would like to use the MPICH2 on Lazarus or FPC, and as far as I see on the net there is the H2Pas tool on Lazarus that does a binding from the headers file of the MPICH2 to PAS file, but I still have some troubles on using it, does some one did it before?? here is the link: http:/