Skip to content

OneDNN with Level Zero GPU runtime fails on get_cache_blob #4905

@jkasprza

Description

@jkasprza

Summary

Exception with following message is thrown "could not get cache blob size from a primitive" when executing dnnl::primitive::get_cache_blob with L0 runtime enabled

Version

OneDNN githash: 470e87e

Steps to reproduce

This issue is causing OpenVINO tests to fail when using L0 runtime. To reproduce build OpenVINO with L0 and testing enabled.

-DGPU_RT_TYPE=L0 -DENABLE_TESTS=ON -DENABLE_FUNCTIONAL_TESTS=ON

Then run the following test_case

bin/intel64/Release/ov_gpu_unit_tests --gtest_filter=*smoke_low_precision_3d_spatial/pooling_random_test.avg_u8_cached/62*

Observed behavior

OneDNN throws exception "could not get cache blob size from a primitive". Backtrace:

#0  dnnl::primitive::get_cache_blob (this=0x7fffc4007838) at openvino/build/src/plugins/intel_gpu/thirdparty/onednn_gpu_install/include/oneapi/dnnl/dnnl.hpp:248
#1  0x0000555559eeefdf in cldnn::onednn::pooling_onednn::save (this=0x7fffc40077c0, ob=...) at openvino/src/plugins/intel_gpu/src/graph/impls/onednn/pooling_onednn.cpp:115
...

Expected behavior

dnnl::primitive::get_cache_blob should work with L0 runtime

Metadata

Metadata

Assignees

Labels

enhancementA feature or an optimization request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions