File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 19
19
"root" : " {DEPS_ROOT}/opencl/runtime/linux/oclgpu"
20
20
},
21
21
"level_zero" : {
22
- "github_tag" : " v1.21 .2" ,
23
- "version" : " v1.21 .2" ,
24
- "url" : " https://github.com/oneapi-src/level-zero/releases/tag/v1.21 .2" ,
22
+ "github_tag" : " v1.20 .2" ,
23
+ "version" : " v1.20 .2" ,
24
+ "url" : " https://github.com/oneapi-src/level-zero/releases/tag/v1.20 .2" ,
25
25
"root" : " {DEPS_ROOT}/opencl/runtime/linux/oclgpu"
26
26
},
27
27
"tbb" : {
Original file line number Diff line number Diff line change @@ -119,13 +119,25 @@ const sycl::range<3> &LocalAccessorBaseHost::getSize() const {
119
119
return impl->MSize ;
120
120
}
121
121
void *LocalAccessorBaseHost::getPtr () {
122
+ // `local_accessor_base::GDBMethodsAnchor` was/is inline and used to call
123
+ // `(void)getPtr()` inside. As such, binaries compiled with older toolchain
124
+ // are calling this method from the `sycl::local_accessor` ctor on host and we
125
+ // cannot "abort" for them.
126
+ #ifdef __INTEL_PREVIEW_BREAKING_CHANGES
122
127
// Must not be/isn't called, user-facing APIs do error-checking.
123
128
std::abort ();
129
+ #endif
124
130
return nullptr ;
125
131
}
126
132
void *LocalAccessorBaseHost::getPtr () const {
133
+ // `local_accessor_base::GDBMethodsAnchor` was/is inline and used to call
134
+ // `(void)getPtr()` inside. As such, binaries compiled with older toolchain
135
+ // are calling this method from the `sycl::local_accessor` ctor on host and we
136
+ // cannot "abort" for them.
137
+ #ifdef __INTEL_PREVIEW_BREAKING_CHANGES
127
138
// Must not be/isn't called, user-facing APIs do error-checking.
128
139
std::abort ();
140
+ #endif
129
141
return nullptr ;
130
142
}
131
143
const property_list &LocalAccessorBaseHost::getPropList () const {
You can’t perform that action at this time.
0 commit comments