benchmark sharedmem kernel