Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
第一次调用 cufftPlanMany() 时,大约需要 0.7 秒,但接下来的所有调用都很快。知道如何加速 cufftPlanMany() 的第一次调用吗?
第一次调用 cufftPlanMany 会导致加载 libcufft.so。如果需要,这反过来会初始化 cuda 上下文并加载所有内核。根据库的大小,它总是需要一些时间。0.7 秒有点过分,下个版本的 cuFFT 会减少。我们还稍微减少了每个后续 cufftPlan* 函数的时间。
为什么需要低初始化时间?