feat(nr_dlsch): option to provide the number of symbols per thread

* Add option `--L1s.L1_num_tx_sym_per_thread` for the softmodems and `-Y` for `nr_dlsim`
  to provide the number of symbols processed per thread.
  It defaults to 0 which makes that every symbols are processed in one thread.
* The last symbol processing task is processed in the L1 TX thread.
This commit is contained in:
Romain Beurdouche
2026-02-05 12:31:38 +00:00
parent f6693d41e3
commit 87402f4959
5 changed files with 35 additions and 12 deletions

View File

@@ -307,9 +307,6 @@ void init_gNB_Tpool(int inst)
PHY_VARS_gNB *gNB;
gNB = RC.gNB[inst];
gNB_L1_proc_t *proc = &gNB->proc;
// PUSCH symbols per thread need to be calculated by how many threads we have
gNB->num_pusch_symbols_per_thread = 1;
gNB->num_pdsch_symbols_per_thread = 1;
// ULSCH decoding threadpool
initTpool(get_softmodem_params()->threadPoolConfig, &gNB->threadPool, cpumeas(CPUMEAS_GETSTATE));