.. SPDX-FileCopyrightText: 2021 Intel Corporation .. .. SPDX-License-Identifier: CC-BY-4.0 .. _error-handler: error_handler Class ==================== .. rubric:: Description :class: sectiontitle The ``error_handler`` class is for thread-safe error handling. The implementation must be able to set an error flag in any thread on any SYCL device and then to check it in another thread on another device. To access the error flag (either for reading or for writing) use an object of :ref:`error_accessor class` class (it can be obtained via the call of ``get_access()`` method). .. rubric:: Include Files :class: sectiontitle ``oneapi/ipl.hpp`` .. rubric:: Domain Dependencies :class: sectiontitle Headers: ``oneapi/ipl.hpp`` Libraries: ``oneipl.lib`` .. rubric:: Syntax :class: sectiontitle .. doxygenclass:: oneapi::ipl::error_handler :project: oneIPL :members: .. toctree:: error-accessor