Hiya! I’m completely new to CUDA.
I have a GeForce 6800 and WinXP SP2 with VS2005. I am trying to initialize CUDA in “emulation mode” ( I’m waiting March to get a gf8300 because I don’t have the $$$ to get a 8800 yet :P ).
Can I debug and use CUDA with that configuration?
Also have other problem… I installed the 97.73 drivers and CUDA and the SDK, but when I call the cuInit() it gives me an error ( CUDA_ERROR_NO_DEVICE, and yep, I’m using the DEVICE_EMULATION directive ).
How can I program and debug this in emulation model until I get a 8300?
Also I have a doubt… Imagine I want to do a program to perform 1million dot products… I write the CPU app using VS2005… Then I init CUDA and write the .cu to perform the dot products in the GPU… Then I load the .cu compiled module using cuModuleLoad and then I execute the module, sync threads and read back the data from the GPU to the CPU? Or ALL my program need to be compiled using nvcc.exe?
Also other doubt… I know CUDA defines float4, float3, etc… vectors like HLSL/GLSL. However, can’t find the built-in function intrinsics in the docs… Can I use the dot(), cross(), normalize() ones? Do I need BLAS for this? I got some errors with -,+, += operators…
Also an observation… the SDK is a little confusing atm. The examples and .H headers really need much more comments. Will be good to add more simple examples like, for example, to perform 1million of sequential dot-products and read back the result to the CPU ( the matrix_drv example is good but a little complicated )