[PATCH] D60168: [test-suite,CUDA] Add #include <stdio.h> to test_round.cu to fix a build error.

Bixia Zheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 3 11:51:26 PDT 2019


bixia updated this revision to Diff 193556.
bixia added a comment.

Remove iostream.


Repository:
  rT test-suite

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60168/new/

https://reviews.llvm.org/D60168

Files:
  External/CUDA/test_round.cu


Index: External/CUDA/test_round.cu
===================================================================
--- External/CUDA/test_round.cu
+++ External/CUDA/test_round.cu
@@ -6,8 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include <iostream>
 #include <cassert>
+#include <stdio.h>
 
 // Test the implementation of llvm intrinsic round. In particular, when the
 // source is equidistant between two integers, it rounds away from zero.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60168.193556.patch
Type: text/x-patch
Size: 485 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190403/12123bc1/attachment.bin>


More information about the llvm-commits mailing list