tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-tvm] wpan11nv commented on a change in pull request #5101: [CodeGen][CUDA] Vectorization for intrinsics
Date Fri, 20 Mar 2020 17:05:01 GMT
wpan11nv commented on a change in pull request #5101: [CodeGen][CUDA] Vectorization for intrinsics
URL: https://github.com/apache/incubator-tvm/pull/5101#discussion_r395770988
 
 

 ##########
 File path: src/target/source/codegen_cuda.cc
 ##########
 @@ -418,6 +419,54 @@ void CodeGenCUDA::VisitExpr_(const CallNode *op, std::ostream& os)
{
       this->PrintExpr(op->args[i * 2 + 1], os);
       os << "]" << ((i < 3) ? ", ": ")");
     }
+  } else if (op->call_type == CallNode::PureExtern && op->dtype.is_vector())
{
+    //
+    // Emit an unsupported vector call
+    //
+    // v = intrin_f((float4*)A[0], (float4*)B[0])
 
 Review comment:
   that is the CallNode representation, not supported in CUDA. We are going to emit a few
scalar calls instead here.  

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message