CuFFTHandle Class — pytorch Architecture
Architecture documentation for the CuFFTHandle class in CuFFTPlanCache.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/native/cuda/CuFFTPlanCache.h lines 102–119
class CuFFTHandle {
::cufftHandle handle_;
public:
CuFFTHandle() {
CUFFT_CHECK(cufftCreate(&handle_));
}
::cufftHandle & get() { return handle_; }
const ::cufftHandle & get() const { return handle_; }
~CuFFTHandle() {
// Not using fftDestroy() for rocFFT to work around double freeing of handles
#if !defined(USE_ROCM)
cufftDestroy(handle_);
#endif
}
};
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free