.. SPDX-FileCopyrightText: 2021 Intel Corporation .. .. SPDX-License-Identifier: CC-BY-4.0 .. _warning-handler: warning_handler Class ====================== .. rubric:: Description :class: sectiontitle The ``warning_handler`` class is for thread-safe warning handling. The implementation must be able to set a number of warning flags separately in any thread(s) on any SYCL device(s) and then to check them in another thread(s) on another device(s). To access the warning state (either for reading or for writing) use an object of :ref:`warning_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::warning_handler :project: oneIPL :members: .. toctree:: warning-accessor