3 Replies Latest reply on Feb 4, 2011 5:59 AM by himanshu.gautam

    efficient way to initialize local memory array to zero?

    rotor

      hi all,

      does any one know an efficient way to initialize an array in local memory to zero? I am looking for a method similar to the calloc() function in C that can initialize a chunk of memory to zero.

      Thanks,

      Roto