Home
last modified time | relevance | path

Searched refs:getAllocationType (Results 1 – 25 of 76) sorted by relevance

1234

/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/aub_mem_dump/
H A Daub_alloc_dump.h32 return (gfxAllocation.getAllocationType() == GraphicsAllocation::AllocationType::BUFFER || in isWritableBuffer()
33 … gfxAllocation.getAllocationType() == GraphicsAllocation::AllocationType::BUFFER_HOST_MEMORY || in isWritableBuffer()
34 … gfxAllocation.getAllocationType() == GraphicsAllocation::AllocationType::EXTERNAL_HOST_PTR || in isWritableBuffer()
35 … gfxAllocation.getAllocationType() == GraphicsAllocation::AllocationType::MAP_ALLOCATION || in isWritableBuffer()
36 gfxAllocation.getAllocationType() == GraphicsAllocation::AllocationType::SVM_GPU) && in isWritableBuffer()
41 return (gfxAllocation.getAllocationType() == GraphicsAllocation::AllocationType::IMAGE) && in isWritableImage()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/test/unit_test/program/
H A Dprogram_initialization_tests.cpp38 EXPECT_EQ(GraphicsAllocation::AllocationType::CONSTANT_SURFACE, alloc->getAllocationType()); in TEST()
46 EXPECT_EQ(GraphicsAllocation::AllocationType::GLOBAL_SURFACE, alloc->getAllocationType()); in TEST()
54 EXPECT_EQ(GraphicsAllocation::AllocationType::CONSTANT_SURFACE, alloc->getAllocationType()); in TEST()
62 EXPECT_EQ(GraphicsAllocation::AllocationType::GLOBAL_SURFACE, alloc->getAllocationType()); in TEST()
124 EXPECT_EQ(GraphicsAllocation::AllocationType::CONSTANT_SURFACE, alloc->getAllocationType()); in TEST()
131 EXPECT_EQ(GraphicsAllocation::AllocationType::CONSTANT_SURFACE, alloc->getAllocationType()); in TEST()
138 EXPECT_EQ(GraphicsAllocation::AllocationType::GLOBAL_SURFACE, alloc->getAllocationType()); in TEST()
145 EXPECT_EQ(GraphicsAllocation::AllocationType::GLOBAL_SURFACE, alloc->getAllocationType()); in TEST()
239 … EXPECT_EQ(GraphicsAllocation::AllocationType::CONSTANT_SURFACE, pAllocation->getAllocationType()); in TEST()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/core/source/cmdlist/
H A Dcmdlist.cpp100 …if (!((deallocation->getAllocationType() == NEO::GraphicsAllocation::AllocationType::INTERNAL_HEAP… in removeDeallocationContainerData()
101 … (deallocation->getAllocationType() == NEO::GraphicsAllocation::AllocationType::LINEAR_STREAM))) { in removeDeallocationContainerData()
146 (alloc->getAllocationType() == NEO::GraphicsAllocation::AllocationType::SVM_GPU || in makeResidentAndMigrate()
147 alloc->getAllocationType() == NEO::GraphicsAllocation::AllocationType::SVM_CPU)) { in makeResidentAndMigrate()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/memory_manager/
H A Dmulti_graphics_allocation.cpp62 GraphicsAllocation::AllocationType MultiGraphicsAllocation::getAllocationType() const { in getAllocationType() function in NEO::MultiGraphicsAllocation
63 return getDefaultGraphicsAllocation()->getAllocationType(); in getAllocationType()
H A Dmulti_graphics_allocation.h32 GraphicsAllocation::AllocationType getAllocationType() const;
H A Dallocations_list.cpp48 if ((req->allocationType == curr->getAllocationType()) && in detachAllocationImpl()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/mem_obj/
H A Dbuffer_tests.cpp393 … EXPECT_EQ(GraphicsAllocation::AllocationType::MAP_ALLOCATION, mapAllocation->getAllocationType()); in TEST()
661 …EXPECT_EQ(allocation->getAllocationType(), GraphicsAllocation::AllocationType::BUFFER_HOST_MEMORY); in TEST_F()
680 …EXPECT_EQ(allocation->getAllocationType(), GraphicsAllocation::AllocationType::BUFFER_HOST_MEMORY); in TEST_F()
709 …EXPECT_EQ(allocation->getAllocationType(), GraphicsAllocation::AllocationType::BUFFER_HOST_MEMORY); in TEST_F()
711 EXPECT_EQ(allocation->getAllocationType(), GraphicsAllocation::AllocationType::BUFFER); in TEST_F()
721 EXPECT_EQ(allocation->getAllocationType(), GraphicsAllocation::AllocationType::BUFFER); in TEST_F()
725 …EXPECT_EQ(allocation->getAllocationType(), GraphicsAllocation::AllocationType::BUFFER_HOST_MEMORY); in TEST_F()
738 … EXPECT_EQ(graphicsAllocation->getAllocationType(), GraphicsAllocation::AllocationType::BUFFER); in TEST_F()
760 … EXPECT_EQ(graphicsAllocation->getAllocationType(), GraphicsAllocation::AllocationType::BUFFER); in TEST_F()
984 …EXPECT_EQ(allocation->getAllocationType(), GraphicsAllocation::AllocationType::BUFFER_HOST_MEMORY); in TEST_P()
[all …]
H A Dcreate_image_in_local_memory_tests.cpp86 EXPECT_EQ(GraphicsAllocation::AllocationType::IMAGE, imgGfxAlloc->getAllocationType()); in TEST_F()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/source/memory_manager/
H A Dmigration_controller.cpp58 if (srcMemory->getAllocationType() == GraphicsAllocation::AllocationType::IMAGE) { in migrateMemory()
79 if (dstMemory->getAllocationType() == GraphicsAllocation::AllocationType::IMAGE) { in migrateMemory()
/dports/devel/cppcheck/cppcheck-2.6.3/lib/
H A Dcheckmemoryleak.cpp74 CheckMemoryLeak::AllocType CheckMemoryLeak::getAllocationType(const Token *tok2, nonneg int varid, … in getAllocationType() function in CheckMemoryLeak
356 const AllocType allocType = getAllocationType(tok2->next(), 0, callstack); in functionReturnType()
386 allocType = getAllocationType(tok->tokAt(2), varid, callstack); in functionReturnType()
442 allocType = getAllocationType(tok->tokAt(2), arg->declarationId()); in functionArgAlloc()
649 AllocType alloc = getAllocationType(tok->tokAt(body ? 2 : 3), 0); in variable()
740 const CheckMemoryLeak::AllocType alloc = getAllocationType(tok2->tokAt(2), varid); in checkPublicFunctions()
745 const CheckMemoryLeak::AllocType alloc = getAllocationType(tok2->tokAt(4), varid); in checkPublicFunctions()
821 if (getAllocationType(tok2->tokAt(4), tok2->tokAt(2)->varId()) == AllocType::No) in checkStructVariable()
1019 if (getAllocationType(arg, 0) == No) in checkForUnreleasedInputArgument()
1041 const AllocType allocType = getAllocationType(tok, 0); in checkForUnusedReturnValue()
/dports/devel/cppcheck-gui/cppcheck-2.6.3/lib/
H A Dcheckmemoryleak.cpp74 CheckMemoryLeak::AllocType CheckMemoryLeak::getAllocationType(const Token *tok2, nonneg int varid, … in getAllocationType() function in CheckMemoryLeak
356 const AllocType allocType = getAllocationType(tok2->next(), 0, callstack); in functionReturnType()
386 allocType = getAllocationType(tok->tokAt(2), varid, callstack); in functionReturnType()
442 allocType = getAllocationType(tok->tokAt(2), arg->declarationId()); in functionArgAlloc()
649 AllocType alloc = getAllocationType(tok->tokAt(body ? 2 : 3), 0); in variable()
740 const CheckMemoryLeak::AllocType alloc = getAllocationType(tok2->tokAt(2), varid); in checkPublicFunctions()
745 const CheckMemoryLeak::AllocType alloc = getAllocationType(tok2->tokAt(4), varid); in checkPublicFunctions()
821 if (getAllocationType(tok2->tokAt(4), tok2->tokAt(2)->varId()) == AllocType::No) in checkStructVariable()
1019 if (getAllocationType(arg, 0) == No) in checkForUnreleasedInputArgument()
1041 const AllocType allocType = getAllocationType(tok, 0); in checkForUnusedReturnValue()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/os_interface/windows/
H A Dwddm_device_command_stream.inl154 … ((GraphicsAllocation::AllocationType::LINEAR_STREAM == graphicsAllocation->getAllocationType()) ||
155 … (GraphicsAllocation::AllocationType::FILL_PATTERN == graphicsAllocation->getAllocationType()) ||
156 … (GraphicsAllocation::AllocationType::COMMAND_BUFFER == graphicsAllocation->getAllocationType())) {
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/test/unit_test/memory_manager/
H A Dmulti_graphics_allocation_tests.cpp64 …csAllocation.getDefaultGraphicsAllocation()->getAllocationType(), multiGraphicsAllocation.getAlloc… in TEST()
65 EXPECT_EQ(expectedAllocationType, multiGraphicsAllocation.getAllocationType()); in TEST()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/program/
H A Dkernel_info_tests.cpp65 EXPECT_EQ(GraphicsAllocation::AllocationType::KERNEL_ISA, allocation->getAllocationType()); in TEST()
81 …XPECT_EQ(GraphicsAllocation::AllocationType::KERNEL_ISA_INTERNAL, allocation->getAllocationType()); in TEST()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/command_stream/
H A Dcl_command_stream_receiver_tests.cpp59 …(GraphicsAllocation::AllocationType::GLOBAL_FENCE, csr.globalFenceAllocation->getAllocationType()); in HWTEST_F()
72 …hicsAllocation::AllocationType::GLOBAL_FENCE, csr.getGlobalFenceAllocation()->getAllocationType()); in HWTEST_F()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/core/test/unit_tests/sources/printf_handler/
H A Dtest_printf_handler.cpp22 …XPECT_EQ(NEO::GraphicsAllocation::AllocationType::PRINTF_SURFACE, allocation->getAllocationType()); in TEST()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/xe_hpc_core/
H A Dhw_helper_tests_xe_hpc_core.cpp68 … EXPECT_EQ(GraphicsAllocation::AllocationType::INTERNAL_HEAP, heapAllocation->getAllocationType()); in XE_HPC_CORETEST_F()
70 … EXPECT_EQ(GraphicsAllocation::AllocationType::LINEAR_STREAM, heapAllocation->getAllocationType()); in XE_HPC_CORETEST_F()
76 …(GraphicsAllocation::AllocationType::COMMAND_BUFFER, commandBufferAllocation->getAllocationType()); in XE_HPC_CORETEST_F()
100 … EXPECT_EQ(GraphicsAllocation::AllocationType::INTERNAL_HEAP, heapAllocation->getAllocationType()); in XE_HPC_CORETEST_F()
102 … EXPECT_EQ(GraphicsAllocation::AllocationType::LINEAR_STREAM, heapAllocation->getAllocationType()); in XE_HPC_CORETEST_F()
108 …(GraphicsAllocation::AllocationType::COMMAND_BUFFER, commandBufferAllocation->getAllocationType()); in XE_HPC_CORETEST_F()
133 … EXPECT_EQ(GraphicsAllocation::AllocationType::INTERNAL_HEAP, heapAllocation->getAllocationType()); in XE_HPC_CORETEST_F()
135 … EXPECT_EQ(GraphicsAllocation::AllocationType::LINEAR_STREAM, heapAllocation->getAllocationType()); in XE_HPC_CORETEST_F()
141 …(GraphicsAllocation::AllocationType::COMMAND_BUFFER, commandBufferAllocation->getAllocationType()); in XE_HPC_CORETEST_F()
730 EXPECT_TRUE(GraphicsAllocation::isLockable(graphicsAllocation.getAllocationType())); in XE_HPC_CORETEST_F()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/utilities/
H A Dtag_allocator_tests.cpp57 static constexpr GraphicsAllocation::AllocationType getAllocationType() { in getAllocationType() function
240 …return new MemoryAllocation(0, TimestampPackets<uint32_t>::getAllocationType(), nullptr, nullptr, … in TEST_F()
466 …TIMESTAMP_PACKET_TAG_BUFFER, timestampPacketTag->getBaseGraphicsAllocation()->getAllocationType()); in TEST_F()
467 …tionType::PROFILING_TAG_BUFFER, hwTimeStampsTag->getBaseGraphicsAllocation()->getAllocationType()); in TEST_F()
468 …ionType::PROFILING_TAG_BUFFER, hwPerfCounterTag->getBaseGraphicsAllocation()->getAllocationType()); in TEST_F()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/utilities/
H A Dperf_counter.h23 static constexpr GraphicsAllocation::AllocationType getAllocationType() { in getAllocationType() function
H A Dhw_timestamps.h26 static constexpr GraphicsAllocation::AllocationType getAllocationType() { in getAllocationType() function
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/memory_manager/
H A Dunified_memory_manager_tests.cpp91 … EXPECT_EQ(GraphicsAllocation::AllocationType::SVM_ZERO_COPY, svmAllocation->getAllocationType()); in TEST_F()
254 … EXPECT_EQ(GraphicsAllocation::AllocationType::WRITE_COMBINED, gpuAllocation->getAllocationType()); in TEST_F()
279 EXPECT_EQ(GraphicsAllocation::AllocationType::BUFFER, gpuAllocation->getAllocationType()); in TEST_F()
297 …ECT_EQ(GraphicsAllocation::AllocationType::BUFFER_HOST_MEMORY, gpuAllocation->getAllocationType()); in TEST_F()
332 …ECT_EQ(GraphicsAllocation::AllocationType::BUFFER_HOST_MEMORY, gpuAllocation->getAllocationType()); in TEST_F()
361 EXPECT_EQ(GraphicsAllocation::AllocationType::SVM_GPU, gpuAllocation->getAllocationType()); in TEST_F()
362 …CT_EQ(GraphicsAllocation::AllocationType::SVM_CPU, allocation->cpuAllocation->getAllocationType()); in TEST_F()
390 EXPECT_EQ(GraphicsAllocation::AllocationType::SVM_GPU, gpuAllocation->getAllocationType()); in TEST_F()
391 …CT_EQ(GraphicsAllocation::AllocationType::SVM_CPU, allocation->cpuAllocation->getAllocationType()); in TEST_F()
419 EXPECT_EQ(GraphicsAllocation::AllocationType::BUFFER, gpuAllocation->getAllocationType()); in TEST_F()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/command_container/
H A Dcmdcontainer.cpp38 …if (((deallocation->getAllocationType() == GraphicsAllocation::AllocationType::INTERNAL_HEAP) || (… in ~CommandContainer()
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/Compiler/Optimizer/OpenCLPasses/ResourceAllocator/
H A DResourceAllocator.cpp101 static AllocationType getAllocationType(KernelArg::ArgType argType, BindlessAllocationMode mode) in getAllocationType() function
267 const AllocationType allocType = getAllocationType(arg.getArgType(), allocationMode); in runOnFunction()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/gen12lp/
H A Dcommand_encoder_gen12lp.cpp75 …const bool isConstantSurface = args.allocation && args.allocation->getAllocationType() == Graphics… in encodeExtraBufferParams()
/dports/devel/cppcheck-gui/cppcheck-2.6.3/test/
H A Dtestmemleak.cpp106 ASSERT_EQUALS(CheckMemoryLeak::No, check.getAllocationType(tok->tokAt(2), 1)); in open()
2156 TEST_CASE(getAllocationType); in run()
2515 void getAllocationType() { in getAllocationType() function in TestMemleakNoVar

1234