File tree Expand file tree Collapse file tree 4 files changed +1
-16
lines changed Expand file tree Collapse file tree 4 files changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -98,9 +98,6 @@ bool trace(TraceLevel level);
98
98
#error "Unsupported OS"
99
99
#endif
100
100
101
- // Report error and no return (keeps compiler happy about no return statements).
102
- [[noreturn]] __SYCL_EXPORT void die (const char *Message);
103
-
104
101
using PiPlugin = ::pi_plugin;
105
102
using PiResult = ::pi_result;
106
103
using PiPlatform = ::pi_platform;
Original file line number Diff line number Diff line change @@ -212,8 +212,7 @@ std::string platformInfoToString(pi_platform_info info) {
212
212
case PI_EXT_PLATFORM_INFO_BACKEND:
213
213
return " PI_EXT_PLATFORM_INFO_BACKEND" ;
214
214
}
215
- die (" Unknown pi_platform_info value passed to "
216
- " sycl::detail::pi::platformInfoToString" );
215
+ return " unknown PI_PLATFORM_INFO enum value" ;
217
216
}
218
217
219
218
std::string memFlagToString (pi_mem_flags Flag) {
@@ -513,15 +512,6 @@ template const PluginPtr &getPlugin<backend::ext_oneapi_level_zero>();
513
512
template const PluginPtr &getPlugin<backend::ext_oneapi_cuda>();
514
513
template const PluginPtr &getPlugin<backend::ext_oneapi_hip>();
515
514
516
- // Report error and no return (keeps compiler from printing warnings).
517
- // TODO: Probably change that to throw a catchable exception,
518
- // but for now it is useful to see every failure.
519
- //
520
- [[noreturn]] void die (const char *Message) {
521
- std::cerr << " pi_die: " << Message << std::endl;
522
- std::terminate ();
523
- }
524
-
525
515
// Reads an integer value from ELF data.
526
516
template <typename ResT>
527
517
static ResT readELFValue (const unsigned char *Data, size_t NumBytes,
Original file line number Diff line number Diff line change @@ -3287,7 +3287,6 @@ _ZN4sycl3_V16detail28SampledImageAccessorBaseHostC2ENS0_5rangeILi3EEEPviiNS0_2id
3287
3287
_ZN4sycl3_V16detail28getPixelCoordNearestFiltModeENS0_3vecIfLi4EEENS0_15addressing_modeENS0_5rangeILi3EEE
3288
3288
_ZN4sycl3_V16detail28getValueFromDynamicParameterERNS0_3ext6oneapi12experimental6detail22dynamic_parameter_baseE
3289
3289
_ZN4sycl3_V16detail2pi25contextSetExtendedDeleterERKNS0_7contextEPFvPvES6_
3290
- _ZN4sycl3_V16detail2pi3dieEPKc
3291
3290
_ZN4sycl3_V16detail30UnsampledImageAccessorBaseHost10getAccDataEv
3292
3291
_ZN4sycl3_V16detail30UnsampledImageAccessorBaseHost6getPtrEv
3293
3292
_ZN4sycl3_V16detail30UnsampledImageAccessorBaseHostC1ENS0_5rangeILi3EEENS0_6access4modeEPviiNS0_2idILi3EEENS0_18image_channel_typeENS0_19image_channel_orderERKNS0_13property_listE
Original file line number Diff line number Diff line change 3749
3749
?destroy_image_handle@experimental@oneapi@ext@_V1@sycl@@YAXAEAUunsampled_image_handle@12345@AEBVdevice@45@AEBVcontext@45@@Z
3750
3750
?destroy_image_handle@experimental@oneapi@ext@_V1@sycl@@YAXAEAUunsampled_image_handle@12345@AEBVqueue@45@@Z
3751
3751
?device_has@queue@_V1@sycl@@AEBA_NW4aspect@23@@Z
3752
- ?die@pi@detail@_V1@sycl@@YAXPEBD@Z
3753
3752
?empty@kernel_bundle_plain@detail@_V1@sycl@@QEBA_NXZ
3754
3753
?enable_ext_oneapi_default_context@detail@_V1@sycl@@YAX_N@Z
3755
3754
?end@HostProfilingInfo@detail@_V1@sycl@@QEAAXXZ
You can’t perform that action at this time.
0 commit comments