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 skalogryz.li...@gmail.com: On Tue, Dec 22, 2009 at 2:26 PM, Lourival Mendes mendes.louri

Re: [fpc-pascal] OpenCL

2009-12-29 Thread Lourival Mendes
skalogryz.li...@gmail.com: On Tue, Dec 29, 2009 at 3:36 PM, Lourival Mendes mendes.louri...@gmail.com 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

Re: [fpc-pascal] OpenCL

2009-12-22 Thread Lourival Mendes
it on Windows? Lourival 2009/12/22 Michalis Kamburelis michalis.ka...@gmail.com: 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.freepascal.org/view.php?id=15297

[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

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: struct a; a: pointer; -- Jilani KHALDI

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
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 define a variable of type local function. Here's the error

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 wrote: But is it free

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, Lourival Mendes

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. When I loaded the HelloWorld from the examples I got this error

[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

Re: [fpc-pascal] MPICH on Pascal

2007-12-19 Thread Lourival Mendes
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 getting back again. On the http://wiki.freepascal.org/MPICH there is an note on the MPI

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, When I unpack the file mpich2

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 change my extractor to the TUGZip instead of WinRAR Now

Re: [fpc-pascal] MPICH on Pascal

2007-12-19 Thread Lourival Mendes
} 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, Mattias Gaertner [EMAIL PROTECTED]: On Wed, 19 Dec

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

[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: