473,804 Members | 2,202 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 1469
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.programmin g.

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
2243
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 unmanaged code to do this? I'm wondering how I should arrange the "division of labor" between managed and unmanaged code. Let's make the example even simpler by saying that I want to design a form with a button on it. When the button is clicked, I want...
35
2843
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 same generation) hardware. Benchmarking the disk throughput and CPU basically amounts to the same figures (+/- 10%).
1
6947
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 Notation (RPN) calculator with custom buttons programmable in C#.
0
2063
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 / Bluetooth / Infrared. May I ask does serial port equal to com port? The program needs to read and write data of the smart card which places on top of the card reader. The card reader has serveral models, they support
3
1269
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 i'll be able to read the code from the card.. /dabuskol
1
906
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
1207
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 that program, close it out, and then load my own program the card runs just fine. I don't have access to the original code, is there anyone out there who knows what I'm missing? Frank B.
1
2028
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 panels can do that, but I'm not sure how to access these features... any idea which direction to look for? Thanks
0
9715
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9595
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10352
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10354
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7642
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6867
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5535
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4313
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 we have to send another system

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.