MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / unitTestClearDefault

Method unitTestClearDefault

include/CL/opencl.hpp:2713–2715  ·  view source on GitHub ↗

! \brief Reset the default. * * This sets @c default_ to an empty value to support cleanup in * the unit test framework. * This function is not thread safe. */

Source from the content-addressed store, hash-verified

2711 * This function is not thread safe.
2712 */
2713 static void unitTestClearDefault() {
2714 default_ = Platform();
2715 }
2716#endif // #ifdef CL_HPP_UNIT_TEST_ENABLE
2717
2718 //! \brief Default constructor - initializes to nullptr.

Callers

nothing calls this directly

Calls 1

PlatformClass · 0.85

Tested by

no test coverage detected