diff --git a/sycl/CMakeLists.txt b/sycl/CMakeLists.txt index 850dcfd1fd051..bae361ef99f35 100644 --- a/sycl/CMakeLists.txt +++ b/sycl/CMakeLists.txt @@ -30,7 +30,7 @@ set(SYCL_MINOR_VERSION 7) set(SYCL_PATCH_VERSION 0) # Don't forget to re-enable sycl_symbols_windows.dump once we leave ABI-breaking # window! -set(SYCL_DEV_ABI_VERSION 9) +set(SYCL_DEV_ABI_VERSION 10) if (SYCL_ADD_DEV_VERSION_POSTFIX) set(SYCL_VERSION_POSTFIX "-${SYCL_DEV_ABI_VERSION}") endif() diff --git a/sycl/include/sycl/exception.hpp b/sycl/include/sycl/exception.hpp index 96cfa06c25033..c32fd59bee942 100644 --- a/sycl/include/sycl/exception.hpp +++ b/sycl/include/sycl/exception.hpp @@ -89,7 +89,7 @@ class __SYCL_EXPORT exception : public std::exception { const char *what() const noexcept final; - bool has_context() const; + bool has_context() const noexcept; context get_context() const; diff --git a/sycl/source/exception.cpp b/sycl/source/exception.cpp index 2d51ac2208899..d95377a295d6e 100644 --- a/sycl/source/exception.cpp +++ b/sycl/source/exception.cpp @@ -72,7 +72,7 @@ const std::error_category &exception::category() const noexcept { const char *exception::what() const noexcept { return MMsg->c_str(); } -bool exception::has_context() const { return (MContext != nullptr); } +bool exception::has_context() const noexcept { return (MContext != nullptr); } context exception::get_context() const { if (!has_context())