estimating workspace size

Issue #5 new
Peter Steinbach created an issue

Hi, how can I estimate how much space a plan will require on device. I found GetWorkSizes, but I am not sure what global and local refer to: https://bitbucket.org/multicoreware/hcfft/src/094e4e8a4c01b3563388241aa81f05a955c54b06/lib/include/hcfftlib.h?at=master&fileviewer=file-view-default#hcfftlib.h-596

do I have to add the global and local worksizes? in what units are they given?

Comments (2)

  1. Neelakandan Ramachandran

    global and local worksizes define the kernel configuration settings viz the number of thread blocks and number of threads within a block respectively

    I don't quite understand what you refer here as space of a plan ? Could you elaborate ?

  2. Peter Steinbach reporter

    sure, I basically want to know how much memory a plan might require on device. In cufft speak, a workspace is the amount of device memory that will be used. I am totally not sure, if using GetWorkSizes is the member function to infer this (from what you say, it's not the right tool). I'd appreciate your help here.

  3. Log in to comment