pycuda
pycuda copied to clipboard
[Feature request] Support for cuFuncSetCacheConfig, cuFuncSetAttribute, etc.
These can be important for performance, depending on the application.
I think the most intuitive way to add this would be to add some options to prepared calls, but I don't know the codebase well.
cuFuncSetCacheConfig is supported: https://documen.tician.de/pycuda/driver.html#pycuda.driver.Function.set_cache_config
For the other functions that you find missing, I would welcome a PR.
Oh cool, I did not see this. I'll take a look and maybe model cuFuncSetAttribute off of this. Thanks!