update Kernel calls with shared_memory def