shared memory intiailisation

Hi,

Just to check.

When i declare a shared float temp[128] in my kernel call, is the elements in the shared float initialise to 0 already?

No, you have to do that yourself