level-zero v1.0 (1/N)

Change-Id: Id3133bb1e89a4e8fe41cbdaad152dd8129f35c5d
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
Jaime Arteaga
2020-07-31 18:03:32 -07:00
parent 514dd34a2f
commit fd45e8e5a4
52 changed files with 499 additions and 470 deletions

View File

@@ -11,7 +11,7 @@
extern "C" {
__zedllexport ze_result_t __zecall
ZE_APIEXPORT ze_result_t ZE_APICALL
zeSamplerCreate(
ze_device_handle_t hDevice,
const ze_sampler_desc_t *desc,
@@ -28,7 +28,7 @@ zeSamplerCreateExt(
return L0::Context::fromHandle(hContext)->createSampler(hDevice, desc, phSampler);
}
__zedllexport ze_result_t __zecall
ZE_APIEXPORT ze_result_t ZE_APICALL
zeSamplerDestroy(
ze_sampler_handle_t hSampler) {
return L0::Sampler::fromHandle(hSampler)->destroy();