File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1978,13 +1978,6 @@ class plan_builder_t {
19781978 }
19791979 if (status == plan_status_t ::success) return status::success;
19801980
1981- if (a_direct_view_ || b_direct_view_) {
1982- gpu_trace () << " Retry plan initialization without direct view" ;
1983- enable_direct_view (false );
1984- status = try_init_plan ();
1985- if (status == plan_status_t ::success) return status::success;
1986- }
1987-
19881981 if ((use_slm (abc_kind_t ::a) || use_slm (abc_kind_t ::b))
19891982 && !cfg_.slm ().is_overridden ()) {
19901983 gpu_trace () << " Retry plan initialization without SLM" ;
@@ -1993,6 +1986,13 @@ class plan_builder_t {
19931986 if (status == plan_status_t ::success) return status::success;
19941987 }
19951988
1989+ if (a_direct_view_ || b_direct_view_) {
1990+ gpu_trace () << " Retry plan initialization without direct view" ;
1991+ enable_direct_view (false );
1992+ status = try_init_plan ();
1993+ if (status == plan_status_t ::success) return status::success;
1994+ }
1995+
19961996 // Can't create convolution plan.
19971997 return status::runtime_error;
19981998 }
You can’t perform that action at this time.
0 commit comments