From 2a980ef8eeaf2afd7bb245fc50a6b5ebae2ab016 Mon Sep 17 00:00:00 2001 From: "Ficek, Jakub" Date: Thu, 28 Nov 2024 10:06:54 +0000 Subject: [PATCH] Remove unused per-thread scratch size method Remove unused maxPerThreadScratchSpace() method from DriverInfo --- IGC/Compiler/CISACodeGen/DriverInfo.hpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/IGC/Compiler/CISACodeGen/DriverInfo.hpp b/IGC/Compiler/CISACodeGen/DriverInfo.hpp index 9d5bc1a30934..1fe1051e1b53 100644 --- a/IGC/Compiler/CISACodeGen/DriverInfo.hpp +++ b/IGC/Compiler/CISACodeGen/DriverInfo.hpp @@ -69,9 +69,6 @@ namespace IGC /// registry allocation) virtual bool supportsSeparatingSpillAndPrivateScratchMemorySpace() const { return IGC_IS_FLAG_ENABLED(SeparateSpillPvtScratchSpace); } - /// The max size in bytes of the scratch space per thread. - unsigned int maxPerThreadScratchSpace() const { return 2 * 1024 * 1024; } - /// The driver Uses special states to push constants beyond index 256 virtual bool Uses3DSTATE_DX9_CONSTANT() const { return false; }