dot4add_i8packed¶
Description¶
Treats x and y as 4-component vectors of int8 and computes dot(x, y)+acc
Signature¶
int dot4add_i8packed( uint x, uint y, int acc);
Parameters¶
x : uint¶
y : uint¶
acc : int¶
Availability and Requirements¶
Defined for the following targets:
hlsl¶
Available in all stages.
glsl¶
Available in all stages.
cpp¶
Available in all stages.
cuda¶
Available in all stages.
metal¶
Available in all stages.
wgsl¶
Available in all stages.
spirv¶
Available in all stages.
Requires capabilities: SPV_KHR_non_semantic_info, SPV_GOOGLE_user_type, spvDerivativeControl, spvImageQuery, spvImageGatherExtended, spvSparseResidency, spvMinLod, spvFragmentBarycentricKHR, spvFragmentFullyCoveredEXT, spvGroupNonUniformBallot, spvGroupNonUniformShuffle, spvGroupNonUniformArithmetic, spvGroupNonUniformQuad, spvGroupNonUniformVote, spvRayTracingPositionFetchKHR, spvShaderNonUniformEXT.
llvm¶
Available in all stages.