Files
compute-runtime/opencl/source/os_interface/linux/platform_teardown_linux.cpp

18 lines
377 B
C++
Raw Normal View History

/*
* Copyright (C) 2020-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "opencl/source/global_teardown/global_platform_teardown.h"
namespace NEO {
void __attribute__((constructor)) platformsConstructor() {
globalPlatformSetup();
}
void __attribute__((destructor)) platformsDestructor() {
globalPlatformTeardown(false);
}
} // namespace NEO