Skip to content

Conversation

@steffenlarsen
Copy link
Contributor

#6980 caused some unexpected regressions on OpenCL for SYCL 1.2.1 kernel interop constructors. This commit reintroduces the call to retaining the OpenCL kernel only for the old constructor.

intel#6980 caused some unexpected
regressions on OpenCL for SYCL 1.2.1 kernel interop constructors. This
commit reintroduces the call to retaining the OpenCL kernel only for the
old constructor.

Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
@steffenlarsen steffenlarsen requested a review from a team as a code owner October 12, 2022 17:31
Copy link
Contributor

@cperkinsintel cperkinsintel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but @smaslov-intel should probably weigh in. Does this potentially double the retain being performed at backend.cpp as noted https://github.com/intel/llvm/pull/6980/files ?

@steffenlarsen
Copy link
Contributor Author

LGTM, but @smaslov-intel should probably weigh in. Does this potentially double the retain being performed at backend.cpp as noted https://github.com/intel/llvm/pull/6980/files ?

make_kernel is the new API and will not use the SYCL 1.2.1 interop constructor.

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.

4 participants