Files
rocm-systems/rocclr/runtime/device/gpu/gpuappprofile.cpp
T
foreman 9580eed418 P4 to Git Change 1191661 by jatang@jatang-opencl-hsa-stg1 on 2015/09/17 10:37:03
EPR #422002 - Re-enable ForceHighClock on Linux.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuappprofile.cpp#11 edit
2015-09-17 10:48:21 -04:00

26 lines
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_)));
}
}