pycuda icon indicating copy to clipboard operation
pycuda copied to clipboard

[Feature request] Support for cuFuncSetCacheConfig, cuFuncSetAttribute, etc.

Open cchan opened this issue 5 years ago • 2 comments

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.

cchan avatar Jan 06 '21 10:01 cchan

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.

inducer avatar Jan 06 '21 16:01 inducer

Oh cool, I did not see this. I'll take a look and maybe model cuFuncSetAttribute off of this. Thanks!

cchan avatar Jan 06 '21 19:01 cchan