2020-09-01 12:38:50 +02:00
|
|
|
/*
|
2025-07-03 12:29:06 +00:00
|
|
|
* Copyright (C) 2020-2025 Intel Corporation
|
2020-09-01 12:38:50 +02:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
2024-09-26 11:55:27 +00:00
|
|
|
#include "opencl/source/global_teardown/global_platform_teardown.h"
|
2020-09-01 12:38:50 +02:00
|
|
|
|
|
|
|
|
namespace NEO {
|
2020-09-04 11:22:19 +02:00
|
|
|
void __attribute__((constructor)) platformsConstructor() {
|
2024-09-26 11:55:27 +00:00
|
|
|
globalPlatformSetup();
|
2020-09-04 11:22:19 +02:00
|
|
|
}
|
2020-09-01 12:38:50 +02:00
|
|
|
void __attribute__((destructor)) platformsDestructor() {
|
2025-07-18 16:39:31 +00:00
|
|
|
globalPlatformTeardown(false);
|
2020-09-01 12:38:50 +02:00
|
|
|
}
|
|
|
|
|
} // namespace NEO
|