  In this proceedings we demonstrate how to implement and construct the
PineAPPL grids, designed for fast-interpolation of Monte Carlo simulation with
electroweak and QCD corrections, using the VegasFlow framework for Monte Carlo
simulation on hardware accelerators. We provide an example of synchronous and
asynchronous filling operations of PineAPPL grids from Monte Carlo events
generated by VegasFlow. We compare the performance of this procedure on
multithreading CPU and GPU.
