Is it possible to call extension functions? #696
Replies: 1 comment
-
| Sure, I'd be happy to look at a PR along those lines. Wrapping CL extensions is definitely in scope. There are a few precedents for that in the code base even today. The one caveat is that the corresponding header has to be available at build time (or part of the shipped extension header), and the wrapper must be sufficiently |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Basically support for
clGetExtensionFunctionAddressForPlatform, our usecase in tinygrad is for thecl_amd_copy_buffer_p2pwhich has an extension functionclEnqueueCopyBufferP2PAMDCurrently it is possible by maintaining a fork of pyopencl, but it's better if we can just use upstream. I'm not sure what the policy is on upstreaming a change like this because it is very extension/platform specific.
Beta Was this translation helpful? Give feedback.
All reactions