9580eed418
EPR #422002 - Re-enable ForceHighClock on Linux. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuappprofile.cpp#11 edit
26 строки
613 B
C++
26 строки
613 B
C++
//
|
|
// Copyright (c) 2014 Advanced Micro Devices, Inc. All rights reserved.
|
|
//
|
|
|
|
#include "top.hpp"
|
|
#include "utils/debug.hpp"
|
|
#include "device/appprofile.hpp"
|
|
#include "device/gpu/gpuappprofile.hpp"
|
|
|
|
namespace gpu {
|
|
|
|
AppProfile::AppProfile()
|
|
: amd::AppProfile()
|
|
, enableHighPerformanceState_(true)
|
|
, reportAsOCL12Device_(false)
|
|
{
|
|
propertyDataMap_.insert(DataMap::value_type("HighPerfState",
|
|
PropertyData(DataType_Boolean, &enableHighPerformanceState_)));
|
|
|
|
propertyDataMap_.insert(DataMap::value_type("OCL12Device",
|
|
PropertyData(DataType_Boolean, &reportAsOCL12Device_)));
|
|
}
|
|
|
|
}
|
|
|