You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/11/02 02:28:16 UTC

[GitHub] [tvm] masahi commented on a change in pull request #9419: [CUTLASS] Initial support for dynamic shape dense

masahi commented on a change in pull request #9419:
URL: https://github.com/apache/tvm/pull/9419#discussion_r740677582



##########
File path: python/tvm/contrib/cutlass/gen_gemm.py
##########
@@ -335,6 +347,16 @@ def check_align(self, op_name, M):
             return False
         return True
 
+    def get_default(self, out_dtype):
+        """Return the default kernel for the requested architecture.
+        For now, the default kernel was picked arbitrary.
+        """
+        ops = GENERATOR_FUNC_TABLE[self.sm](out_dtype)
+        default_kernel_name = DEFAULT_KERNELS[self.sm][out_dtype]

Review comment:
       Added an additional check in the constructor https://github.com/apache/tvm/blob/6fb9e98090733ed5243a2cca10910cebfab83a76/python/tvm/contrib/cutlass/gen_gemm.py#L339
   
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org