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

18 lines
372 B
C++

/*
* Copyright (C) 2020-2024 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();
}
} // namespace NEO