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

Method unitTestClearDefault

include/CL/opencl.hpp:2375–2377  ·  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

2373 * This function is not thread safe.
2374 */
2375 static void unitTestClearDefault() {
2376 default_ = Device();
2377 }
2378#endif // #ifdef CL_HPP_UNIT_TEST_ENABLE
2379
2380 //! \brief Default constructor - initializes to nullptr.

Callers

nothing calls this directly

Calls 1

DeviceClass · 0.85

Tested by

no test coverage detected