Repository navigation
MetalPerformancePrimitives tvOS xcode27.3 b2
Alex Soto edited this page Nov 24, 2026
·
2 revisions
#MetalPerformancePrimitives.framework https://github.com/dotnet/macios/issues/23418
diff -ruN /Applications/Xcode_27.3.0-beta1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MetalPerformancePrimitives.framework/Headers/MPPTensorOpsMatMul2d.h /Applications/Xcode_27.3.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MetalPerformancePrimitives.framework/Headers/MPPTensorOpsMatMul2d.h
--- /Applications/Xcode_27.3.0-beta1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MetalPerformancePrimitives.framework/Headers/MPPTensorOpsMatMul2d.h 2026-11-04 03:32:02
+++ /Applications/Xcode_27.3.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MetalPerformancePrimitives.framework/Headers/MPPTensorOpsMatMul2d.h 2026-11-23 18:18:28
@@ -83,6 +83,15 @@
// metal_fp8_e4m3_format metal_fp8_e4m3_format float
// metal_fp8_e5m2_format metal_fp8_e5m2_format half
// metal_fp8_e5m2_format metal_fp8_e5m2_format float
+// int8_t int8_t half
+// int8_t int8_t float
+// int8_t int8_t bfloat
+// int8_t int4b_format half
+// int8_t int4b_format float
+// int8_t int4b_format bfloat
+// int8_t int2b_format half
+// int8_t int2b_format float
+// int8_t int2b_format bfloat
//
// Basic usage is in the following example which takes M x K matrix A of type
// half, K x N matrix B of type half, both in device memory and produces M x N
diff -ruN /Applications/Xcode_27.3.0-beta1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MetalPerformancePrimitives.framework/Headers/__impl/MPPTensorOpsMatMul2dImpl.h /Applications/Xcode_27.3.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MetalPerformancePrimitives.framework/Headers/__impl/MPPTensorOpsMatMul2dImpl.h
--- /Applications/Xcode_27.3.0-beta1.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MetalPerformancePrimitives.framework/Headers/__impl/MPPTensorOpsMatMul2dImpl.h 2026-11-04 03:32:02
+++ /Applications/Xcode_27.3.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MetalPerformancePrimitives.framework/Headers/__impl/MPPTensorOpsMatMul2dImpl.h 2026-11-23 18:18:28
@@ -5468,6 +5468,123 @@
extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_fp8e5m2_tg_fp8e5m2_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_fp8e5m2_dv_fp8e5m2_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_fp8e5m2_tg_fp8e5m2_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_dv_i8_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_tg_i8_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_i8_dv_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_i8_tg_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_i8_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_dv_i8_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_tg_i8_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_i8_dv_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_i8_tg_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_i8_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i8_dv_f16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i8_tg_f16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i8_f16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i8_dv_f16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i8_tg_f16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i8_f16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_i8_dv_f16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_i8_tg_f16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_i8_f16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_dv_i8_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_tg_i8_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_i8_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_i8_tg_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_i8_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_dv_i8_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_tg_i8_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_i8_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_i8_tg_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_i8_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i8_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i8_tg_f32_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i8_f32_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i8_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i8_tg_f32_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i8_f32_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_i8_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_i8_tg_f32_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_i8_f32_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_dv_i8_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_tg_i8_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_i8_dv_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_i8_tg_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_i8_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_dv_i8_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_tg_i8_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_i8_dv_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_i8_tg_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_i8_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i8_dv_b16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i8_tg_b16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i8_b16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i8_dv_b16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i8_tg_b16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i8_b16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_i8_dv_b16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_i8_tg_b16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_i8_b16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_dv_i4_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_tg_i4_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_dv_i4_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_tg_i4_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i4_dv_f16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i4_tg_f16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i4_f16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i4_dv_f16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i4_tg_f16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i4_f16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_dv_i4_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_tg_i4_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_dv_i4_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_tg_i4_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i4_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i4_tg_f32_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i4_f32_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i4_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i4_tg_f32_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i4_f32_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_dv_i4_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_tg_i4_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_dv_i4_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_tg_i4_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i4_dv_b16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i4_tg_b16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i4_b16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i4_dv_b16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i4_tg_b16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i4_b16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_dv_i2_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_tg_i2_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_dv_i2_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_tg_i2_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i2_dv_f16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i2_tg_f16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i2_f16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i2_dv_f16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i2_tg_f16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i2_f16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_dv_i2_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_tg_i2_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_dv_i2_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_tg_i2_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i2_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i2_tg_f32_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i2_f32_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i2_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i2_tg_f32_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i2_f32_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_dv_i2_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_dv_i8_tg_i2_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_dv_i2_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_tg_i8_tg_i2_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i2_dv_b16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i2_tg_b16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i2_b16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i2_dv_b16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i2_tg_b16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i2_b16_v3(thread matmul2d_descriptor & desc, thread void *left, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, int threads, const thread __matmul2d_ext & ext);
#endif
#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
@@ -6025,6 +6142,78 @@
extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_fp8e5m2_dv_fp8e5m2_tg_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_fp8e5m2_tg_fp8e5m2_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_fp8e5m2_tg_fp8e5m2_tg_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_dv_i8_dv_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_dv_i8_tg_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_tg_i8_dv_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_tg_i8_tg_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_dv_i8_dv_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_dv_i8_tg_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_tg_i8_dv_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_tg_i8_tg_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_dv_i8_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_dv_i8_tg_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_tg_i8_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_tg_i8_tg_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_dv_i8_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_dv_i8_tg_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_tg_i8_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_tg_i8_tg_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_dv_i8_dv_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_dv_i8_tg_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_tg_i8_dv_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_tg_i8_tg_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_dv_i8_dv_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_dv_i8_tg_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_tg_i8_dv_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_tg_i8_tg_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_dv_i4_dv_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_dv_i4_tg_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_tg_i4_dv_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_tg_i4_tg_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_dv_i4_dv_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_dv_i4_tg_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_tg_i4_dv_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_tg_i4_tg_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_dv_i4_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_dv_i4_tg_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_tg_i4_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_tg_i4_tg_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_dv_i4_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_dv_i4_tg_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_tg_i4_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_tg_i4_tg_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_dv_i4_dv_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_dv_i4_tg_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_tg_i4_dv_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_tg_i4_tg_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_dv_i4_dv_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_dv_i4_tg_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_tg_i4_dv_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_tg_i4_tg_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_dv_i2_dv_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_dv_i2_tg_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_tg_i2_dv_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_tg_i2_tg_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_dv_i2_dv_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_dv_i2_tg_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_tg_i2_dv_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_tg_i2_tg_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_dv_i2_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_dv_i2_tg_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_tg_i2_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_tg_i2_tg_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_dv_i2_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_dv_i2_tg_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_tg_i2_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_tg_i2_tg_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_dv_i2_dv_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_dv_i2_tg_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_tg_i2_dv_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_dv_i8_tg_i2_tg_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_dv_i2_dv_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_dv_i2_tg_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_tg_i2_dv_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_tg_i8_tg_i2_tg_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, int threads, const thread __matmul2d_ext & ext);
extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_th_f16_th_f16_th_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_th_f16_th_f16_dv_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_th_f16_dv_f16_th_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
@@ -6321,6 +6510,30 @@
extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_dv_ui8_th_b16_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_dv_ui8_dv_b16_th_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_dv_ui8_dv_b16_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_th_i8_th_i8_th_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_th_i8_th_i8_dv_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_th_i8_dv_i8_th_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_th_i8_dv_i8_dv_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_dv_i8_th_i8_th_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_dv_i8_th_i8_dv_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_dv_i8_dv_i8_th_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_dv_i8_dv_i8_dv_f16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_th_i8_th_i8_th_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_th_i8_th_i8_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_th_i8_dv_i8_th_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_th_i8_dv_i8_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_dv_i8_th_i8_th_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_dv_i8_th_i8_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_dv_i8_dv_i8_th_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_dv_i8_dv_i8_dv_f32_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_th_i8_th_i8_th_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_th_i8_th_i8_dv_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_th_i8_dv_i8_th_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_th_i8_dv_i8_dv_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_dv_i8_th_i8_th_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_dv_i8_th_i8_dv_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_dv_i8_dv_i8_th_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
+extern "C" EXTERNALLY_DEFINED_ATTR void __tensorops_impl_matmul2d_op_run_single_thread_dv_i8_dv_i8_dv_b16_v3(thread matmul2d_descriptor & desc, thread void *left, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type leftDescType, __tensor_ops_detail::__tensor_ops_datatype leftScaleDataType, int leftScaleBlockSize0, int leftScaleBlockSize1, int leftStaticExtent0, int leftStaticExtent1, thread void *right, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type rightDescType, __tensor_ops_detail::__tensor_ops_datatype rightScaleDataType, int rightScaleBlockSize0, int rightScaleBlockSize1, int rightStaticExtent0, int rightStaticExtent1, thread void *destination, __tensor_ops_detail::__tensor_ops_tensor_descriptor_type destinationDescType, int destinationStaticExtent0, int destinationStaticExtent1, const thread __matmul2d_ext & ext);
#endif
#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
@@ -7191,7 +7404,20 @@
destination_element_type>>;
using destination_element_t = destination_element_type;
using coord_t = coord_type;
- using extent_t = metal::dextents<coord_t, rank>;
+ static_assert(operand_index == __matmul2d_cooperative_operand_index::destination || layout != __matmul2d_cooperative_tensor_layout::automatic ||
+ (descriptor.k != static_cast<int>(metal::dynamic_extent) && descriptor.k != dynamic_length_v<int>),
+ "Inner dimension cannot be dynamic with input cooperative tensors");
+ // (columns, rows) in the coordinate space of the operand's tensor: left K x M (M x K if transposed),
+ // right N x K (K x N if transposed), destination N x M
+ using extent_t = metal::conditional_t<operand_index == __matmul2d_cooperative_operand_index::left,
+ metal::conditional_t<descriptor.transpose_left,
+ metal::extents<coord_t, size_t(descriptor.m), size_t(descriptor.k)>,
+ metal::extents<coord_t, size_t(descriptor.k), size_t(descriptor.m)>>,
+ metal::conditional_t<operand_index == __matmul2d_cooperative_operand_index::right,
+ metal::conditional_t<descriptor.transpose_right,
+ metal::extents<coord_t, size_t(descriptor.k), size_t(descriptor.n)>,
+ metal::extents<coord_t, size_t(descriptor.n), size_t(descriptor.k)>>,
+ metal::extents<coord_t, size_t(descriptor.n), size_t(descriptor.m)>>>;
using thread_storage_t = thread void *;
using const_thread_storage_t = const thread void *;
using index_t = uint16_t;
@@ -8386,7 +8612,8 @@
static constant constexpr __tensor_ops_detail::__rank_t rank = 1;
using element_t = element_type;
using coord_t = coord_type;
- using extent_t = metal::dextents<coord_t, rank>;
+ // row reduction (reduction_dim 0): M, column reduction (reduction_dim 1): N
+ using extent_t = metal::extents<coord_t, size_t(reduction_dim == 0 ? descriptor.m : descriptor.n)>;
using thread_storage_t = thread void *;
using const_thread_storage_t = const thread void *;
using index_t = uint16_t;
@@ -9030,6 +9257,20 @@
return __tensor_ops_detail::__is_constant_addrspace_v<typename T::data_handle_type>;
}
+// Whether a run() operand element type is an integer: [u]int8, [u]int4, [u]int2
+template <class T>
+constexpr bool __matmul2d_is_integer_element()
+{
+ return __tensor_ops_detail::__is_same_v<T, int8_t> || __tensor_ops_detail::__is_same_v<T, uint8_t>
+#if __HAVE_INT4B_FORMAT_TYPE__
+ || __tensor_ops_detail::__is_same_v<T, metal::int4b_format> || __tensor_ops_detail::__is_same_v<T, metal::uint4b_format>
+#endif
+#if __HAVE_INT2B_FORMAT_TYPE__
+ || __tensor_ops_detail::__is_same_v<T, metal::int2b_format> || __tensor_ops_detail::__is_same_v<T, metal::uint2b_format>
+#endif
+ ;
+}
+
template <class left_type, class right_type, class destination_type>
inline __matmul2d_ext_t __matmul2d_run_ext()
{
@@ -9183,6 +9424,30 @@
#endif
}
+#if defined(__HAVE_TENSOR_MULTIPLANE__)
+ // The rtlib accumulates the products of each scale block along K and applies the block's scale factors once: a
+ // static K must be a multiple of the scale block size (32)
+ constexpr bool haveScales = (!__tensor_ops_detail::__is_cooperative_tensor_type_v<leftTensorType> &&
+ __tensor_ops_detail::has_tensor_blockwise_v<metal::tensor_plane_scales, leftTensorType>) ||
+ (!__tensor_ops_detail::__is_cooperative_tensor_type_v<rightTensorType> &&
+ __tensor_ops_detail::has_tensor_blockwise_v<metal::tensor_plane_scales, rightTensorType>);
+ static_assert(!haveScales || descriptor.k == static_cast<int>(metal::dynamic_extent) || descriptor.k == dynamic_length_v<int> ||
+ descriptor.k % 32 == 0,
+ "With scale factors, a static K must be a multiple of the scale block size (32)");
+#else
+ constexpr bool haveScales = false;
+#endif
+
+ // Integer x integer: without scale factors the result is an integer, so an int32_t destination. With scale factors (on
+ // either operand) the result is a real number, so a floating point destination; from 27.3 only, because an int32_t
+ // destination was accepted before (its results truncate the scaled sum).
+ constexpr bool integerOperands = __matmul2d_is_integer_element<leftValueType>() && __matmul2d_is_integer_element<rightValueType>();
+ static_assert(!integerOperands || haveScales || __tensor_ops_detail::__is_same_v<destinationValueType, int32_t>,
+ "Integer operands without scale factors require an int32_t destination");
+ static_assert(!integerOperands || !haveScales || !__tensor_ops_detail::__is_same_v<destinationValueType, int32_t> ||
+ !__TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3,
+ "Integer operands with scale factors require a floating point destination (deployment target 27.3 and later)");
+
int destinationStaticExtent0 = 0, destinationStaticExtent1 = 0;
if constexpr (!__tensor_ops_detail::__is_cooperative_tensor_type_v<destinationTensorType>) {
@@ -10046,6 +10311,72 @@
else
static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
}
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, half>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_single_thread_dv_i8_dv_i8_dv_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1);
+ else if constexpr (__tensor_ops_detail::__is_thread_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_single_thread_th_i8_dv_i8_dv_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_thread_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_single_thread_dv_i8_th_i8_dv_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1);
+ else if constexpr (__tensor_ops_detail::__is_thread_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_thread_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_single_thread_th_i8_th_i8_dv_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_thread_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_single_thread_dv_i8_dv_i8_th_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1);
+ else if constexpr (__tensor_ops_detail::__is_thread_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_thread_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_single_thread_th_i8_dv_i8_th_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_thread_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_thread_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_single_thread_dv_i8_th_i8_th_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1);
+ else if constexpr (__tensor_ops_detail::__is_thread_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_thread_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_thread_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_single_thread_th_i8_th_i8_th_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, float>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_single_thread_dv_i8_dv_i8_dv_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1);
+ else if constexpr (__tensor_ops_detail::__is_thread_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_single_thread_th_i8_dv_i8_dv_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_thread_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_single_thread_dv_i8_th_i8_dv_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1);
+ else if constexpr (__tensor_ops_detail::__is_thread_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_thread_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_single_thread_th_i8_th_i8_dv_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_thread_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_single_thread_dv_i8_dv_i8_th_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1);
+ else if constexpr (__tensor_ops_detail::__is_thread_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_thread_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_single_thread_th_i8_dv_i8_th_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_thread_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_thread_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_single_thread_dv_i8_th_i8_th_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1);
+ else if constexpr (__tensor_ops_detail::__is_thread_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_thread_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_thread_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_single_thread_th_i8_th_i8_th_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, bfloat>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_single_thread_dv_i8_dv_i8_dv_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1);
+ else if constexpr (__tensor_ops_detail::__is_thread_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_single_thread_th_i8_dv_i8_dv_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_thread_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_single_thread_dv_i8_th_i8_dv_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1);
+ else if constexpr (__tensor_ops_detail::__is_thread_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_thread_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_single_thread_th_i8_th_i8_dv_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_thread_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_single_thread_dv_i8_dv_i8_th_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1);
+ else if constexpr (__tensor_ops_detail::__is_thread_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_thread_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_single_thread_th_i8_dv_i8_th_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_thread_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_thread_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_single_thread_dv_i8_th_i8_th_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1);
+ else if constexpr (__tensor_ops_detail::__is_thread_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_thread_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_thread_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_single_thread_th_i8_th_i8_th_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
else
static_assert(__tensor_ops_detail::__assert_false_v<destinationValueType>, "Unsupported type");
}
@@ -11510,6 +11841,204 @@
static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
}
#endif
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, half>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_dv_i8_dv_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_dv_i8_dv_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_tg_i8_dv_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_tg_i8_dv_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_dv_i8_tg_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_dv_i8_tg_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_tg_i8_tg_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_tg_i8_tg_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, float>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_dv_i8_dv_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_dv_i8_dv_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_tg_i8_dv_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_tg_i8_dv_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_dv_i8_tg_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_dv_i8_tg_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_tg_i8_tg_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_tg_i8_tg_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, bfloat>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_dv_i8_dv_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_dv_i8_dv_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_tg_i8_dv_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_tg_i8_dv_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_dv_i8_tg_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_dv_i8_tg_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_tg_i8_tg_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_tg_i8_tg_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __HAVE_INT4B_FORMAT_TYPE__ && __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, metal::int4b_format> && __tensor_ops_detail::__is_same_v<destinationValueType, half>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_dv_i4_dv_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_dv_i4_dv_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_tg_i4_dv_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_tg_i4_dv_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_dv_i4_tg_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_dv_i4_tg_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_tg_i4_tg_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_tg_i4_tg_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __HAVE_INT4B_FORMAT_TYPE__ && __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, metal::int4b_format> && __tensor_ops_detail::__is_same_v<destinationValueType, float>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_dv_i4_dv_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_dv_i4_dv_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_tg_i4_dv_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_tg_i4_dv_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_dv_i4_tg_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_dv_i4_tg_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_tg_i4_tg_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_tg_i4_tg_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __HAVE_INT4B_FORMAT_TYPE__ && __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, metal::int4b_format> && __tensor_ops_detail::__is_same_v<destinationValueType, bfloat>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_dv_i4_dv_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_dv_i4_dv_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_tg_i4_dv_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_tg_i4_dv_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_dv_i4_tg_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_dv_i4_tg_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_tg_i4_tg_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_tg_i4_tg_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __HAVE_INT2B_FORMAT_TYPE__ && __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, metal::int2b_format> && __tensor_ops_detail::__is_same_v<destinationValueType, half>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_dv_i2_dv_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_dv_i2_dv_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_tg_i2_dv_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_tg_i2_dv_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_dv_i2_tg_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_dv_i2_tg_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_tg_i2_tg_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_tg_i2_tg_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __HAVE_INT2B_FORMAT_TYPE__ && __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, metal::int2b_format> && __tensor_ops_detail::__is_same_v<destinationValueType, float>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_dv_i2_dv_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_dv_i2_dv_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_tg_i2_dv_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_tg_i2_dv_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_dv_i2_tg_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_dv_i2_tg_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_tg_i2_tg_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_tg_i2_tg_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __HAVE_INT2B_FORMAT_TYPE__ && __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, metal::int2b_format> && __tensor_ops_detail::__is_same_v<destinationValueType, bfloat>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_dv_i2_dv_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_dv_i2_dv_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_tg_i2_dv_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_tg_i2_dv_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_dv_i2_tg_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_dv_i2_tg_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_dv_i8_tg_i2_tg_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_tg_i8_tg_i2_tg_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
else
static_assert(__tensor_ops_detail::__assert_false_v<destinationValueType>, "Unsupported type");
}
@@ -12414,6 +12943,132 @@
static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
}
#endif
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, half>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_dv_i8_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_dv_i8_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_tg_i8_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_tg_i8_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, float>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_dv_i8_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_dv_i8_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_tg_i8_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_tg_i8_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, bfloat>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_dv_i8_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_dv_i8_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_tg_i8_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_tg_i8_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __HAVE_INT4B_FORMAT_TYPE__ && __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, metal::int4b_format> && __tensor_ops_detail::__is_same_v<destinationValueType, half>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_dv_i4_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_dv_i4_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_tg_i4_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_tg_i4_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __HAVE_INT4B_FORMAT_TYPE__ && __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, metal::int4b_format> && __tensor_ops_detail::__is_same_v<destinationValueType, float>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_dv_i4_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_dv_i4_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_tg_i4_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_tg_i4_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __HAVE_INT4B_FORMAT_TYPE__ && __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, metal::int4b_format> && __tensor_ops_detail::__is_same_v<destinationValueType, bfloat>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_dv_i4_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_dv_i4_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_tg_i4_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_tg_i4_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __HAVE_INT2B_FORMAT_TYPE__ && __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, metal::int2b_format> && __tensor_ops_detail::__is_same_v<destinationValueType, half>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_dv_i2_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_dv_i2_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_tg_i2_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_tg_i2_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __HAVE_INT2B_FORMAT_TYPE__ && __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, metal::int2b_format> && __tensor_ops_detail::__is_same_v<destinationValueType, float>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_dv_i2_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_dv_i2_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_tg_i2_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_tg_i2_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __HAVE_INT2B_FORMAT_TYPE__ && __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, metal::int2b_format> && __tensor_ops_detail::__is_same_v<destinationValueType, bfloat>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_dv_i2_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_dv_i2_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_tg_i2_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_tg_i2_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
else
static_assert(__tensor_ops_detail::__assert_false_v<destinationValueType>, "Unsupported type");
}
@@ -12870,6 +13525,48 @@
else
static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
}
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, half>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_i8_dv_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_i8_dv_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_i8_tg_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_i8_tg_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, float>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_i8_dv_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_i8_dv_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_i8_tg_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_i8_tg_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, bfloat>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_i8_dv_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_i8_dv_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_i8_tg_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_i8_tg_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
else
static_assert(__tensor_ops_detail::__assert_false_v<destinationValueType>, "Unsupported type");
}
@@ -13177,6 +13874,36 @@
else
static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
}
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, half>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_i8_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_i8_f16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, destination, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, float>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_i8_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_i8_f32, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, destination, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, bfloat>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<leftPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_dv_i8_i8_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<leftPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_tg_i8_i8_b16, __run_ext(), desc, left, leftDescType, leftScaleDataType, leftScaleBlockSize0, leftScaleBlockSize1, leftStaticExtent0, leftStaticExtent1, right, destination, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
else
static_assert(__tensor_ops_detail::__assert_false_v<destinationValueType>, "Unsupported type");
}
@@ -13997,6 +14724,132 @@
static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
}
#endif
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, half>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i8_dv_f16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i8_dv_f16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i8_tg_f16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i8_tg_f16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, float>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i8_dv_f32, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i8_dv_f32, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i8_tg_f32, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i8_tg_f32, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, bfloat>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i8_dv_b16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i8_dv_b16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i8_tg_b16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i8_tg_b16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __HAVE_INT4B_FORMAT_TYPE__ && __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, metal::int4b_format> && __tensor_ops_detail::__is_same_v<destinationValueType, half>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i4_dv_f16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i4_dv_f16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i4_tg_f16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i4_tg_f16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __HAVE_INT4B_FORMAT_TYPE__ && __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, metal::int4b_format> && __tensor_ops_detail::__is_same_v<destinationValueType, float>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i4_dv_f32, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i4_dv_f32, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i4_tg_f32, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i4_tg_f32, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __HAVE_INT4B_FORMAT_TYPE__ && __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, metal::int4b_format> && __tensor_ops_detail::__is_same_v<destinationValueType, bfloat>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i4_dv_b16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i4_dv_b16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i4_tg_b16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i4_tg_b16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __HAVE_INT2B_FORMAT_TYPE__ && __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, metal::int2b_format> && __tensor_ops_detail::__is_same_v<destinationValueType, half>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i2_dv_f16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i2_dv_f16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i2_tg_f16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i2_tg_f16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __HAVE_INT2B_FORMAT_TYPE__ && __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, metal::int2b_format> && __tensor_ops_detail::__is_same_v<destinationValueType, float>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i2_dv_f32, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i2_dv_f32, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i2_tg_f32, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i2_tg_f32, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __HAVE_INT2B_FORMAT_TYPE__ && __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, metal::int2b_format> && __tensor_ops_detail::__is_same_v<destinationValueType, bfloat>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i2_dv_b16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i2_dv_b16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i2_tg_b16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType> && __tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i2_tg_b16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
else
static_assert(__tensor_ops_detail::__assert_false_v<destinationValueType>, "Unsupported type");
}
@@ -14564,6 +15417,96 @@
static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
}
#endif
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, half>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i8_f16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i8_f16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, float>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i8_f32, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i8_f32, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, bfloat>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i8_b16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i8_b16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __HAVE_INT4B_FORMAT_TYPE__ && __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, metal::int4b_format> && __tensor_ops_detail::__is_same_v<destinationValueType, half>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i4_f16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i4_f16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __HAVE_INT4B_FORMAT_TYPE__ && __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, metal::int4b_format> && __tensor_ops_detail::__is_same_v<destinationValueType, float>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i4_f32, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i4_f32, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __HAVE_INT4B_FORMAT_TYPE__ && __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, metal::int4b_format> && __tensor_ops_detail::__is_same_v<destinationValueType, bfloat>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i4_b16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i4_b16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __HAVE_INT2B_FORMAT_TYPE__ && __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, metal::int2b_format> && __tensor_ops_detail::__is_same_v<destinationValueType, half>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i2_f16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i2_f16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __HAVE_INT2B_FORMAT_TYPE__ && __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, metal::int2b_format> && __tensor_ops_detail::__is_same_v<destinationValueType, float>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i2_f32, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i2_f32, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __HAVE_INT2B_FORMAT_TYPE__ && __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, metal::int2b_format> && __tensor_ops_detail::__is_same_v<destinationValueType, bfloat>) {
+ if constexpr (__matmul2d_is_dv_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_dv_i2_b16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<rightPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_tg_i2_b16, __run_ext(), desc, left, right, rightDescType, rightScaleDataType, rightScaleBlockSize0, rightScaleBlockSize1, rightStaticExtent0, rightStaticExtent1, destination, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
else
static_assert(__tensor_ops_detail::__assert_false_v<destinationValueType>, "Unsupported type");
}
@@ -14871,6 +15814,36 @@
else
static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
}
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, half>) {
+ if constexpr (__tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_i8_dv_f16, __run_ext(), desc, left, right, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_i8_tg_f16, __run_ext(), desc, left, right, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, float>) {
+ if constexpr (__tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_i8_dv_f32, __run_ext(), desc, left, right, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_i8_tg_f32, __run_ext(), desc, left, right, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, bfloat>) {
+ if constexpr (__tensor_ops_detail::__is_device_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_i8_dv_b16, __run_ext(), desc, left, right, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else if constexpr (__tensor_ops_detail::__is_threadgroup_addrspace_v<destinationPtrType>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_i8_tg_b16, __run_ext(), desc, left, right, destination, destinationDescType, destinationStaticExtent0, destinationStaticExtent1, threads);
+ else
+ static_assert(__tensor_ops_detail::__assert_false_v<destinationPtrType>, "Unsupported address space");
+ }
+#endif
else
static_assert(__tensor_ops_detail::__assert_false_v<destinationValueType>, "Unsupported type");
}
@@ -14954,6 +15927,18 @@
__MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_ui8_b16_b16, __run_ext(), desc, left, right, destination, threads);
else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, uint8_t> && __tensor_ops_detail::__is_same_v<rightValueType, bfloat> && __tensor_ops_detail::__is_same_v<destinationValueType, float>)
__MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_ui8_b16_f32, __run_ext(), desc, left, right, destination, threads);
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, half>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_i8_f16, __run_ext(), desc, left, right, destination, threads);
+#endif
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, float>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_i8_f32, __run_ext(), desc, left, right, destination, threads);
+#endif
+#if __TENSOR_OPS_SUPPORT_DEPLOYMENT_TARGET_27_3
+ else if constexpr (__tensor_ops_detail::__is_same_v<leftValueType, int8_t> && __tensor_ops_detail::__is_same_v<rightValueType, int8_t> && __tensor_ops_detail::__is_same_v<destinationValueType, bfloat>)
+ __MATMUL2D_RUN_CALL(__tensorops_impl_matmul2d_op_run_cooperative_i8_i8_b16, __run_ext(), desc, left, right, destination, threads);
+#endif
else
static_assert(__tensor_ops_detail::__assert_false_v<destinationValueType>, "Unsupported type");
}