warp.clear_kernel_cache#

warp.clear_kernel_cache()[source]#

Clear the kernel cache directory of previously generated source code and compiler artifacts.

Directories beginning with wp_ and the cutile foreign-function artifact directory will be deleted. This function only clears the cache for the current Warp version. The separate lto cache directory is not affected (see clear_lto_cache()).

Return type:

None