Skip to content

[SYCL][Graph][E2E] Add missing set_arg call to dyn_cgf_accessor_spv.cpp#21256

Closed
mmichel11 wants to merge 1 commit intointel:syclfrom
reble:matt/update_spv_test_fix
Closed

[SYCL][Graph][E2E] Add missing set_arg call to dyn_cgf_accessor_spv.cpp#21256
mmichel11 wants to merge 1 commit intointel:syclfrom
reble:matt/update_spv_test_fix

Conversation

@mmichel11
Copy link
Contributor

dyn_cgf_accessor_spv.cpp was previously relying on UB to set arg index 1 to 0 when the kernel is launched. To fix, this we explicitly call handler::set_arg.

We were previously relying on undefined behavior where kernel argument 1
was being set to 0 until kernels were switched to be launched with
urEnqueueKernelLaunchWithArgsExp.
@mmichel11
Copy link
Contributor Author

Closing in favor of #21242 which adjusts others tests with this issue as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments