add a stdout for unsupported op
This commit is contained in:
parent
ffd7c1d04c
commit
ba661a4df5
1 changed files with 2 additions and 0 deletions
|
@ -1797,6 +1797,7 @@ static void pool2d_nchw_kernel(
|
|||
default:
|
||||
res = NAN;
|
||||
op_valid = false;
|
||||
fprintf(stdout, "An unsupported op is passed as argument.\n");
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -1818,6 +1819,7 @@ static void pool2d_nchw_kernel(
|
|||
case GGML_OP_POOL_MAX: res = sycl::max(res, (To)cur); break;
|
||||
default:
|
||||
op_valid = false;
|
||||
fprintf(stdout, "An unsupported op is passed as argument.\n");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue