mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
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:
committed by
Compute-Runtime-Automation
parent
67fff7fc51
commit
446a78a134
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user