Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Using GPU as co-processor

6 views
Skip to first unread message

Sander Vesik

unread,
Sep 10, 2003, 12:33:35 AM9/10/03
to
OK, HEADS UP all the peopel wanting to use GPU for general
processing, or at least image processing it was not designed
for - see

http://www.gpgpu.org/

Among other things there is a link to doing photon mapping on
the GPU - so maybe we can do ray tracing on the GPU-s soon
enough. INterestingly, there don't seem to be that many
"traditional DSP" or crypto approaches around.

Ok, this means I was wrong on the "you don't want to use GPU
as a general co-processor" thing.

--
Sander

+++ Out of cheese error +++

Stephen Fuld

unread,
Sep 10, 2003, 12:32:01 PM9/10/03
to

"Sander Vesik" <san...@haldjas.folklore.ee> wrote in message
news:10631684...@haldjas.folklore.ee...

Another article (albeit at a less technical level) that describes some of
what is being done now is at

http://www.tugnet.org/na2003_8.htm

It seems the video card manufacturers are getting together with the image
manipulation software providers to implement some manipulations on the GPU
instead of the CPU.

--
- Stephen Fuld
e-mail address disguised to prevent spam


Robert Myers

unread,
Sep 10, 2003, 12:47:01 PM9/10/03
to
On Wed, 10 Sep 2003 16:32:01 GMT, "Stephen Fuld"
<s.f...@PleaseRemove.att.net> wrote:

<snip>


>
>Another article (albeit at a less technical level) that describes some of
>what is being done now is at
>
>http://www.tugnet.org/na2003_8.htm
>
>It seems the video card manufacturers are getting together with the image
>manipulation software providers to implement some manipulations on the GPU
>instead of the CPU.

Maybe these developments will free up Intel's imagination to do
something really well other than media creation. Yes, that's flame
bait.

RM

Sander Vesik

unread,
Sep 10, 2003, 4:59:18 PM9/10/03
to

Well, so far most people seem to be pretty low on imagination, not just Intel.
Some of the more interesting projects on the site were sponsored by NVIDIA
after all. I would have expected more from people with connections to bigger
name softaware houses and similar.

>
> RM

Thomas Womack

unread,
Sep 11, 2003, 12:22:51 PM9/11/03
to
In article <10631684...@haldjas.folklore.ee>,

Sander Vesik <san...@haldjas.folklore.ee> wrote:
>OK, HEADS UP all the peopel wanting to use GPU for general
>processing, or at least image processing it was not designed
>for - see
>
> http://www.gpgpu.org/
>
>Among other things there is a link to doing photon mapping on
>the GPU - so maybe we can do ray tracing on the GPU-s soon
>enough. INterestingly, there don't seem to be that many
>"traditional DSP" or crypto approaches around.

Anything that you can implement in bit-sliced mode you can run on
a GPU, for obvious reasons (have your x AND y, x OR y, x XOR y
textures, and instead of R83 = R59 op R117, you set up a short
texture-shader program to shade with t1[t2[x,y],t3[x,y]]). Never
actually got this implemented: actually writing the bits of DirectX
to draw the objects is horrible, and I couldn't quite figure out
how to get it to use 8-bit grey-scale textures rather than 32-bit
ones that waste a factor 4 in bandwidth.

Someone must have ported bit-sliced DES to a GPU, somewhere. But it
doesn't involve challenges as interesting as the other ones in that
amazing site.

Tom

Andy Glew

unread,
Sep 20, 2003, 2:01:36 AM9/20/03
to
> >It seems the video card manufacturers are getting together with the image
> >manipulation software providers to implement some manipulations on the
GPU
> >instead of the CPU.
>
> Maybe these developments will free up Intel's imagination to do
> something really well other than media creation. Yes, that's flame
> bait.
>
> RM

Yep.

NVidia is Intel's biggest threat.

Now that I'm at AMD, I'm a bit more removed,
and can consider other strategies.


cr88192

unread,
Sep 21, 2003, 12:59:44 AM9/21/03
to

"Sander Vesik" <san...@haldjas.folklore.ee> wrote in message
news:10631684...@haldjas.folklore.ee...
could one do a neural net on the gpu?...
I thought about this early and couldn't think of a good way w/o making use
of the cpu.

of course, I don't know much about shaders so I don't know if it is
possible, for example, to perform a blur on the gpu. could one get a neural
net to go faster than with the normal cpu? this would be cool...

ok, I am stupid...

Jan C. Vorbrüggen

unread,
Sep 24, 2003, 3:46:53 AM9/24/03
to
> could one do a neural net on the gpu?...

That would depend very much on the network architecture. "Classical"
neural networks - e.g., those you train with back propagation or some-
such - have no locality in their interconnect matrix: no way you can
do those. Other have more local interactions, but generally need some
global control, similar to the way multigrid methods work. That might
be feasible, but it will be hard work.

Jan

cr88192

unread,
Sep 25, 2003, 2:41:30 AM9/25/03
to

"Jan C. Vorbrüggen" <jvorbr...@mediasec.de> wrote in message
news:3F714BED...@mediasec.de...
yes.

I tried to figure a good solution but couldn't think of any that would work
without a great deal of cpu interaction...

Russell Wallace

unread,
Sep 29, 2003, 4:47:13 AM9/29/03
to
On Wed, 24 Sep 2003 09:46:53 +0200, Jan C.
=?iso-8859-1?Q?Vorbr=FCggen?= <jvorbr...@mediasec.de> wrote:

>That would depend very much on the network architecture. "Classical"
>neural networks - e.g., those you train with back propagation or some-
>such - have no locality in their interconnect matrix: no way you can
>do those.

In neural networks of that type, the essential step is calculating the
dot product of a pair of vectors. I'd have thought a GPU could do that
if it can do any general-purpose computation at all?

--
"Sore wa himitsu desu."
To reply by email, remove
the small snack from address.
http://www.esatclear.ie/~rwallace

Jan C. Vorbrüggen

unread,
Sep 29, 2003, 5:25:32 AM9/29/03
to
> In neural networks of that type, the essential step is calculating the
> dot product of a pair of vectors. I'd have thought a GPU could do that
> if it can do any general-purpose computation at all?

It can do the dot product - but it can't get at the vectors 8-): that was
what my comment about "locality in the interconnect matrix" was about.

Jan

Jon Leech

unread,
Sep 29, 2003, 2:31:04 PM9/29/03
to
In article <3F714BED...@mediasec.de>,

Jan C. Vorbrüggen <jvorbr...@mediasec.de> wrote:
>> could one do a neural net on the gpu?...
>
>That would depend very much on the network architecture. "Classical"
>neural networks - e.g., those you train with back propagation or some-
>such - have no locality in their interconnect matrix: no way you can
>do those.

An approach to global communication is via render-to-texture
followed by additional passes doing texture lookups of the just-computed
data. This will soon become more generalized with the ability to render
into chunks of memory, then move those about in fairly arbitrary fashion
between places in the graphics pipeline including drawing buffers,
textures, vertex buffers, and perhaps others. Would any of this help map
the problem?
Jon

0 new messages