Add RT calls support to Kernel descriptor

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2022-04-22 12:47:26 +00:00
committed by Compute-Runtime-Automation
parent 604329479f
commit 9959896957
15 changed files with 92 additions and 100 deletions

View File

@@ -138,7 +138,7 @@ struct KernelImp : Kernel {
ze_result_t setCacheConfig(ze_cache_config_flags_t flags) override;
bool usesRayTracing() {
return kernelImmData->getDescriptor().hasRTCalls();
return kernelImmData->getDescriptor().kernelAttributes.flags.hasRTCalls;
}
ze_result_t getProfileInfo(zet_profile_properties_t *pProfileProperties) override {