Files
compute-runtime/opencl/test/unit_test/helpers/heap_assigner_ocl_tests.cpp
Jaroslaw Warchulski 195bf66a49 refactor: fix typos
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-09-22 12:46:41 +02:00

23 lines
639 B
C++

/*
* Copyright (C) 2020-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/helpers/heap_assigner.h"
#include "shared/source/memory_manager/allocation_type.h"
#include "shared/test/common/test_macros/hw_test.h"
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
namespace NEO {
using AllocationHelperTests = Test<ClDeviceFixture>;
HWTEST_F(AllocationHelperTests, givenLinearStreamTypeWhenUseExternalAllocatorForSshAndDshDisabledThenUse32BitIsFalse) {
HeapAssigner heapAssigner{false};
EXPECT_FALSE(heapAssigner.use32BitHeap(AllocationType::linearStream));
}
} // namespace NEO