Force stateless addressing mode for PVC

PVC will support buffers greater than 4GB, hence we have to
use stateless accessing mode as default.

Signed-off-by: Kopryk, Kamil <kamil.kopryk@intel.com>
This commit is contained in:
Kopryk, Kamil
2021-12-28 22:17:46 +00:00
committed by Compute-Runtime-Automation
parent 67fff7fc51
commit 446a78a134
18 changed files with 99 additions and 19 deletions

View File

@@ -20,6 +20,7 @@ const char *fSeparator = "/";
#endif
Environment *gEnvironment;
extern PRODUCT_FAMILY productFamily;
extern GFXCORE_FAMILY renderCoreFamily;
std::string getRunPath() {
@@ -94,6 +95,7 @@ int main(int argc, char **argv) {
if (NEO::hardwarePrefix[productId] && (0 == strcmp(devicePrefix.c_str(), NEO::hardwarePrefix[productId]))) {
if (NEO::hardwareInfoTable[productId]) {
renderCoreFamily = NEO::hardwareInfoTable[productId]->platform.eRenderCoreFamily;
productFamily = NEO::hardwareInfoTable[productId]->platform.eProductFamily;
break;
}
}