AI on GPU

The place for technology related posts.

Moderator: Moderators

Post Reply
scheherazade
DCAWD Groupie
Posts: 727
Joined: Wed Dec 05, 2007 11:19 am
Location: nova

AI on GPU

Post by scheherazade »

Little application that I wrote...

3D Gradient descent based path planner.
Written as a general purpose GPU program.
Each AI has their own kernel on the GPU.
Scales well (1 vs 40 AIs runs ~the same speed)

http://www.youtube.com/watch?v=KzjAE6EeEso&fmt=22

-scheherazade
User avatar
Sabre
DCAWD Founding Member
Posts: 21432
Joined: Wed Aug 11, 2004 8:00 pm
Location: Springfield, VA
Contact:

Re: AI on GPU

Post by Sabre »

Very nice job :) Was this for home or for work? Either way, it turned out very well! I've been wanting to do some CUDA programming for awhile, it's just the time element that has escaped me...
Sabre (Julian)
Image
92.5% Stock 04 STI
Good choice putting $4,000 rims on your 1990 Honda Civic. That's like Betty White going out and getting her tits done.
scheherazade
DCAWD Groupie
Posts: 727
Joined: Wed Dec 05, 2007 11:19 am
Location: nova

Re: AI on GPU

Post by scheherazade »

Project for grad school.
Teacher gave no homeworks and no exams.
Just said "some up with something to entertain me"...
So I thought, ok, let's throw some AI onto the GPU.

It's not bad to pick up.
It's just C code with a few caveats.

I started with an example found here :
http://llpanorama.wordpress.com/2008/05 ... a-program/
Basically just takes an array of data from the host, squares it on the GPU, and returns it to the host.
Answered all the "how do I get started" questions. The rest is just grunt work.

-scheherazade
User avatar
Sabre
DCAWD Founding Member
Posts: 21432
Joined: Wed Aug 11, 2004 8:00 pm
Location: Springfield, VA
Contact:

Re: AI on GPU

Post by Sabre »

Thanks for the pointer towards the example code, I'm going to have to see what I can come up with :)
Sabre (Julian)
Image
92.5% Stock 04 STI
Good choice putting $4,000 rims on your 1990 Honda Civic. That's like Betty White going out and getting her tits done.
Post Reply