Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add const qualifier for void** in oroModuleLaunchKernel #110

Open
KaoCC opened this issue Dec 23, 2024 · 1 comment
Open

Add const qualifier for void** in oroModuleLaunchKernel #110

KaoCC opened this issue Dec 23, 2024 · 1 comment
Labels
feature request For feature requests

Comments

@KaoCC
Copy link
Collaborator

KaoCC commented Dec 23, 2024

Cross-posted:

Can we add const to void** as follows?

oroError_t OROAPI oroModuleLaunchKernel(oroFunction_t f, unsigned int gridDimX, unsigned int gridDimY, unsigned int gridDimZ, unsigned int blockDimX, unsigned int blockDimY, unsigned int blockDimZ, unsigned int sharedMemBytes, oroStream_t stream, const void *const * kernelParams, const void *const * extra);

I think this change allows us to input const-qualified parameters to oroModuleLaunchKernel.

@meistdan
Copy link
Collaborator

meistdan commented Dec 23, 2024

I'm not sure about this one, but other people suggested adding const to src in oroMemcpy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request For feature requests
Projects
None yet
Development

No branches or pull requests

2 participants