2020-10-01 19:31:19 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2020 Intel Corporation
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "shared/source/debug_settings/debug_settings_manager.h"
|
|
|
|
#include "shared/source/helpers/api_specific_config.h"
|
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
bool ApiSpecificConfig::getHeapConfiguration() {
|
|
|
|
return false;
|
|
|
|
}
|
2020-10-07 19:53:56 +08:00
|
|
|
bool ApiSpecificConfig::getBindlessConfiguration() {
|
|
|
|
if (DebugManager.flags.UseBindlessMode.get() != -1) {
|
|
|
|
return DebugManager.flags.UseBindlessMode.get();
|
2020-10-01 19:31:19 +08:00
|
|
|
} else {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} // namespace NEO
|