torch/cutorch — pull request #88 by jonathantompson (2014-12-06 00:25:50+00:00)
Title: Supporting functions for Complex Convolutions

added cgemv and cgemm methods.

Note: I didn't want to add a cgemv and cgemm CPU implementation (in the torch repo) because I saw no easy way to add complex number support on the CPU side (without a huge amount of work). Likewise, I don't need it and I'm super busy, so I didn't have time to implement it. So instead I've just added 2 extra methods to the THCBlas.h header... I don't "love" that I added extra methods into the header (since the header is autogenerated from the CPU counterpart), but hopefully code reviewers aren't going to be too offended.

The alternative (that Soumith pointed out to me), would be to add these methods to SpatialConvolutionComplexMM.cu and keep them out of THCBlas. Personally, I think the should go here because someone might want them later down the line.