global shared memory for all devices