3 Replies Latest reply on Jun 29, 2009 12:36 AM by scutan

    Simple code makes my computer bluegreen

    scutan

      Hi, my OS is vista 64 bit edition, and if I run the following code, I can't move my mouse, and in about 10 seconds, my computer turns bluegreen.

      kernel void test(out double out_put[])
      {
       int i;
       
       int begin = (int)0;
       int end = (int)267366760;
       
       double d = 1.0;
       
       for (i = begin; i < end; i++)
        d++;

       out_put[0] = d;
      }

      But if I change the `end` value to 26736676, it works ok.

      So, is it the problem of the device driver of vista 64? I am using the FireStream 9270.

      Thanks very much!