Tom's Hardware > Forum > Graphic & Displays > Nvidia > How to execute code on graphics processor?

How to execute code on graphics processor?

Forum Graphic & Displays : Nvidia - How to execute code on graphics processor?

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: alt.comp.periphs.videocards.nvidia (More info?)

 

Newbie question

I have a nVidia GeForce 6800 Ultra running with a dual Zeon 3.0 GHz and Linux
Knoppix v3.4. I am curious to see if it would be possible to offload the CPU by
moving some math operations in my program to the graphics processor on the video
card.

For example, assume that I have two matrices, A and B and I want to multiply
them together and store the result in a third matrix, C. Where
for (row=0; row<maxRows; ++row) {
for (column=0; column<maxColumns; ++column) {
C[row][column] = A[row][column] * B[row][column]
}
}
Instead of executing this code on the CPU, I want the main program to send this
to the graphics processor for calculation and then return the result back to the
main program.

I have a lot of experience with C/C++ programming, but none in interacting with
a video card. Are there any libraries, published API's, etc available to help
with this endeavor? Tips, comments, links, book recommendations, etc are
greatly welcomed.

Thanks.

Sponsored Links
Register or log in to remove.

Archived from groups: alt.comp.periphs.videocards.nvidia (More info?)

 

This has been done more than once already. There is a open source library
for certain math operations that was announced some months ago on the major
news sites, as well as a music application that does mathematical
convolution on the videocard that was announced on hardocp et all a couple
weeks ago. Time for some googling.

rms

Reply to rms

Archived from groups: alt.comp.periphs.videocards.nvidia (More info?)

 

Are you some sort of electronic circuit designr or something Hmm I just
can't figure it out why you would want a 6800 ultra with XEON(dual) CPU...

"O.B." <funkjunk@bellsouth.net> wrote in message
news:10kepsoc6bn4bd6@corp.supernews.com...
> Newbie question
>
> I have a nVidia GeForce 6800 Ultra running with a dual Zeon 3.0 GHz and
> Linux Knoppix v3.4. I am curious to see if it would be possible to
> offload the CPU by moving some math operations in my program to the
> graphics processor on the video card.
>
> For example, assume that I have two matrices, A and B and I want to
> multiply them together and store the result in a third matrix, C. Where
> for (row=0; row<maxRows; ++row) {
> for (column=0; column<maxColumns; ++column) {
> C[row][column] = A[row][column] * B[row][column]
> }
> }
> Instead of executing this code on the CPU, I want the main program to send
> this to the graphics processor for calculation and then return the result
> back to the main program.
>
> I have a lot of experience with C/C++ programming, but none in interacting
> with a video card. Are there any libraries, published API's, etc
> available to help with this endeavor? Tips, comments, links, book
> recommendations, etc are greatly welcomed.
>
> Thanks.
>

Reply to Chingy

Archived from groups: alt.comp.periphs.videocards.nvidia (More info?)

 

On Tue, 14 Sep 2004 16:50:16 -0500, "O.B." <funkjunk@bellsouth.net>
wrote:

>Newbie question
>
>I have a nVidia GeForce 6800 Ultra running with a dual Zeon 3.0 GHz and Linux
>Knoppix v3.4. I am curious to see if it would be possible to offload the CPU by
>moving some math operations in my program to the graphics processor on the video
>card.

you´ve been thinking something about this?
http://www.bionicfx.com/
--
Regards, SPAJKY ®
& visit my site @ http://www.spajky.vze.com
"Tualatin OC-ed / BX-Slot1 / inaudible setup!"
E-mail AntiSpam: remove ##

Reply to Spajky

Archived from groups: alt.comp.periphs.videocards.nvidia (More info?)

 

On Wed, 15 Sep 2004 20:35:01 +0200, Spajky wrote:

> you´ve been thinking something about this?
> http://www.bionicfx.com/

An absolutely freaking marvellous link. Thanks :)

--
Jafar Calley
-----BEGIN GEEK CODE BLOCK-----
d+ s-:+ a C++++ L++ E--- W++ N++ w-- PE- t* 5++ R+ !tv D+ G e* h---- x?
------END GEEK CODE BLOCK------
Registered Linux User #359623
http://fatcatftp.homelinux.org

Reply to jafar

Archived from groups: alt.comp.periphs.videocards.nvidia (More info?)

 

"Chingy" <lakiri@lakara.com> wrote in message news:<ci8nn2$1716$1@otis.netspace.net.au>...
> Are you some sort of electronic circuit designr or something Hmm I just
> can't figure it out why you would want a 6800 ultra with XEON(dual) CPU...

It could just be a home PC :) I'd like a dual Xeon for home if I had
the $. If the GPU could be utilized for math operations it would
completely kill any CPU out there right now. If I remember correctly
from that music application that makes use of the GPU your talking 40
million floating point operations per second versus 5. The current
generation of 3d cards are the only ones AFAIK that would be
programmable in any way. And the new Nvidias are most programmable.

Eric

Reply to Anonymous

Archived from groups: alt.comp.periphs.videocards.nvidia (More info?)

 

Look at http://www.gpgpu.org/



--
___________________________________________
John G. Shaw (from home)

Notes:
1. Attachments greater than 100K will be deleted!
___________________________________________

"O.B." <funkjunk@bellsouth.net> wrote in message
news:10kepsoc6bn4bd6@corp.supernews.com...
> Newbie question
>
> I have a nVidia GeForce 6800 Ultra running with a dual Zeon 3.0 GHz and
> Linux Knoppix v3.4. I am curious to see if it would be possible to
> offload the CPU by moving some math operations in my program to the
> graphics processor on the video card.
>
> For example, assume that I have two matrices, A and B and I want to
> multiply them together and store the result in a third matrix, C. Where
> for (row=0; row<maxRows; ++row) {
> for (column=0; column<maxColumns; ++column) {
> C[row][column] = A[row][column] * B[row][column]
> }
> }
> Instead of executing this code on the CPU, I want the main program to send
> this to the graphics processor for calculation and then return the result
> back to the main program.
>
> I have a lot of experience with C/C++ programming, but none in interacting
> with a video card. Are there any libraries, published API's, etc
> available to help with this endeavor? Tips, comments, links, book
> recommendations, etc are greatly welcomed.
>
> Thanks.
>

Reply to Anonymous
Tom's Hardware > Forum > Graphic & Displays > Nvidia > How to execute code on graphics processor?
Go to:

There are 892 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them