Wideband autonomous SDR analysis engine forked from sdr-visual-suite
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

31 řádky
834B

  1. package gpudemod
  2. func (r *BatchRunner) executeStreamingGPUHostOraclePrepared(invocations []StreamingGPUInvocation) ([]StreamingGPUExecutionResult, error) {
  3. results := make([]StreamingGPUExecutionResult, len(invocations))
  4. for i, inv := range invocations {
  5. out, phase, phaseCount, hist := runStreamingPolyphaseHostCore(
  6. inv.IQNew,
  7. inv.SampleRate,
  8. inv.OffsetHz,
  9. inv.NCOPhaseIn,
  10. inv.PhaseCountIn,
  11. inv.NumTaps,
  12. inv.Decim,
  13. inv.ShiftedHistory,
  14. inv.PolyphaseTaps,
  15. )
  16. results[i] = StreamingGPUExecutionResult{
  17. SignalID: inv.SignalID,
  18. Mode: StreamingGPUExecHostOracle,
  19. IQ: out,
  20. Rate: inv.OutRate,
  21. NOut: len(out),
  22. PhaseCountOut: phaseCount,
  23. NCOPhaseOut: phase,
  24. HistoryOut: hist,
  25. HistoryLenOut: len(hist),
  26. }
  27. }
  28. return results, nil
  29. }