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.

20 line
354B

  1. //go:build !cufft
  2. package gpufft
  3. import "errors"
  4. type Engine struct{}
  5. func Available() bool { return false }
  6. func New(n int) (*Engine, error) {
  7. return nil, errors.New("cufft build tag not enabled")
  8. }
  9. func (e *Engine) Close() {}
  10. func (e *Engine) Exec(in []complex64) ([]complex64, error) {
  11. return nil, errors.New("cufft build tag not enabled")
  12. }