[test-suite] r281552 - [test-suite] [CUDA] Update README.
Justin Lebar via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 14 15:33:21 PDT 2016
Author: jlebar
Date: Wed Sep 14 17:33:21 2016
New Revision: 281552
URL: http://llvm.org/viewvc/llvm-project?rev=281552&view=rev
Log:
[test-suite] [CUDA] Update README.
Summary: Fix typo (s/Externals/External/), and mention cuda-tests-simple.
Reviewers: tra
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D24590
Modified:
test-suite/trunk/External/CUDA/README
Modified: test-suite/trunk/External/CUDA/README
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/CUDA/README?rev=281552&r1=281551&r2=281552&view=diff
==============================================================================
--- test-suite/trunk/External/CUDA/README (original)
+++ test-suite/trunk/External/CUDA/README Wed Sep 14 17:33:21 2016
@@ -48,14 +48,17 @@ export TEST_SUITE_DIR=/path/to/test-suit
$ PATH=$CLANG_DIR/bin:$PATH CXX=clang++ CC=clang \
cmake -G Ninja -DTEST_SUITE_EXTERNALS_DIR=$EXTERNALS $TEST_SUITE_DIR
$ ninja cuda-tests-all
- $ lit -j1 Externals/CUDA
+ $ lit -j1 External/CUDA
When you run cmake, it should say "Found CUDA prerequisites $CUDA_EXTERNALS",
followed by "Found cuda X.Y" and "Found GCC X.Y.Z" for each version you've
installed.
- For convenience there are top-level targets that build only one particular
- variant of the tests:
+ There's a cuda-tests-simple target that excludes tests that take a long time
+ to build (Thrust), and cuda-tests-thrust builds only Thrust.
+
+ There are also top-level targets that build only one particular variant of the
+ tests:
cuda-tests-<variant_suffix>
@@ -66,3 +69,6 @@ export TEST_SUITE_DIR=/path/to/test-suit
<test_name>-<variant suffix>
E.g: thrust-cuda-7.5-c++98-libstdc++-4.9.3 OR axpy-cuda-7.0-c++11-libc++
+
+ `ninja help | grep cuda` will show all the targets, for your copy/pasting
+ pleasure.
More information about the llvm-commits
mailing list