Re: can c++ code be loaded to a hardware PGA coprocessor card
- From: DerekSimmons@xxxxxxxxxxxxxxx
- Date: 4 Apr 2005 21:03:38 -0700
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.
.
- Follow-Ups:
- Re: can c++ code be loaded to a hardware PGA coprocessor card
- From: DerekSimmons
- Re: can c++ code be loaded to a hardware PGA coprocessor card
- References:
- Prev by Date: Triple DES code?
- Next by Date: Re: Triple DES code?
- Previous by thread: Re: can c++ code be loaded to a hardware PGA coprocessor card
- Next by thread: Re: can c++ code be loaded to a hardware PGA coprocessor card
- Index(es):
Relevant Pages
|