Wideband autonomous SDR analysis engine forked from sdr-visual-suite
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
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. }