CANN: Disable Ger operator of OUT_PROD on 310p device (#17563)
This commit is contained in:
parent
7f3a72a8ed
commit
a2b0fe8d37
|
|
@ -2564,6 +2564,10 @@ static bool ggml_backend_cann_supports_op(ggml_backend_dev_t dev, const ggml_ten
|
||||||
return true;
|
return true;
|
||||||
case GGML_OP_OUT_PROD:
|
case GGML_OP_OUT_PROD:
|
||||||
{
|
{
|
||||||
|
#ifdef ASCEND_310P
|
||||||
|
// Ger is not supported on 310p device
|
||||||
|
return false;
|
||||||
|
#endif
|
||||||
switch (op->src[0]->type) {
|
switch (op->src[0]->type) {
|
||||||
case GGML_TYPE_F16:
|
case GGML_TYPE_F16:
|
||||||
case GGML_TYPE_F32:
|
case GGML_TYPE_F32:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue