mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
Reduce binaries sizes 2/n
Observed about 50MB reduction in overall binaries size (directory build)) when building all targets with MSVC (Visual Studio 2022 17.3.0 preview 6) using Debug 64 configuration. Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
75c0a2f7ee
commit
6993ed5c52
@@ -12,8 +12,8 @@
|
||||
|
||||
namespace NEO {
|
||||
|
||||
constexpr uint32_t mockRootDeviceIndex = 0u;
|
||||
constexpr DeviceBitfield mockDeviceBitfield(0b1);
|
||||
inline constexpr uint32_t mockRootDeviceIndex = 0u;
|
||||
inline constexpr DeviceBitfield mockDeviceBitfield(0b1);
|
||||
|
||||
class MockGraphicsAllocation : public MemoryAllocation {
|
||||
public:
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
namespace NEO {
|
||||
class GraphicsAllocation;
|
||||
|
||||
constexpr auto virtualAllocAddress = is64bit ? 0x7FFFF0000000 : 0xFF000000;
|
||||
inline constexpr auto virtualAllocAddress = is64bit ? 0x7FFFF0000000 : 0xFF000000;
|
||||
|
||||
class WddmMock : public Wddm {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user