warp.clear_kernel_cache#

warp.clear_kernel_cache()[source]#

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

Only directories beginning with wp_ will be deleted. This function only clears the cache for the current Warp version. LTO artifacts are not affected.

Return type:

None