Wideband autonomous SDR analysis engine forked from sdr-visual-suite
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

39 linhas
901B

  1. package gpudemod
  2. type StreamingGPUExecutionMode string
  3. const (
  4. StreamingGPUExecUnavailable StreamingGPUExecutionMode = "unavailable"
  5. StreamingGPUExecHostOracle StreamingGPUExecutionMode = "host_oracle"
  6. StreamingGPUExecCUDA StreamingGPUExecutionMode = "cuda"
  7. )
  8. type StreamingGPUInvocation struct {
  9. SignalID int64
  10. OffsetHz float64
  11. OutRate int
  12. Bandwidth float64
  13. SampleRate int
  14. NumTaps int
  15. Decim int
  16. PhaseCountIn int
  17. NCOPhaseIn float64
  18. HistoryLen int
  19. BaseTaps []float32
  20. PolyphaseTaps []float32
  21. ShiftedHistory []complex64
  22. IQNew []complex64
  23. }
  24. type StreamingGPUExecutionResult struct {
  25. SignalID int64
  26. Mode StreamingGPUExecutionMode
  27. IQ []complex64
  28. Rate int
  29. NOut int
  30. PhaseCountOut int
  31. NCOPhaseOut float64
  32. HistoryOut []complex64
  33. HistoryLenOut int
  34. }