Skip to content

Commit 10a1e68

Browse files
Add sycl/source/handler.cpp
1 parent 6a8da97 commit 10a1e68

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sycl/source/handler.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2055,6 +2055,7 @@ void handler::SetHostTask(std::function<void(interop_handle)> &&Func) {
20552055
setType(detail::CGType::CodeplayHostTask);
20562056
}
20572057

2058+
#ifndef __INTEL_PREVIEW_BREAKING_CHANGES
20582059
// TODO: This function is not used anymore, remove it in the next
20592060
// ABI-breaking window.
20602061
void handler::addAccessorReq(detail::AccessorImplPtr Accessor) {
@@ -2063,6 +2064,7 @@ void handler::addAccessorReq(detail::AccessorImplPtr Accessor) {
20632064
// Store copy of the accessor.
20642065
impl->CGData.MAccStorage.push_back(std::move(Accessor));
20652066
}
2067+
#endif
20662068

20672069
void handler::addLifetimeSharedPtrStorage(std::shared_ptr<const void> SPtr) {
20682070
impl->CGData.MSharedPtrStorage.push_back(std::move(SPtr));

0 commit comments

Comments
 (0)