compute-runtime/runtime/helpers/options.cpp

27 lines
633 B
C++

/*
* Copyright (C) 2017-2018 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "hw_cmds.h"
#include "runtime/helpers/options.h"
#include "runtime/helpers/array_count.h"
#include <cstddef>
namespace OCLRT {
// AUB file folder location
const char *folderAUB = ".";
// Initial value for HW tag
uint32_t initialHardwareTag = (uint32_t)-1;
// Number of devices in the platform
static const HardwareInfo *DefaultPlatformDevices[] = {
&DEFAULT_PLATFORM::hwInfo};
size_t numPlatformDevices = arrayCount(DefaultPlatformDevices);
const HardwareInfo **platformDevices = DefaultPlatformDevices;
} // namespace OCLRT