3 Replies Latest reply on Oct 5, 2012 2:20 AM by se6

    printf only works with a single arg (Catalyst 12.6, linux, HD7970 Tahiti).

    se6

      Hi,

       

      With Tahiti (HD7970) Catalyst linux 12.6, printf seems to only work with a single argument:

      I had this in a kernel:

       

      if(x==X && y==Y){
          printf("proj=%f, prjdif=%f, vecx=%f vecy=%f\n",proj,prjdif[prj_offset+where],vecx,vecy);
      }
      

       

      And the value for the 2,3,4 arg was always 0.

       

      Doing that solved the problem:

       

      if(x==X && y==Y){
          printf("proj=%f ", proj);
          printf("prjdif=%f ",prjdif[prj_offset+where]);
          printf("vecx=%f ",vecx);
          printf("vecy=%f\n",vecy);
      }
      

       

      Is that a known issue?

       

      Regards,

       

      Seb