yzhliu commented on a change in pull request #4268: [Codegen][cuda-fp16] 
fallback to fp32 simulation when cuda arch < sm53
URL: https://github.com/apache/incubator-tvm/pull/4268#discussion_r344391770
 
 

 ##########
 File path: src/codegen/codegen_cuda.cc
 ##########
 @@ -50,6 +50,9 @@ void CodeGenCUDA::AddFunction(LoweredFunc f) {
 
 std::string CodeGenCUDA::Finish() {
   if (enable_fp16_) {
+    static constexpr const char* _cuda_half_t_def =
+    #include "literal/cuda_half_t.txt"
 
 Review comment:
   @tqchen addressed.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to