Environment Variables
PyKokkos behavior can be controlled through the following environment variables:
Variable |
Value |
Description |
|---|---|---|
|
any (presence triggers) |
Runs |
|
|
Enables automatic kernel fusion. See Kernel Fusion. |
|
path to directory |
Overrides search path for the compiled pykokkos-base
|
|
Kokkos version string |
Selects a specific version of the Kokkos interface to use when multiple versions are available. |
Usage Examples
Enable C++ code formatting for generated kernels:
export PK_FORMAT=1
Enable naive kernel fusion:
export PK_FUSION="naive"
Specify a custom Kokkos library path:
export PK_KOKKOS_LIB_PATH="/path/to/pykokkos-base/lib"