Skip to content

Commit 2fab8cc

Browse files
Jaime ArteagaCompute-Runtime-Automation
authored andcommitted
Add support for zeKernelSchedulingHintExp (2)
Signed-off-by: Jaime Arteaga <[email protected]>
1 parent f1264c1 commit 2fab8cc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

level_zero/api/core/ze_core_loader.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,7 @@ zeGetKernelExpProcAddrTable(
599599

600600
ze_result_t result = ZE_RESULT_SUCCESS;
601601
pDdiTable->pfnSetGlobalOffsetExp = zeKernelSetGlobalOffsetExp;
602+
pDdiTable->pfnSchedulingHintExp = zeKernelSchedulingHintExp;
602603
driver_ddiTable.core_ddiTable.KernelExp = *pDdiTable;
603604
return result;
604605
}

level_zero/core/source/driver/driver_handle_imp.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ struct DriverHandleImp : public DriverHandle {
8686
{ZE_FLOAT_ATOMICS_EXT_NAME, ZE_FLOAT_ATOMICS_EXT_VERSION_CURRENT},
8787
{ZE_RELAXED_ALLOCATION_LIMITS_EXP_NAME, ZE_RELAXED_ALLOCATION_LIMITS_EXP_VERSION_CURRENT},
8888
{ZE_MODULE_PROGRAM_EXP_NAME, ZE_MODULE_PROGRAM_EXP_VERSION_CURRENT},
89+
{ZE_KERNEL_SCHEDULING_HINTS_EXP_NAME, ZE_SCHEDULING_HINTS_EXP_VERSION_CURRENT},
8990
{ZE_GLOBAL_OFFSET_EXP_NAME, ZE_GLOBAL_OFFSET_EXP_VERSION_CURRENT}};
9091

9192
uint64_t uuidTimestamp = 0u;

0 commit comments

Comments
 (0)