8 Replies Latest reply on Jun 26, 2009 9:49 AM by gaurav.garg

    "Invalid stream" error at domain using

    Raistmer
        • "Invalid stream" error at domain using
          gaurav.garg

          Make sure you are specifying the correct size. Specifying a domain of size (x1, x2), means part of stream from x1 to x2-1 would be used. So, the maximum domain extent can be (0, width) if you want to use complete stream.

          or

          (0,0) to (width, height) in case of 2D stream.

            • "Invalid stream" error at domain using
              Raistmer
              Originally posted by: gaurav.garg

              Make sure you are specifying the correct size. Specifying a domain of size (x1, x2), means part of stream from x1 to x2-1 would be used. So, the maximum domain extent can be (0, width) if you want to use complete stream.


              or


              (0,0) to (width, height) in case of 2D stream.



              But I get same error even when I use

              unsigned int begin[]={0,0};
              unsigned int end[]={0,0};

              That is, single element.... :(

              ADDON:
              This code used for gpu_temp initialization right before domain extraction attempt.
              And it gives no erros...
              GPU_fetch_array_kernel3(gpu_data,gpu_periods,*gpu_per_int,gpu_n_per,*gpu_temp);
              #if 1
              gpu_temp->finish();
              #endif
              if(gpu_temp->error())
              fprintf(stderr,"ERROR: GPU_fetch_array_kernel3: %s\n",gpu_temp->errorLog());