mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
- boilerplate for following power APIs -zetSysmanPowerGet -zetSysmanPowerGetProperties -zetSysmanPowerGetEnergyCounter -zetSysmanPowerGetLimits -zetSysmanPowerSetLimits -zetSysmanPowerGetEnergyThreshold -zetSysmanPowerSetEnergyThreshold Change-Id: I6350d869da9a64424b197ce16ac008224405a65d Signed-off-by: Konda <saikishore.konda@intel.com> Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
25 lines
610 B
CMake
25 lines
610 B
CMake
#
|
|
# Copyright (C) 2020 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
set(L0_SRCS_TOOLS_SYSMAN_POWER
|
|
${CMAKE_CURRENT_SOURCE_DIR}/power.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/power.h
|
|
${CMAKE_CURRENT_SOURCE_DIR}/power_imp.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/power_imp.h
|
|
${CMAKE_CURRENT_SOURCE_DIR}/os_power.h
|
|
)
|
|
|
|
|
|
target_sources(${L0_STATIC_LIB_NAME}
|
|
PRIVATE
|
|
${L0_SRCS_TOOLS_SYSMAN_POWER}
|
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
|
)
|
|
|
|
add_subdirectories()
|
|
|
|
# Make our source files visible to parent
|
|
set_property(GLOBAL PROPERTY L0_SRCS_TOOLS_SYSMAN_POWER ${L0_SRCS_TOOLS_SYSMAN_POWER}) |