Commit 8c7e79da authored by multrus's avatar multrus
Browse files

Merge branch...

Merge branch '67-evs-conditions-parallel-generation-and-application-of-error-patterns-might-cause-undeterministic' into 'main'

Resolve "EVS Conditions: Parallel generation and application of error patterns might cause undeterministic behavior"

See merge request !137
parents 1b16af5c 2d430880
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -216,12 +216,15 @@ class EVS(Processing):
        )

        # apply bitstream processing and save unprocessed bitstream
        # Important: don't apply parallel processing - simulate_tx() generates error patterns and applies them;
        # however, the error patterns have the same name, i.e. running these tasks in parallel might lead
        # to collisions and eventually cause issues with being deterministic across multiple runs
        split_chan_bs_unprocessed = split_chan_bs
        split_chan_bs = apply_func_parallel(
            self.simulate_tx,
            zip(split_chan_files, split_chan_bs, repeat(logger)),
            None,
            "mt" if self.multiprocessing else None,
            None,
            show_progress=False,
        )
        voip = [scb[1] for scb in split_chan_bs]