mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Add RT calls support to Kernel descriptor
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
604329479f
commit
9959896957
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user