My MATLAB code uses the GPU to create raw data(25 seconds). Then in MATLAB, this raw data gets processed into scaler quantities that can be fed into an objective function(15 seconds).
Is it possible for a MATLAB particle swarm optimization code to start retrieving the next batch of raw data while the current raw data is processed?
Thank you.