File: runtime-compilation.rst

package info (click to toggle)
rocfft 6.4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 6,968 kB
  • sloc: cpp: 72,181; python: 6,506; sh: 387; xml: 204; makefile: 63
file content (23 lines) | stat: -rw-r--r-- 985 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.. meta::
  :description: runtime compilation in rocFFT
  :keywords: rocFFT, ROCm, API, documentation, runtime, compilation

.. _runtime-compilation:

********************************************************************
Runtime compilation
********************************************************************

rocFFT includes many kernels for common FFT problems. Many plans
require additional kernels aside from the ones built into the
library. In these cases, rocFFT compiles optimized kernels for
the plan when the plan is created.

Compiled kernels are stored in memory by default. They will be reused
if they are required again for plans in the same process.

If the ``ROCFFT_RTC_CACHE_PATH`` environment variable is set to a
writable file location, rocFFT writes the compiled kernels to this
location. rocFFT reads the kernels from this location for plans in
other processes that need runtime-compiled kernels. rocFFT will
create the specified file if it does not already exist.