/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/xe_hpg_core/dg2/ |
H A D | hw_helper_tests_dg2.cpp | 27 const auto &hwHelper = HwHelper::get(hardwareInfo.platform.eRenderCoreFamily); in DG2TEST_F() local 66 EXPECT_FALSE(hwHelper.isWorkaroundRequired(REVISION_B, REVISION_A0, hardwareInfo)); in DG2TEST_F() 67 EXPECT_FALSE(hwHelper.isWorkaroundRequired(REVISION_C, REVISION_A0, hardwareInfo)); in DG2TEST_F() 68 EXPECT_FALSE(hwHelper.isWorkaroundRequired(REVISION_B, REVISION_A1, hardwareInfo)); in DG2TEST_F() 69 EXPECT_FALSE(hwHelper.isWorkaroundRequired(REVISION_C, REVISION_A1, hardwareInfo)); in DG2TEST_F() 70 EXPECT_FALSE(hwHelper.isWorkaroundRequired(REVISION_C, REVISION_B, hardwareInfo)); in DG2TEST_F() 72 EXPECT_FALSE(hwHelper.isWorkaroundRequired(REVISION_A0, REVISION_D, hardwareInfo)); in DG2TEST_F() 113 auto &hwHelper = HwHelper::get(hwInfo.platform.eRenderCoreFamily); in DG2TEST_F() local 117 EXPECT_EQ(expectedCalculation, hwHelper.getComputeUnitsUsedForScratch(&hwInfo)); in DG2TEST_F() 127 auto &hwHelper = HwHelper::get(hwInfo.platform.eRenderCoreFamily); in DG2TEST_F() local [all …]
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/helpers/ |
H A D | hw_helper_tests_pvc_and_later.cpp | 66 auto result = hwHelper.calculateAvailableThreadCount( in HWTEST2_F() 78 EXPECT_EQ(0u, hwHelper.getBarriersCountFromHasBarriers(0u)); in HWTEST2_F() 79 EXPECT_EQ(1u, hwHelper.getBarriersCountFromHasBarriers(1u)); in HWTEST2_F() 81 EXPECT_EQ(2u, hwHelper.getBarriersCountFromHasBarriers(2u)); in HWTEST2_F() 82 EXPECT_EQ(4u, hwHelper.getBarriersCountFromHasBarriers(3u)); in HWTEST2_F() 93 auto &hwHelper = HwHelperHw<FamilyType>::get(); in HWTEST2_F() local 116 if (hwHelper.isCooperativeEngineSupported(hwInfo)) { in HWTEST2_F() 161 EXPECT_TRUE(hwHelper.isRcsAvailable(hwInfo)); in HWTEST2_F() 163 EXPECT_FALSE(hwHelper.isRcsAvailable(hwInfo)); in HWTEST2_F() 180 MockHwHelper hwHelper{}; in HWTEST2_F() local [all …]
|
H A D | hw_helper_tests.cpp | 1251 auto &hwHelper = HwHelper::get(renderCoreFamily); in TEST_F() local 1264 auto &hwHelper = HwHelper::get(renderCoreFamily); in HWTEST_F() local 1275 auto &hwHelper = HwHelper::get(renderCoreFamily); in HWTEST_F() local 1276 EXPECT_EQ(0u, hwHelper.getNumCacheRegions()); in HWTEST_F() 1280 auto &hwHelper = HwHelper::get(renderCoreFamily); in HWCMDTEST_F() local 1297 auto &hwHelper = HwHelper::get(renderCoreFamily); in HWTEST_F() local 1301 hwHelper.applyRenderCompressionFlag(*gmm, 1); in HWTEST_F() 1304 hwHelper.applyRenderCompressionFlag(*gmm, 0); in HWTEST_F() 1312 hwHelper.adjustPreemptionSurfaceSize(csrSize); in HWTEST_F() 1409 EXPECT_FALSE(hwHelper.disableL3CacheForDebug()); in HWTEST2_F() [all …]
|
H A D | hw_helper_default_tests.cpp | 12 auto &hwHelper = HwHelper::get(pDevice->getHardwareInfo().platform.eRenderCoreFamily); in HWCMDTEST_F() local 13 EXPECT_TRUE(hwHelper.hvAlign4Required()); in HWCMDTEST_F() 17 auto &hwHelper = HwHelper::get(pDevice->getHardwareInfo().platform.eRenderCoreFamily); in HWCMDTEST_F() local 18 auto value = hwHelper.getBindlessSurfaceExtendedMessageDescriptorValue(0x200); in HWCMDTEST_F()
|
H A D | raii_hw_helper.h | 19 HwHelper *hwHelper; variable 24 hwHelper = hwHelperFactory[this->gfxCoreFamily]; in RAIIHwHelperFactory() 29 hwHelperFactory[this->gfxCoreFamily] = hwHelper; in ~RAIIHwHelperFactory()
|
H A D | hw_helper_tests_dg2_or_below.cpp | 19 auto &hwHelper = HwHelper::get(hardwareInfo.platform.eRenderCoreFamily); in HWTEST2_F() local 20 EXPECT_FALSE(hwHelper.isKmdMigrationSupported(hardwareInfo)); in HWTEST2_F()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/test/unit_test/xe_hpc_core/ |
H A D | hw_helper_xe_hpc_core_tests.cpp | 43 auto &hwHelper = HwHelper::get(hwInfo.platform.eRenderCoreFamily); in XE_HPC_CORETEST_F() local 46 EXPECT_EQ(testInput.expected, hwHelper.computeSlmValues(hwInfo, testInput.slmSize)); in XE_HPC_CORETEST_F() 49 EXPECT_THROW(hwHelper.computeSlmValues(hwInfo, 129 * KB), std::exception); in XE_HPC_CORETEST_F() 53 auto &hwHelper = HwHelper::get(renderCoreFamily); in XE_HPC_CORETEST_F() local 54 EXPECT_TRUE(hwHelper.isCpuImageTransferPreferred(*defaultHwInfo)); in XE_HPC_CORETEST_F() 58 auto &hwHelper = NEO::HwHelper::get(defaultHwInfo->platform.eRenderCoreFamily); in XE_HPC_CORETEST_F() local 59 EXPECT_EQ(hwHelper.getPaddingForISAAllocation(), 3584u); in XE_HPC_CORETEST_F() 63 auto &hwHelper = NEO::HwHelper::get(defaultHwInfo->platform.eRenderCoreFamily); in XE_HPC_CORETEST_F() local 64 EXPECT_TRUE(hwHelper.isRevisionSpecificBinaryBuiltinRequired()); in XE_HPC_CORETEST_F()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/gen12lp/dg1/ |
H A D | hw_helper_tests_dg1.cpp | 37 const auto &hwHelper = HwHelper::get(hardwareInfo.platform.eRenderCoreFamily); in DG1TEST_F() local 49 EXPECT_TRUE(hwHelper.isWorkaroundRequired(REVISION_A0, REVISION_B, hardwareInfo)); in DG1TEST_F() 52 EXPECT_FALSE(hwHelper.isWorkaroundRequired(REVISION_B, REVISION_A0, hardwareInfo)); in DG1TEST_F() 53 EXPECT_FALSE(hwHelper.isWorkaroundRequired(REVISION_A0, REVISION_D, hardwareInfo)); in DG1TEST_F() 59 auto &hwHelper = HwHelper::get(renderCoreFamily); in DG1TEST_F() local 64 hwHelper.setExtraAllocationData(allocData, allocProperties, *defaultHwInfo); in DG1TEST_F()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/gen12lp/tgllp/ |
H A D | test_hw_helper_tgllp.cpp | 45 auto &hwHelper = HwHelper::get(hardwareInfo.platform.eRenderCoreFamily); in TGLLPTEST_F() local 58 EXPECT_TRUE(hwHelper.isWorkaroundRequired(REVISION_A0, REVISION_B, hardwareInfo)); in TGLLPTEST_F() 61 EXPECT_TRUE(hwHelper.isWorkaroundRequired(REVISION_A0, REVISION_C, hardwareInfo)); in TGLLPTEST_F() 64 EXPECT_FALSE(hwHelper.isWorkaroundRequired(REVISION_A0, REVISION_D, hardwareInfo)); in TGLLPTEST_F() 65 EXPECT_FALSE(hwHelper.isWorkaroundRequired(REVISION_B, REVISION_A0, hardwareInfo)); in TGLLPTEST_F()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/command_stream/ |
H A D | preemption_xehp_and_later.inl | 21 HwHelper &hwHelper = HwHelper::get(hwInfo.platform.eRenderCoreFamily); local 24 if (hwHelper.isSipWANeeded(hwInfo)) { 51 HwHelper &hwHelper = HwHelper::get(device.getHardwareInfo().platform.eRenderCoreFamily); local 52 if (hwHelper.isSipWANeeded(device.getHardwareInfo())) { 79 HwHelper &hwHelper = HwHelper::get(hwInfo.platform.eRenderCoreFamily); local 81 if (hwHelper.isSipWANeeded(hwInfo)) {
|
H A D | scratch_space_controller_xehp_and_later.cpp | 28 …auto &hwHelper = HwHelper::get(environment.rootDeviceEnvironments[rootDeviceIndex]->getHardwareInf… in ScratchSpaceControllerXeHPAndLater() local 29 singleSurfaceStateSize = hwHelper.getRenderSurfaceStateSize(); in ScratchSpaceControllerXeHPAndLater() 83 …auto &hwHelper = HwHelper::get(executionEnvironment.rootDeviceEnvironments[rootDeviceIndex]->getHa… in programSurfaceStateAtPtr() local 88 …hwHelper.setRenderSurfaceStateForBuffer(*executionEnvironment.rootDeviceEnvironments[rootDeviceInd… in programSurfaceStateAtPtr() 99 …hwHelper.setRenderSurfaceStateForBuffer(*executionEnvironment.rootDeviceEnvironments[rootDeviceInd… in programSurfaceStateAtPtr()
|
H A D | scratch_space_controller.cpp | 21 auto &hwHelper = HwHelper::get(hwInfo->platform.eRenderCoreFamily); in ScratchSpaceController() local 22 computeUnitsUsedForScratch = hwHelper.getComputeUnitsUsedForScratch(hwInfo); in ScratchSpaceController()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/device/ |
H A D | device_caps.cpp | 28 auto &hwHelper = HwHelper::get(hwInfo.platform.eRenderCoreFamily); in initializeCaps() local 72 … deviceInfo.maxMemAllocSize = std::min(deviceInfo.maxMemAllocSize, hwHelper.getMaxMemAllocSize()); in initializeCaps() 99 : hwHelper.getMinimalSIMDSize(); in initializeCaps() 113 deviceInfo.threadsPerEUConfigs = hwHelper.getThreadsPerEUConfigs(); in initializeCaps() 126 deviceInfo.maxSamplers = hwHelper.getMaxNumSamplers(); in initializeCaps() 128 deviceInfo.computeUnitsUsedForScratch = hwHelper.getComputeUnitsUsedForScratch(&hwInfo); in initializeCaps() 145 deviceInfo.maxSubGroups = hwHelper.getDeviceSubGroupSizes(); in initializeCaps()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/built_ins/ |
H A D | sip.cpp | 103 auto &hwHelper = HwHelper::get(device.getHardwareInfo().platform.eRenderCoreFamily); in getSipKernelType() local 104 return hwHelper.getSipKernelType(debuggingEnabled); in getSipKernelType() 138 auto &hwHelper = HwHelper::get(hwInfo.platform.eRenderCoreFamily); in initRawBinaryFromFileKernel() local 140 …MemoryTransferHelper::transferMemoryToAllocation(hwHelper.isBlitCopyRequiredForLocalMemory(hwInfo,… in initRawBinaryFromFileKernel() 189 auto &hwHelper = HwHelper::get(hwInfo.platform.eRenderCoreFamily); in initHexadecimalArraySipKernel() local 190 hwHelper.setSipKernelData(sipKernelBinary, kernelBinarySize); in initHexadecimalArraySipKernel() 200 …MemoryTransferHelper::transferMemoryToAllocation(hwHelper.isBlitCopyRequiredForLocalMemory(hwInfo,… in initHexadecimalArraySipKernel()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/xe_hpc_core/ |
H A D | hw_helper_tests_xe_hpc_core.cpp | 177 const auto &hwHelper = HwHelper::get(hardwareInfo.platform.eRenderCoreFamily); in XE_HPC_CORETEST_F() local 197 EXPECT_FALSE(hwHelper.isWorkaroundRequired(REVISION_B, REVISION_A0, hardwareInfo)); in XE_HPC_CORETEST_F() 198 EXPECT_FALSE(hwHelper.isWorkaroundRequired(REVISION_C, REVISION_A0, hardwareInfo)); in XE_HPC_CORETEST_F() 199 EXPECT_FALSE(hwHelper.isWorkaroundRequired(REVISION_C, REVISION_B, hardwareInfo)); in XE_HPC_CORETEST_F() 201 EXPECT_FALSE(hwHelper.isWorkaroundRequired(REVISION_A0, REVISION_D, hardwareInfo)); in XE_HPC_CORETEST_F() 929 auto &hwHelper = HwHelper::get(hwInfo.platform.eRenderCoreFamily); in XE_HPC_CORETEST_F() local 966 auto &hwHelper = HwHelper::get(hwInfo.platform.eRenderCoreFamily); in XE_HPC_CORETEST_F() local 990 hwHelper.setExtraAllocationData(allocData, allocProperties, hwInfo); in XE_HPC_CORETEST_F() 1007 auto &hwHelper = HwHelper::get(hwInfo.platform.eRenderCoreFamily); in XE_HPC_CORETEST_F() local 1018 hwHelper.setExtraAllocationData(allocData, singleTileAllocProperties, hwInfo); in XE_HPC_CORETEST_F() [all …]
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/xe_hp_core/ |
H A D | hw_helper_tests_xe_hp_core.cpp | 84 auto &hwHelper = HwHelper::get(hwInfo.platform.eRenderCoreFamily); in XE_HP_CORE_TEST_F() local 90 hwHelper.setExtraAllocationData(allocData, allocProperties, hwInfo); in XE_HP_CORE_TEST_F() 105 const auto &hwHelper = HwHelper::get(hardwareInfo.platform.eRenderCoreFamily); in XE_HP_CORE_TEST_F() local 113 EXPECT_TRUE(hwHelper.isWorkaroundRequired(REVISION_A0, REVISION_B, hardwareInfo)); in XE_HP_CORE_TEST_F() 114 EXPECT_TRUE(hwHelper.isWorkaroundRequired(REVISION_A0, REVISION_A1, hardwareInfo)); in XE_HP_CORE_TEST_F() 115 EXPECT_FALSE(hwHelper.isWorkaroundRequired(REVISION_B, REVISION_A0, hardwareInfo)); in XE_HP_CORE_TEST_F() 117 EXPECT_FALSE(hwHelper.isWorkaroundRequired(REVISION_A0, REVISION_A1, hardwareInfo)); in XE_HP_CORE_TEST_F() 119 EXPECT_FALSE(hwHelper.isWorkaroundRequired(REVISION_A0, REVISION_D, hardwareInfo)); in XE_HP_CORE_TEST_F() 122 EXPECT_FALSE(hwHelper.isWorkaroundRequired(REVISION_A0, REVISION_D, hardwareInfo)); in XE_HP_CORE_TEST_F()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/os_interface/linux/ |
H A D | memory_info.cpp | 23 auto &hwHelper = HwHelper::get(hwInfo.platform.eRenderCoreFamily); in getMemoryRegionClassAndInstance() local 24 if (!hwHelper.getEnableLocalMemory(hwInfo) || memoryBank == 0) { in getMemoryRegionClassAndInstance() 30 index = hwHelper.isBankOverrideRequired(hwInfo) ? 0 : index; in getMemoryRegionClassAndInstance()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/source/cl_device/ |
H A D | cl_device_caps.cpp | 85 auto &hwHelper = HwHelper::get(hwInfo.platform.eRenderCoreFamily); in initializeCaps() local 137 : hwHelper.getMinimalSIMDSize(); in initializeCaps() 220 deviceExtensions += hwHelper.getExtensions(); in initializeCaps() 244 deviceInfo.hostUnifiedMemory = (false == hwHelper.isLocalMemoryEnabled(hwInfo)); in initializeCaps() 334 deviceInfo.image3DMaxWidth = hwHelper.getMax3dImageWidthOrHeight(); in initializeCaps() 335 deviceInfo.image3DMaxHeight = hwHelper.getMax3dImageWidthOrHeight(); in initializeCaps() 338 deviceInfo.imagePitchAlignment = hwHelper.getPitchAlignmentForImage(&hwInfo); in initializeCaps() 401 deviceInfo.planarYuvMaxHeight = hwHelper.getPlanarYuvMaxHeight(); in initializeCaps() 416 deviceInfo.preferredWorkGroupSizeMultiple = hwHelper.isFusedEuDispatchEnabled(hwInfo) in initializeCaps()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/gen12lp/windows/ |
H A D | hw_info_config_tgllp.cpp | 22 HwHelper &hwHelper = HwHelper::get(hwInfo.platform.eRenderCoreFamily); in setCapabilityCoherencyFlag() local 23 if (hwHelper.isWorkaroundRequired(REVISION_A0, REVISION_B, hwInfo)) { in setCapabilityCoherencyFlag()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/command_queue/ |
H A D | sync_buffer_handler_tests.cpp | 74 hwHelper = &HwHelper::get(pClDevice->getHardwareInfo().platform.eRenderCoreFamily); in SetUpT() 75 if (hwHelper->isCooperativeEngineSupported(pClDevice->getHardwareInfo())) { in SetUpT() 100 …auto engineGroupType = hwHelper->getEngineGroupType(commandQueue->getGpgpuEngine().getEngineType(), in isCooperativeDispatchSupported() 102 … return hwHelper->isCooperativeDispatchSupported(engineGroupType, pDevice->getHardwareInfo()); in isCooperativeDispatchSupported() 113 HwHelper *hwHelper; member in SyncBufferHandlerTest
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/os_interface/windows/ |
H A D | hw_info_config_wddm.cpp | 21 auto &hwHelper = HwHelper::get(outHwInfo->platform.eRenderCoreFamily); in configureHwInfoWddm() local 26 hwHelper.adjustDefaultEngineType(outHwInfo); in configureHwInfoWddm() 41 hwHelper.adjustPreemptionSurfaceSize(outHwInfo->capabilityTable.requiredPreemptionSurfaceSize); in configureHwInfoWddm()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/program/ |
H A D | kernel_info.cpp | 67 const auto &hwHelper = HwHelper::get(hwInfo->platform.eRenderCoreFamily); in setMinWorkGroupSize() local 68 if (hwHelper.isFusedEuDispatchEnabled(*hwInfo)) { in setMinWorkGroupSize() 136 auto &hwHelper = HwHelper::get(hwInfo.platform.eRenderCoreFamily); in createKernelAllocation() local 138 …return MemoryTransferHelper::transferMemoryToAllocation(hwHelper.isBlitCopyRequiredForLocalMemory(… in createKernelAllocation()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/test/common/xe_hpg_core/dg2/ |
H A D | test_hw_helper_dg2.cpp | 21 auto &hwHelper = HwHelperHw<FamilyType>::get(); in DG2TEST_F() local 28 EXPECT_EQ(testInput.expected, hwHelper.computeSlmValues(hwInfo, testInput.slmSize)); in DG2TEST_F()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/api/ |
H A D | cl_set_kernel_exec_info_tests.inl | 71 auto &hwHelper = NEO::ClHwHelper::get(pDevice->getHardwareInfo().platform.eRenderCoreFamily); local 72 if (!hwHelper.isSupportedKernelThreadArbitrationPolicy()) { 307 auto &hwHelper = NEO::ClHwHelper::get(pDevice->getHardwareInfo().platform.eRenderCoreFamily); local 308 if (!hwHelper.isSupportedKernelThreadArbitrationPolicy()) { 326 auto &hwHelper = NEO::ClHwHelper::get(pDevice->getHardwareInfo().platform.eRenderCoreFamily); local 327 if (hwHelper.isSupportedKernelThreadArbitrationPolicy()) { 343 auto &hwHelper = NEO::ClHwHelper::get(pDevice->getHardwareInfo().platform.eRenderCoreFamily); local 344 if (!hwHelper.isSupportedKernelThreadArbitrationPolicy()) {
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/gmm_helper/ |
H A D | gmm.cpp | 122 auto &hwHelper = HwHelper::get(clientContext->getHardwareInfo()->platform.eRenderCoreFamily); in setupImageResourceParams() local 134 resourceParams.Flags.Wa.__ForceOtherHVALIGN4 = hwHelper.hvAlign4Required(); in setupImageResourceParams() 149 auto &hwHelper = HwHelper::get(hardwareInfo->platform.eRenderCoreFamily); in applyAuxFlagsForBuffer() local 151 hwHelper.applyRenderCompressionFlag(*this, 1); in applyAuxFlagsForBuffer() 156 hwHelper.applyAdditionalCompressionSettings(*this, !isCompressionEnabled); in applyAuxFlagsForBuffer() 188 auto &hwHelper = HwHelper::get(hwInfo->platform.eRenderCoreFamily); in applyAuxFlagsForImage() local 191 hwHelper.applyRenderCompressionFlag(*this, 1); in applyAuxFlagsForImage() 198 hwHelper.applyAdditionalCompressionSettings(*this, !isCompressionEnabled); in applyAuxFlagsForImage()
|