diff --git a/src/plugins/intel_gpu/tests/unit/passes/reorder_reshape_permute.cpp b/src/plugins/intel_gpu/tests/unit/passes/reorder_reshape_permute.cpp index 6dfb067f18ea26..bc2b3f37fe1604 100644 --- a/src/plugins/intel_gpu/tests/unit/passes/reorder_reshape_permute.cpp +++ b/src/plugins/intel_gpu/tests/unit/passes/reorder_reshape_permute.cpp @@ -11,7 +11,7 @@ using namespace cldnn; using namespace ::tests; - +#ifdef ENABLE_ONEDNN_FOR_GPU TEST(opt_reorder_reshape_permute, no_reshape) { auto& engine = get_test_engine(); auto in_layout = layout{ov::PartialShape({1, 2, 4, 6}), data_types::f16, format::bfyx}; @@ -360,3 +360,4 @@ TEST(opt_reorder_reshape_permute, not_sinking_reshape) { << "\nopt[i] = " << lock[i]; } } +#endif // ENABLE_ONEDNN_FOR_GPU \ No newline at end of file