declare shared mem
added cuda shared mem decl