Recent content by KingBoo

  1. K

    CUDA Problem with const int (if it is >200000 it fails for some reason

    I read a bit on breakpoints and understand them a bit, but not enough to know where to put them in a cuda application. Can you explain where you would put it first and why? But first, let's see if this helps, on this code double_array <<< 40000, 1 >>> (a_d + i * 40000); the last < is...
  2. K

    CUDA Problem with const int (if it is >200000 it fails for some reason

    I ran that and getting the same post 50k errors. I understand the concept, split the array into 40k sections and feed them to the GPU. What I fail to understand is how you are stopping the GPU from calculating past your desired amount. I.E. When the loop starts out you are passing just "a_d" bc...
  3. K

    CUDA Problem with const int (if it is >200000 it fails for some reason

    Hi sorry for late response. I wanted to do some more learning before responding so I have a better understanding and not waste peoples time. Now I understand the concept of blocks and threads. I looked up my gfx card info (here it is): --- General Information for device 0 --- Name: GeForce...
  4. K

    What are the best books to learn c++?

    I can't say I know the best book, but I read "C for Dummies" in two weeks and later took c++. This caused me to have some bad habits I needed to fix but I feel that any other way for me would have been harder. If there is a c++ for dummies book i would highly recommend it.
  5. K

    CUDA Problem with const int (if it is >200000 it fails for some reason

    I want to see the computing performance of my GTX 460 v2 vs cpu. Only say to do this easily is sqrts (did i mention i love sqrts?) Anyways there is a const int signifying the size of the array as well as the for loop. I am a complete CUDA noobie, however I do understand C++ to an extent (not so...