Re: can c++ code be loaded to a hardware PGA coprocessor card



I've read your request for help and I have a few suggestions for you.
I don't believe moving your implemntation to FPGA and I don't see why
it isn't doable with what you already have. My area specialty is high
performance computing. In most cases, making the most out of your
hardware for solving really large problems and computationally
intensive applications. I have written multi-threaded applications in
MS Windows and UNIX. I also do embedded design. Before you make the
investment in trying to design an accelerator make the most of what you
already have.

>>From the little bit of information you have provided without knowing
what your application is, it sounds like you need to optimize you
solution for your platform. You have found an algorithm and have
created an implementation that solves your problem. Now you need to
meet a performance requirement. I'm guessing that you have an Intel
box and you said it has four processors which implies Xeon processors.
You said your application makes heavy use of geometry and matrices. The
first thing I would try to do is break the application for calculating
points, vectors and matrices. The individual components can almost
always be calculated parallel. Common exercise in multi-threaded texts
is to create a multi-threaded multiplication operation for matrices and
compare the performance to a single threaded implementation. You said
that your algorithm doesn't lend itself to a parallel implementation
then you might have to modify your implementation so that it doesn't.


Something that can be limiting you implementation is your software
tools. MS C/C++ compiler is the most common for the Windows platform
but it isn't the only one. Intel has a product called vTune. The
version I have, came with a compiler and an assembler. It allows you
perform a performance analysis. Find hot spots in your code. See what
all your processors are doing at any given time. It also lets you use
the MMX and SIMD instructions. The MS C/C++ compiler doesn't natively
compile to use these instructions. There is also a book called,
"Vector Game Math Processors" by James Leiterman. The word game in
the title is misleading because the information presented in the book
could be used for medical applications to weather forecasting.

If you want to discuss privately what you are trying to do please feel
free to contact me DerekSimmons at FrontierNet dot Net.

.



Relevant Pages

  • Re: DOS applications ?
    ... is it possible to create applications which run under MS-DOS? ... The last MS C/C++ compiler that could produce DOS programs was the ...
    (microsoft.public.vc.mfc)
  • Re: C# syntax as an option in Delphi w32
    ... monitor the Objects lifecycle. ... Each native executable has it's own heap manager, ... which are the main reason why a C++ compiler has to ... faster than heap allocations in native applications and you the GC heap ...
    (borland.public.delphi.non-technical)
  • Re: WANTED: InfoWorld Editorial, August 18, 1980, Vol.2, No.14, p.8
    ... Although CBASIC is not an optimum language, ... compiler before any error checking is performed, ... in order to run both new applications and previously-purchased ... the interpreted and compiled BASICs, ...
    (comp.os.cpm)
  • Re: Linked Lists debugger question
    ... With C++/CLI extensions, you can use this RAD paradigma for building GUIs ... I don't think I will be doing any web based applications. ... It has both a very good IDE and a very good C++ compiler. ... it still the language of choice for develloping PC based applications? ...
    (microsoft.public.vc.language)
  • Re: C/C++ Compilers Optimization Failed
    ... I used C/C++ Compiler's Optimization. ... >> xor eax, eax ... I am shocked that C/C++ Compiler did not tune optimization very well ...
    (comp.lang.asm.x86)