Skip to content

Commit

Permalink
add print in AsBlasDataType
Browse files Browse the repository at this point in the history
  • Loading branch information
Cjkkkk committed May 23, 2023
1 parent d836d4c commit 7e9f1d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xla/service/gpu/matmul_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,8 @@ StatusOr<se::blas::DataType> AsBlasDataType(PrimitiveType dtype) {
case C128:
return se::blas::DataType::kComplexDouble;
default:
return InternalError("AsBlasDataType: unsupported type");
return InternalError("AsBlasDataType: unsupported type: %s",
primitive_util::LowercasePrimitiveTypeName(dtype));
}
}

Expand Down

0 comments on commit 7e9f1d6

Please sign in to comment.