fn slot_key_data_for_gpu<T>(
    thread_pool: &ThreadPool,
    batches: &[PacketBatch],
    slot_keys: &HashMap<Slot, T>,
    recycler_cache: &RecyclerCache
) -> (PinnedVec<u8>, TxOffset)where
    T: AsRef<[u8]> + Copy + Debug + Default + Eq + Hash + Sync,