|
|
#1 | |
|
Rayne
Join Date: Oct 2003
Posts: 1,525
|
I just installed the SDK & Toolkit, and i'm reading the documentation.
The first step is always the hardest -> Build & compile the first project ![]() I'm checking the SDK\Projects samples. In special, there is one called 'cppIntegration'. I can compile & run all the projects, but, i still dunno how to create a project from zero in Visual Studio. I think that everybody would like to use standard C++ code, and a call to a CUDA function, to do the hard work. If somebody has tried these first steps, please, share your knowledge with us ![]()
__________________
ASUS Rampage Formula X48 | Xeon 3350 @ 3.6 GHz (450x8/1.26v) | 4x1GB OCZ DDR2 PC2-6400 Reaper CL3 @ 900 MHz 3-4-4-15 | 1 x eVGA GTX 285 SSC | 1 x ASUS EN8800GTX (PhysX/CUDA -> Burnt by nVidia 196.75 driver) | X-Fi Titanium Fatal1ty PCIe | 1 x Intel X25-M G2 80GB | 2 x 750GB WD RE2 7500AYYS SATA2 16MB | Samsung SH-B083L SATA | Enermax Revolution 1250W | Samsung SyncMaster 275T 27" 1920x1200 | Thermaltake Black Armor | BloodRayne 2 FSAA Patch |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Oct 2005
Location: Kansas
Posts: 760
|
I got to about where you are, and just kinda gave up
Indeed it would be easy if we could write it in c/c++ ![]() |
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Mar 2004
Posts: 15,486
|
im pretty sure you need to add a reference to some DLL or something but i cant figure it out either.
the software seems very powerful but damn is it hard to get going ![]() |
|
|
|
|
|
#4 | |
|
Rayne
Join Date: Oct 2003
Posts: 1,525
|
I'm waiting for the CUDA 2.1 release. I heard that it will support VS 2008, and it is what i'm using now. I need this version, cause i use SSE4 assembler ops in my code. I did some tests with VS 2005, but, i was not able to compare my C++ code with the CUDA code, due the missing SSE4 ops.
__________________
ASUS Rampage Formula X48 | Xeon 3350 @ 3.6 GHz (450x8/1.26v) | 4x1GB OCZ DDR2 PC2-6400 Reaper CL3 @ 900 MHz 3-4-4-15 | 1 x eVGA GTX 285 SSC | 1 x ASUS EN8800GTX (PhysX/CUDA -> Burnt by nVidia 196.75 driver) | X-Fi Titanium Fatal1ty PCIe | 1 x Intel X25-M G2 80GB | 2 x 750GB WD RE2 7500AYYS SATA2 16MB | Samsung SH-B083L SATA | Enermax Revolution 1250W | Samsung SyncMaster 275T 27" 1920x1200 | Thermaltake Black Armor | BloodRayne 2 FSAA Patch |
|
|
|
|
|
|
#5 |
|
I'm Geralt
Join Date: Oct 2005
Location: Chicagoland, once a year in Poland
Posts: 24,364
|
planning to implement it in your BloodRayne 2 patch?
__________________
Windows 8 the next big failure, right after Windows ME |
|
|
|
|
|
#6 | |
|
Mahna Mahna
Join Date: Jul 2006
Location: Madison, Wi
Posts: 6,123
|
My Java instructor who does some sort of research with GPGPUs said the same exact thing about CUDA, it can be a real pain to get it up and running but once you figure it out its apparently some pretty cool stuff.
If anyone does get it up and running please, do tell how you did so... I really want to try it out soon
__________________
|
|
|
|
|
|
|
#7 | |
|
Rayne
Join Date: Oct 2003
Posts: 1,525
|
In the benchmark part only.
In the game, i see 2 problems: 1) I dunno if Direct3D 8 will work with CUDA. 2) The game is bounded by the gfx card power (& i do not like to lose frame rate). Quote:
My problem is that i already have a full working solution, and i want to add CUDA support to it, and it's a VS 2008 project.
__________________
ASUS Rampage Formula X48 | Xeon 3350 @ 3.6 GHz (450x8/1.26v) | 4x1GB OCZ DDR2 PC2-6400 Reaper CL3 @ 900 MHz 3-4-4-15 | 1 x eVGA GTX 285 SSC | 1 x ASUS EN8800GTX (PhysX/CUDA -> Burnt by nVidia 196.75 driver) | X-Fi Titanium Fatal1ty PCIe | 1 x Intel X25-M G2 80GB | 2 x 750GB WD RE2 7500AYYS SATA2 16MB | Samsung SH-B083L SATA | Enermax Revolution 1250W | Samsung SyncMaster 275T 27" 1920x1200 | Thermaltake Black Armor | BloodRayne 2 FSAA Patch |
|
|
|
|
|
|
#8 |
|
Registered User
Join Date: Jan 2009
Posts: 1
|
I played with CUDA and wrote a bit about it. Its a very interesting technology and once i find some more time i plan to play more with it :-)
|
|
|
|
|
|
#9 |
|
Registered User
Join Date: Mar 2004
Posts: 15,486
|
i am going to be working with PDE solvers here in grad school, so i may give CUDA a try when i start working on the project.
|
|
|
|
|
|
#10 |
|
Official pain in the ass
|
Does anyone know any simple guides to get started with CUDA?
CUDA is part of my "want to learn" list for 2009. ![]()
__________________
My avatar: "An obscure and non sensical pattern made to get people to post what they think it is" - Vamp Dell XPS M1530 Core2Duo T5550 1.86Ghz | 3GB DDR2 | 8600M GT 256MB | 250GB Hdd | BenQ FP202W 20" LCD | MX1000 mouse | Inspire T5400 5.1 |
|
|
|
|
|
#11 | |
|
Registered User
Join Date: Jan 2006
Posts: 6,726
|
Quote:
![]() |
|
|
|
|
|
|
#12 |
|
Rayne
Join Date: Oct 2003
Posts: 1,525
|
Finally, i have the whole thing working: VS 2008 + CUDA 2.1.
The setup to create a new project, by hand, is not very easy, and i lost a lot of time trying to compile my first program with success. This is a quick guide, from my personal experiences:
Then, edit your .cu file, and put your kernel there. I tried my perlin code on the GPU, and, atm, it sucks. It's slightly faster than my multi-threaded SSE3 code, and this gfx card has 240 'cores', vs my quad. Obviously, i need to learn some CUDA tricks to speed up my code, because this cannot be so slow. Also, i still dunno how to debug the CUDA code. It's a pain in the ass atm when something does not work.
__________________
ASUS Rampage Formula X48 | Xeon 3350 @ 3.6 GHz (450x8/1.26v) | 4x1GB OCZ DDR2 PC2-6400 Reaper CL3 @ 900 MHz 3-4-4-15 | 1 x eVGA GTX 285 SSC | 1 x ASUS EN8800GTX (PhysX/CUDA -> Burnt by nVidia 196.75 driver) | X-Fi Titanium Fatal1ty PCIe | 1 x Intel X25-M G2 80GB | 2 x 750GB WD RE2 7500AYYS SATA2 16MB | Samsung SH-B083L SATA | Enermax Revolution 1250W | Samsung SyncMaster 275T 27" 1920x1200 | Thermaltake Black Armor | BloodRayne 2 FSAA Patch |
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New MacBook Pros Make For Great CUDA Dev Platforms | News | Latest Tech And Game Headlines | 0 | 06-15-12 12:40 AM |
| GPU-sphere Swells With 26 New CUDA Centers | News | Latest Tech And Game Headlines | 0 | 06-11-12 01:50 PM |
| Allinea DDT CUDA Education Pack for Student Programmers | News | Latest Tech And Game Headlines | 0 | 05-25-12 08:00 AM |
| Panoptes: A Binary Translation Framework for CUDA | News | Latest Tech And Game Headlines | 0 | 05-22-12 04:50 AM |
| First Achievement Award Bestowed By CUDA Centers of Excellence | News | Latest Tech And Game Headlines | 0 | 05-17-12 07:40 AM |