Files
compute-runtime/level_zero/api/extensions/public/ze_exp_ext.cpp
Compute-Runtime-Validation cac1b5465b Revert "Updating L0 loader to 1.2.3 in manifest"
This reverts commit 76666662c4.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-03-04 14:16:39 +01:00

28 lines
552 B
C++

/*
* Copyright (C) 2020-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "level_zero/api/extensions/public/ze_exp_ext.h"
#include "level_zero/core/source/kernel/kernel.h"
#if defined(__cplusplus)
extern "C" {
#endif
ZE_APIEXPORT ze_result_t ZE_APICALL
zeKernelSetGlobalOffsetExp(
ze_kernel_handle_t hKernel,
uint32_t offsetX,
uint32_t offsetY,
uint32_t offsetZ) {
return L0::Kernel::fromHandle(hKernel)->setGlobalOffsetExp(offsetX, offsetY, offsetZ);
}
#if defined(__cplusplus)
} // extern "C"
#endif