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

Are arguments to zeKernelSetArgumentValue copied? #289

Open
uphoffc opened this issue Mar 13, 2024 · 0 comments
Open

Are arguments to zeKernelSetArgumentValue copied? #289

uphoffc opened this issue Mar 13, 2024 · 0 comments
Labels
question Further information is requested

Comments

@uphoffc
Copy link

uphoffc commented Mar 13, 2024

Hi,

the spec of clSetKernelArg says that the value arg_value points to is copied https://registry.khronos.org/OpenCL/sdk/3.0/docs/man/html/clSetKernelArg.html#_parameters
but the Level Zero spec does not state whether pArgValue is copied or not.
https://spec.oneapi.io/level-zero/latest/core/api.html#_CPPv424zeKernelSetArgumentValue18ze_kernel_handle_t8uint32_t6size_tPKv

Is the value pArgValue points to copied, and if yes, should that be added in the spec?

@wdamon-intel wdamon-intel added the question Further information is requested label Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants