Skip to content

[SM6.10] Thread scope Multiply output K Vec #8335

@xiaolin-ji

Description

@xiaolin-ji

Description
From

typename hlsl::enable_if<hlsl::is_arithmetic<InputElTy>::value, vector<OutputElTy, K> >::type

typename hlsl::enable_if<hlsl::is_arithmetic::value, vector<OutputElTy, K> >::type
// clang-format on
Multiply(Matrix<MatrixDT, M, K, MatrixUse::A, MatrixScope::Thread> MatrixA,
vector<InputElTy, K> Vec) {
vector<OutputElTy, M> Result;
__builtin_LinAlg_MatrixVectorMultiply(Result, MatrixA.__handle,
hlsl::is_signed::value, Vec,
MatrixDT);
return Result;
}

the output vector length is M or K?

Steps to Reproduce

Actual Behavior

Environment

  • DXC version
  • Host Operating System <!--- Host operating system and version --->

Metadata

Metadata

Assignees

Labels

bugBug, regression, crashneeds-triageAwaiting triage

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions