Hi Andreas, "Healther.astro" <[email protected]> writes: > I have some kernels which will be used over and over again, but as the > compile time of them is pretty high (something like half an hour, for some > hundred kernels). I would like to ensure that they are stored permanently on > my computer, as opposed to the storage in the tmp folder, where they are > deleted at some time. > Is there a way to customize the folder in which those compiler caches are > stored?
SourceModule has a cache_dir kwarg. > And is there a way to find out which of the folders belong to which kernel? No, and you shouldn't try. :) If you want to save individual kernels, just call pycuda.compiler.compile and store/cache the result yourself. HTH, Andreas
pgppfRKLTKK9Y.pgp
Description: PGP signature
_______________________________________________ PyCUDA mailing list [email protected] http://lists.tiker.net/listinfo/pycuda
