[SE] Fix config bug with CUDA tests
authorJason Henline <jhen@google.com>
Thu, 15 Sep 2016 20:26:28 +0000 (20:26 +0000)
committerJason Henline <jhen@google.com>
Thu, 15 Sep 2016 20:26:28 +0000 (20:26 +0000)
commit9fc16d4e11aa3ebf26494b2d0e1c4952ead8909e
treeaa5fcf94a43a8c37f90ce626ba7a73e264825dc3
parentd880309835d89413b5cbf4e586d9d0ece4556ece
[SE] Fix config bug with CUDA tests

Summary:
It turns out CMake errors out if a processed directory contains source
files that are not used. This was causing an error with the CUDATest.cpp
file when configuring StreamExecutor with the CUDA platform disabled.

Moving CUDATest.cpp to its own directory fixes this problem.

Reviewers: jlebar, jprice

Subscribers: beanz, mgorny, jlebar, parallel_libs-commits

Differential Revision: https://reviews.llvm.org/D24618

llvm-svn: 281654
parallel-libs/streamexecutor/unittests/CoreTests/CMakeLists.txt
parallel-libs/streamexecutor/unittests/CoreTests/CUDATest.cpp [deleted file]
parallel-libs/streamexecutor/unittests/CoreTests/cuda/CUDATest.cpp [new file with mode: 0644]