rotor

efficient way to initialize local memory array to zero?

Discussion created by rotor on Jan 31, 2011
Latest reply on Feb 4, 2011 by himanshu.gautam

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

Outcomes