mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 18:37:46 +08:00
18 lines
372 B
C++
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
|