Two blocks of 3d Flattened Array to Shared Memory

I need to load two blocks, the current block and the neighbor,from global to shared memory but I can’t quite figure out how. Is there any suggestion ?