Utils

This section contains the full API documentation for the PyKeOps utilities.

Summary

This section documents the general-purpose utilities available in PyKeOps.

check_health

Runs a complete sanity check of the KeOps installation within your system.

clean_pykeops

This function cleans the KeOps cache and recompiles the JIT binaries if necessary.

Syntax

pykeops.check_health()[source]

Runs a complete sanity check of the KeOps installation within your system. This function verifies the setup and configuration of KeOps, including compilation flags, paths, ….

Parameters:

config_type (str) – The configuration to check. Options are: ‘base’, ‘cuda’, ‘openmp’, ‘platform’, ‘all’. Default is ‘all’.

Returns:

None

pykeops.clean_pykeops(recompile_jit_binaries=True)[source]

This function cleans the KeOps cache and recompiles the JIT binaries if necessary.

Returns:

None