-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
graph: backend: kernels: sdp verbose enhancement #2273
base: main
Are you sure you want to change the base?
Conversation
make test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please share some verbose examples for these checks.
@@ -163,6 +163,7 @@ struct sdp_decomp_kernel_t : public kernel_base_t { | |||
UNUSED(outputs); | |||
UNUSED(sycl_deps); | |||
UNUSED(sycl_event); | |||
VINFO(graph, exec, check, sdp, "no sycl execution for decomp sdp "); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel we don't need these VINFO check in this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed. thanks for your advice
for dispatch:
for check:
|
b75abab
to
9b8918d
Compare
make test |
@@ -65,17 +68,25 @@ struct sdp_base_t : public kernel_base_t { | |||
if (enable_ukernel) { | |||
kernel = std::make_shared<sdp_primitive_kernel_t<quantized>>(); | |||
ret = kernel->compile_impl(part, g_engine, inputs, outputs); | |||
if (ret == status::success) | |||
VDISPATCH_GRAPH_SDP("dispatch to sdp_primitive_kernel"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
VDISPATCH_GRAPH_SDP("dispatch to sdp_primitive_kernel"); | |
VDISPATCH_GRAPH_SDP("dispatch to sdp_primitive_kernel_t"); |
Just in case you intention is to show the class name.
} | ||
|
||
if (ret != status::success && enable_decomp) { | ||
kernel = std::make_shared<sdp_decomp_kernel_t<quantized, dt>>(); | ||
ret = kernel->compile_impl(part, g_engine, inputs, outputs); | ||
if (ret == status::success) | ||
VDISPATCH_GRAPH_SDP("dispatch to sdp_decomp_kernel"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similarly, sdp_decomp_kernel_t
return status::unimplemented; | ||
VCONDCHECK(graph, create, check, sdp_decomp, | ||
sdp_cfg_.initial_check(subgraph_, inputs), status::unimplemented, | ||
"sdp_decomp_kernel_t: initial check failed"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we don't need this as we already do checks in the initial_check
function.
[Graph API] Code quality improvement: enhancement for SDP