Hi, I am new to CUDA programming, i was testing my CUDA project with my GT630. The screen goes black and after it had recovered, the windows told me that my driver had crashed.
Here is my simple code :
#include < cuda_runtime.h >
#include " device_launch_parameters.h "
#include < iostream >
using namespace std;
__global__ static void foo()
{
for (int i=0;i<;4000;i++)
{
for (int j=0;j<4000;j++)
{
for (int k=0;k<4000;k++)
{}
}
}
}
int main()
{
foo<<< 1, 1, 0 >>>();
return 0;
}
How could this happened? Can anybody help me? Thank you very much!!