cutlass icon indicating copy to clipboard operation
cutlass copied to clipboard

[BUG]The results from different print statements are jumbled together and messy.

Open ziyuhuang123 opened this issue 6 months ago • 2 comments

    if(blockIdx.x==0&&blockIdx.y==1&&threadIdx.x==0&&threadIdx.y==0){
      printf("enter tail-365\n");
    } // ----------> This is in one file

    if(blockIdx.x==0&&blockIdx.y==1&&threadIdx.x==383&&threadIdx.y==0){
        print(tCrA);
        printf("    after --- tCrA\n");
      printf("colle 932\n");
    } // ----------> This is in another file

As shown below, the printed results are mess tegether.... Is it a bug? Or my mis-usage?

Image

Image

By the way, "print" does not contain \n, which is not very convenient, and it doesnot contain any word...if we can use "print(trcA, "trcA")", would be more convenient.

ziyuhuang123 avatar Aug 28 '24 11:08 ziyuhuang123