File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -110,25 +110,13 @@ const sycl::range<3> &LocalAccessorBaseHost::getSize() const {
110110 return impl->MSize ;
111111}
112112void *LocalAccessorBaseHost::getPtr () {
113- // `local_accessor_base::GDBMethodsAnchor` was/is inline and used to call
114- // `(void)getPtr()` inside. As such, binaries compiled with older toolchain
115- // are calling this method from the `sycl::local_accessor` ctor on host and we
116- // cannot "abort" for them.
117- #ifdef __INTEL_PREVIEW_BREAKING_CHANGES
118113 // Must not be/isn't called, user-facing APIs do error-checking.
119114 std::abort ();
120- #endif
121115 return nullptr ;
122116}
123117void *LocalAccessorBaseHost::getPtr () const {
124- // `local_accessor_base::GDBMethodsAnchor` was/is inline and used to call
125- // `(void)getPtr()` inside. As such, binaries compiled with older toolchain
126- // are calling this method from the `sycl::local_accessor` ctor on host and we
127- // cannot "abort" for them.
128- #ifdef __INTEL_PREVIEW_BREAKING_CHANGES
129118 // Must not be/isn't called, user-facing APIs do error-checking.
130119 std::abort ();
131- #endif
132120 return nullptr ;
133121}
134122const property_list &LocalAccessorBaseHost::getPropList () const {
You can’t perform that action at this time.
0 commit comments