[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
Tue Apr 2 17:53:47 PDT 2019


bixia created this revision.
Herald added subscribers: llvm-commits, jlebar.
Herald added a project: LLVM.
bixia added a reviewer: tra.

Repository:
  rT test-suite

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
@@ -8,6 +8,7 @@
 
 #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.193406.patch
Type: text/x-patch
Size: 399 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190403/e598238c/attachment.bin>


More information about the llvm-commits mailing list