oneapi-src / level-zero

oneAPI Level Zero Specification Headers and Loader
https://spec.oneapi.com/versions/latest/elements/l0/source/index.html
MIT License
208 stars 90 forks source link

zeKernelGetAttribute(ZE_KERNEL_ATTR_SOURCE_ATTRIBUTE) fails validation #28

Closed maleadt closed 4 years ago

maleadt commented 4 years ago

https://github.com/oneapi-src/level-zero/blob/f50b570045e320264b9d46eb83d01838a06feca8/include/core/ze_module.h#L493-L506 vs https://github.com/oneapi-src/level-zero/blob/f50b570045e320264b9d46eb83d01838a06feca8/source/layers/validation/ze_core_layer.cpp#L2630-L2631

bmyates commented 4 years ago

This API has been removed from the 1.0 specification. The new API to use is zeKernelSetIndirectAccess I believe we have all validation bugs fixed. Thanks!