scaling factor for CUFFT

前端 未结 2 897
小蘑菇
小蘑菇 2021-01-12 21:35

I wrote a simple test program, where I was doing Complex to Complex FT\'s and I just generated some data 1..50 and stuck it in for the real and imaginary part for each index

2条回答
  •  情深已故
    2021-01-12 21:59

    This ended up being a problem with the way the absolute values of the complex number was being calculated. in the std::complex library, it was computing the distance of the vector.

提交回复
热议问题