Ok, completely new to CUDA here, toyed with the examples a little, but now I need to put it in some code.
Basically, I have a C++ code that does the following…
for (j=0; j<1000000; j++){
x2[j] = R11x1[j] + R12px1[j] + R16dp11[j]
px2[j] = R21x1[j] + R22px1[j] + R26dp[j]
}
This is used to track the positions of particles in a particle accelerator. What I want to do is to interface CUDA to do this part for me. Am I better to write CUDA code within the project and use it from there, or is it possible to import a CUDA project into the solution as a DLL and call the function from there? For reference, I am using an nVidia 8600m GT, Windows XP 32 bit and Visual Express C++ 2008.
Walkthroughs and example code greatly appreciated. I almost have *.dll working, but my experience with library conflicts is very limited
Thanks
Mike