473,503 Members | 1,652 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

can a hardware programmable card do this?


We have a particular software project where a minority of the
function calls are taking up a majority of the cpu time.
(they do a lot of geometric, trig and other functions related
to vectors corresponding to tracks in 3d space)

We think there's not much more that can be done to speed
these functions up on the computer we have (or can have).
The question is, aren't there available now hardware cards
that you can load with particular code (that would correspond to
these functions) so that the function would be processed entirely
in hardware? The card would have a software toolkit so that
when you compile your project you could tell it to take
functions X,Y,and Z and install them on the card and then
install the special function API links from the normal software
to the card. When the program is started up, it would load the
card with the code (this way you could continue developing those
functions and then conveniently load them to hardware for speed)
for those functions. As the program runs, when it calls
functionX(arg1, arg2, etc) it would really pass the functions
information across the bus to the card, then the result back
to the calling function just like it never left software.

That seems a lot to ask but it seems I've heard that's possible?

Mark

Jul 23 '05 #1
2 1453
Mark wrote:
We have a particular software project where a minority of the
function calls are taking up a majority of the cpu time.
(they do a lot of geometric, trig and other functions related
to vectors corresponding to tracks in 3d space)

We think there's not much more that can be done to speed
these functions up on the computer we have (or can have).
I wonder if you unnecessarily limit yourself to some particular subset
of available computers...
The question is, aren't there available now hardware cards
that you can load with particular code (that would correspond to
these functions) so that the function would be processed entirely
in hardware?
If you're looking to parallelize your calculations, then, yes, there
are two approaches I've seen: special hardware and more separate CPUs
that can execute your threads. Special hardware is not the best approach
in many aspects, but in some rare cases it could be just what you need.
I would like to emphasize "rare".

Parallelizing your calculations on several CPUs using threads or fibres
is much simpler, and much more accessible to a regular developer.
The card would have a software toolkit so that
when you compile your project you could tell it to take
functions X,Y,and Z and install them on the card and then
install the special function API links from the normal software
to the card. When the program is started up, it would load the
card with the code (this way you could continue developing those
functions and then conveniently load them to hardware for speed)
for those functions. As the program runs, when it calls functionX(arg1,
arg2, etc) it would really pass the functions
information across the bus to the card, then the result back
to the calling function just like it never left software.

That seems a lot to ask but it seems I've heard that's possible?


I've heard it too. This doesn't seem like a language problem, though.
You need to find a better newsgroup to ask about this. Something
related to microprocessors, probably. Or hardware. Or the platform.
Try asking for directions in comp.programming.

V
Jul 23 '05 #2
This is not topical here.

However, whether this can be done depends on what the function does. The GPU
is not (yet) a general purpose computing device. Have a look at
http://www.gpgpu.com/.

Ares Lagae

Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2225
by: I.P. Freely | last post by:
Greetings my dear friend, Let's say I wanted to write an application that talks directly to a network card. For example, say I'm designing a firewall or packet sniffer. Do I need to use...
35
2795
by: sacha.prins | last post by:
Hi, I read a lot about DB2 INSERT performance here. I have a nice story as well. The thing is, I work on 2 installations of DB2 (on completely different locations) which run on different (but...
1
6920
by: Eric Terrell | last post by:
Folks: I've posted the full source code to C# Programmable Calculator at my website: http://www.personalmicrocosms.com/html/cspcalc.html C# Programmable Calculator is a Reverse Polish...
0
2029
by: Tom | last post by:
I am new to hardware programming. I need to write a program for reading data from Card Reader which connects to the PC windows 2000/XP OS through Interfacing The Serial / RS-232 Port / USB /...
3
1252
by: dabuskol | last post by:
Hi Guys, Does anyone of you tried to use VB .net to integrate it to hardware? I'm planning to create a program that reads the code of the person that when he swipes his card on the hardware...
1
892
by: paraidy | last post by:
Hi all, i'm searching for a method to know the hardware of my pc, processor, Video card, sound card and others, how can i do this? thx.
1
1190
by: Frank B. | last post by:
I have this T1 card that comes with a programmers manual, and when I try to intialize the card the entire computer locks up. The computer comes with a program that runs the card, and if I load...
1
2017
by: Wizfrog | last post by:
Hello, is there ways to access hardware from C#? In particluar, I am looking to change screen luminosity (or brightness/contrast values) from within a C# program. Hardware drivers / control...
0
7198
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7072
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7319
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6979
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7449
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4998
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3149
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1498
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.