Wideband autonomous SDR analysis engine forked from sdr-visual-suite
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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