File tree 1 file changed +1
-19
lines changed
1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -416,10 +416,7 @@ void skip_unimplemented_ops(const dnnl::graph::partition &partition,
416
416
417
417
// A list of ops that don't have DNNL backend support so far.
418
418
static const std::vector<std::string> unimplemented_ops {" Pow" };
419
- // A list of ops that don't have DNNL backend support so far on GPU.
420
- static const std::vector<std::string> unimplemented_ops_gpu {" GenIndex" };
421
- const auto &eng = get_graph_engine ();
422
- bool is_gpu = eng.get_kind () == dnnl::engine::kind::gpu;
419
+
423
420
// For an unsupported partition, retrieve all operation IDs, find a
424
421
// correspondent operation kind in a deserialized_graph_t and match it against
425
422
// a list of known unsupported ops.
@@ -438,21 +435,6 @@ void skip_unimplemented_ops(const dnnl::graph::partition &partition,
438
435
res->reason = skip_reason::case_not_supported;
439
436
return ;
440
437
}
441
-
442
- if (is_gpu) {
443
- const bool has_unimplemented_op_gpu = std::any_of (
444
- unimplemented_ops_gpu.begin (), unimplemented_ops_gpu.end (),
445
- [&dg_op_kind](const std::string &kind) {
446
- return dg_op_kind == kind;
447
- });
448
- if (has_unimplemented_op_gpu) {
449
- BENCHDNN_PRINT (2 , " [INFO]: Unimplemented op on GPU: %s.\n " ,
450
- dg_op_kind.c_str ());
451
- res->state = SKIPPED;
452
- res->reason = skip_reason::case_not_supported;
453
- return ;
454
- }
455
- }
456
438
}
457
439
}
458
440
You can’t perform that action at this time.
0 commit comments